Repository navigation
Add E2E smoke tests for every page and guard settings responses - #409
Merged
Merged
Conversation
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.
Settings assumed successful API responses contained collection fields, allowing incomplete bearer-integration or model-account responses to crash the entire page. Validate those responses in the queries and display section errors while keeping settings navigation usable, with browser regressions for both cases.
Add 41 E2E smoke checks covering every current page, all job settings sections, auth screens, consent/device pages, legacy redirects and the not-found page. The compiled frontend uses real Worker endpoints and isolated PostgreSQL; checks reject runtime/console errors, unsuccessful requests and error alerts. Include the suite in the required root validation. Also observe the existing replay/retention test's expected rejection immediately to prevent a timing-dependent unhandled rejection.
Validation at commit
e728cfa, rebased ontomain(3c11454):npm run test:localpassed in the pinned Factorize validation runner with Node 24.12.0 and npm 11.19.0. This runs the complete rootnpm test; all backend, browser, proxy and Docker lanes passed, including 695 backend tests and 43 compiled frontend/API/PostgreSQL E2E checks (41 page smoke checks plus two existing user flows). GitHub CI also passed.