test(verify): M5 — step-up + conformance matrix report#18
Merged
Conversation
- api/stepUp: TOTP MFA (/totp/verify-mfa) freshens /step-up/status. Uses the next window's code since the API rejects a counter that is not strictly greater than the last used one (enrollment consumes the current window). - matrixReporter: prints a flow x layer (api/adapter/react) grid at the end of the run, alongside the existing JUnit + HTML reports. Full suite 26/26.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds M5 of the
seamless verifyharness: step-up plus a printed conformance matrix.Full suite is 26/26 green (
seamless verify).The other M5 flows (TOTP, organizations, admin, JWKS) were already covered in earlier
milestones; this closes out the remaining piece (step-up) and the report.
Step-up (
api/stepUp)TOTP MFA via
/totp/verify-mfarecords a step-up: status goes fromfresh: falsetofresh: true(method: totp). It uses the next window's TOTP code, because the API rejectsa code whose counter is not strictly greater than the last used one (enrollment consumes the
current window) and accepts up to +1 of skew.
WebAuthn step-up is not covered here: like OAuth before fells-code/seamless-auth-react#44, the
SDK exposes the methods but has no UI to drive them, and a request-context layer can't run a
real WebAuthn ceremony. It's a natural follow-on once a step-up UI exists.
Conformance matrix (
lib/matrixReporter.ts)A custom Playwright reporter prints a flow x layer (api/adapter/react) grid at the end of the
run, next to the existing JUnit + HTML reports: