Skip to content

fix(verify): follow the React SDK past its passkey naming step - #168

Merged
Bccorb merged 1 commit into
mainfrom
fix/verify-passkey-naming-step
Sep 4, 2026
Merged

fix(verify): follow the React SDK past its passkey naming step#168
Bccorb merged 1 commit into
mainfrom
fix/verify-passkey-naming-step

Conversation

@Bccorb

@Bccorb Bccorb commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

What

Drops the two lines in registerWithPasskey (verify/harness/lib/reactFlows.ts) that filled the SDK's "Name This Device" modal and clicked Continue. The helper now stops at the Register Passkey click, which is where the WebAuthn ceremony begins.

Why

@seamless-auth/react removed that modal in fells-code/seamless-auth-react#140. The harness kept typing into it, so the helper waited 30 seconds for a placeholder that no longer renders and then timed out:

Error: locator.fill: Test timeout of 30000ms exceeded.
  - waiting for getByPlaceholder(/MacBook/)
> 93 |   await page.getByPlaceholder(/MacBook/).fill('Verify Device');

That took down two react specs: react/passkeyRegister.spec.ts and react/passkeyLogin.spec.ts, which registers before it signs back in. Only the shared helper needed changing; neither spec references the modal directly.

Release ordering

verify-conformance.yml defaults to local: true, building the React SDK from main, so this fix is what makes PR and cross-repo runs green again.

released-smoke.yml runs nightly with local: false against published npm, where @seamless-auth/react is still 0.9.0 with the modal. That run will fail on the modal this no longer dismisses until the SDK release ships (fells-code/seamless-auth-react#134, the open Version Packages PR). Called out in the changeset.

Checks

cd verify/harness && npx tsc --noEmit clean, npm run build clean, npm test 816 passed.

A local seamless verify --local --filter=login was attempted but aborted on a host port conflict (Bind for 127.0.0.1:5312 failed: port is already allocated) unrelated to this change, so the end-to-end pass is left to this PR's conformance job.

@seamless-auth/react used to open a "Name This Device" modal after "Register
Passkey" was pressed, and registerWithPasskey typed into it before the WebAuthn
ceremony would start. That view is gone from the SDK, so the helper 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. 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.
@Bccorb
Bccorb merged commit 1c53d29 into main Sep 4, 2026
2 checks passed
@Bccorb
Bccorb deleted the fix/verify-passkey-naming-step branch September 4, 2026 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant