fo
ForgeRock
Team
fo
Pipelines
Nx runs
Insights
Compare tasks
Analytics
Sign in
Toggle Sidebar
pj
ping-javascript-sdk
Pipelines
Merge pull request #745 from recognize-callback-3 * wip: feat(recognize): add PingOneRecognizeCallback and e2e callback test page * fix(recognize-app): fix type errors after RecognizeError and RecognizeWebComponentEvent type updates * fix(journey-client): use authentication service URL for Recognize callback * refactor(journey-client): remove obsolete Recognize SDK config Use PingOneRecognizeCallback getters directly in the Recognize callback app and remove the legacy WebSDKConfig interface and method. * test(journey-client): add unit tests for PingOneRecognizeCallback Cover all getters (operationType, serviceURL, customerName, username, transactionData, options) and setters (signedJwt, recognizeId, clientError, clientErrorCode), including default-value fallbacks for operationType and options. Modeled after the existing ping-protect-evaluation-callback.test.ts pattern. * test(e2e): add journey e2e tests for PingOneRecognizeCallback Add a mock TEST_LoginPingRecognize journey to am-mock-api that serves a PingOneRecognizeCallback step and validates the submitted inputs — success requires IDToken1signedJwt whose sub matches IDToken1recognizeId, a non-empty client error is echoed back in the 401 message. Render the step in journey-app with a new ping-one-recognize component that displays all callback getter values and simulates SDK completion (mock JWT + recognizeId derived from its sub) or a client error (CORE_FACE_NOT_MATCHING / 3004 via ?recognizeError=true), then auto-submits, mirroring the ping-protect-* components. Cover both paths in journey-suites with Playwright tests: the success flow asserts rendered outputs, the auto-submitted signedJwt/recognizeId and a completed login; the error flow asserts clientError/clientErrorCode submission and the echoed failure message. The real WASM camera component can't run headless, matching the boundary drawn by the existing Protect e2e tests. * chore(changeset): add changeset for recognize callback support * chore(recognize): make recognize package releaseable by changesets * refactor(journey-client): fix import ordering in recognize callback files * refactor(e2e): use type-only import for callback types in recognize app * fix(e2e): fix import sorting and dependency order lint errors
nx affected -t build lint test typecheck e2e-ci
⌘K
Merge pull request #745 from recognize-callback-3
Succeeded
in
1s
Started
Copy command
nx affected -t build lint test typecheck e2e-ci
main
Tasks
Resource Usage
Resource usage is collected per worker
Run-level metrics are not available for distributed runs. Each worker’s CPU and memory are on the
pipeline’s Resource Usage
.
fo
ForgeRock
Team