Repository navigation
test(mosaic): wait for the added address's poll in the email link reverification test - #10537
alexcarpenter wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 6437bdb The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Walkthrough
Merge Risk:
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Description
Fixes the flaky test "continues to the emailed link after confirming the session".
Email link pollers from earlier tests in the file can keep polling after their dialog is dismissed, and their
GET /v1/me/email_addresses/idn_pendingrequests reach this test's catch-all hold. The test then saw two held requests, or verified the address before its link was sent. The test now waits for exactly one poll for the address it added and ignores the rest.Checklist
pnpm testruns as expected. (targeted: Mosaicuser-profile-email-section)pnpm buildruns as expected. (pnpm turbo build --filter=@clerk/mosaic...)Type of change