Skip to content

Commit ef37b8f

Browse files
mikepitreclaude
andauthored
docs(expo): say the UserButton takes custom pages too in the Expo verify skill (#10524)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8098bb9 commit ef37b8f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

‎.claude/skills/verify-clerk-expo/features/user-button-and-profile.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Preconditions:
3333
- The UserButton is `clerk.userButton.profile` on iOS and the accessibility label `Open user profile` on Android (`nativeUserButton` in `specs/native.ts`).
3434
- Profile rows have no stable identifier on Android, and on iOS the profile that the UserButton opens is inside a sheet, so the specs find the rows by text (`Manage account`, `Sign out`).
3535
- A seeded user has no name, so the profile header shows only the avatar. The email appears under `Manage account`.
36-
- Open the profile from the UserButton, as a user does. The `embeddedProfile` screen is for what only an inline UserProfileView has: `onHostBack` and custom pages.
36+
- Open the profile from the UserButton, as a user does. Use the `embeddedProfile` screen for `onHostBack`, which only an inline UserProfileView has, and for custom pages, which the test app passes only to its inline UserProfileView. The UserButton also takes custom pages through `userProfileProps.customPages`, and no spec covers that.
3737
- Tap the profile's Back button with `tapProfileBack` from `specs/native.ts`, which taps the middle of its frame. On Android the label `Back` is on a group that holds the button, and `locator.tap()` on it fails with "no parent-owned touch point".
3838
- Do not call `host.screenshot` while a custom page is on screen. On iOS the Back button of the page then does nothing. The video shows the page.
3939
- The test app shows a spinner while the ticket sign-in runs, and `host.launch` waits for the home.

0 commit comments

Comments
 (0)