Repository navigation
fix(testing): wait for the API keys expiration dropdown instead of force-clicking - #10647
alexcarpenter wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: f5f980e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
@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: |
API Changes Report
Summary
No API Changes DetectedAll packages have stable APIs with no detected changes. Report generated by Break Check Last ran on |
Description
api keys component @machine › can create api keysflakes. In CI logs, the "Create key" click times out because an open expiration option list covers it (cl-selectOption__apiKeyExpiration … intercepts pointer events, jobs 126228362574 and 126335179987).selectExpirationforce-clicks the option text.force: truewas added in #6999, the same commit that added an absolutely positioned::beforeto each option. A force click skips Playwright's stability check, so it can fire while the list is still animating open. When it misses, nothing is selected and the list stays open.selectExpirationnow:.cl-selectButton__apiKeyExpiration), since its "Select date" label changes once a value is chosenaria-expanded="true"forcearia-expanded="false"The list not closing now fails at the step where it happens, instead of as a timeout on a later click.
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change