diff --git a/.changeset/verify-passkey-naming-step.md b/.changeset/verify-passkey-naming-step.md new file mode 100644 index 0000000..bc452ba --- /dev/null +++ b/.changeset/verify-passkey-naming-step.md @@ -0,0 +1,15 @@ +--- +'seamless-cli': patch +--- + +Follow the React SDK's passkey enrollment through the removal of its naming step. + +`@seamless-auth/react` used to open a "Name This Device" modal after "Register Passkey" was +pressed, and the harness typed into it before the WebAuthn ceremony would start. That view is +gone from the SDK, so `registerWithPasskey` waited 30 seconds for a placeholder that no longer +renders and then timed out, failing `react/passkeyRegister.spec.ts` and `react/passkeyLogin.spec.ts` +(which registers before it signs back in). + +The helper now stops at the button, which is where the ceremony begins. This tracks the SDK +release that drops the modal, so a `--local` run against an older React checkout, or a published +run before that release lands on npm, will fail on the modal this no longer dismisses. diff --git a/verify/harness/lib/reactFlows.ts b/verify/harness/lib/reactFlows.ts index 7feb3c8..eeb58a5 100644 --- a/verify/harness/lib/reactFlows.ts +++ b/verify/harness/lib/reactFlows.ts @@ -90,8 +90,6 @@ export async function registerWithPasskey(page: Page, email: string): Promise