Repository navigation
Split the UI e2e tests by feature (4.3) - #187
Merged
Merged
Conversation
flow.e2e.tsx (69 tests) becomes eight feature files and forms.e2e.tsx (13) becomes two, with shared helpers in e2e/helpers.tsx. Test bodies are moved unchanged; the total stays 82. The e2e config runs files one after another because they share one DevHost. Docs that named flow.e2e.tsx point at the new files.
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.
Wave 4 item 4.3: split the UI e2e suite by feature. Tests only. No test body, assertion or timeout changes.
What changes
src/Ui/e2e/flow.e2e.tsx(3,887 lines, 69 tests) is removed. Its tests move unchanged into eight feature files:forms.e2e.tsx(913 lines, 13 tests) splits intoforms.e2e.tsx(5 tests) andforms-play.e2e.tsx(8 tests).Shared helpers are in
e2e/helpers.tsx. Each file keeps its ownvi.mockblocks andafterEachcleanup.vitest.e2e.config.tssetsfileParallelism: false:Order-dependent tests stay together and in their original order. For example, the "Cancel writes no reference drafts" test still runs first among the D&D Beyond imports.
Totals: 82 tests, as before. No e2e file is over 800 lines.
Proof the tests are unchanged:
it(name before and after is identical.Docs that named
flow.e2e.tsx, or that now point atforms-play.e2e.tsx, are updated. CHANGELOG is updated.Gate
dotnet build(0 warnings) OK.core's first. It passes when its file runs alone (10/10).Review
reviewer-logic: ship. Three doc and comment nits are fixed in 8d1f33b.Owner