chore(EUDPA-301): prune redundant tests - #98
Draft
martyn-esynergy wants to merge 6 commits into
Draft
Conversation
…behaviour Co-authored-by: Claude <noreply@anthropic.com>
…n unit tests Co-authored-by: Claude <noreply@anthropic.com>
…nd checkbox patterns Co-authored-by: Claude <noreply@anthropic.com>
…full match Co-authored-by: Claude <noreply@anthropic.com>
…ndering live Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>
Contributor
✅ Workspace E2E Tests: success |
martyn-esynergy
marked this pull request as draft
July 29, 2026 09:43
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.
Jira: https://eaflood.atlassian.net/browse/EUDPA-301
Trim redundant Playwright E2E tests
Removes tests whose assertions are already proven by existing frontend/admin
unit tests, verified individually against current source before removal.
Removed: 48 of 280 tests (17%), for three common reasons:
maxlength— not application logic (16)already asserted by a mocked controller test (10)
Also in this PR:
features/validation-wiring.spec.ts) — one canary pervalidation pattern (dropdown/radio-group/checkbox), replacing dozens of
near-identical per-page duplicates while still proving the pipeline renders
end-to-end in a browser
// Deliberate duplicate: ...— each duplicatescovered logic but is the only remaining proof real backend data renders
correctly live, not just via a mock
// TODO:naming a specific coverage gap — closing eachmeans adding a schema/controller test in
trade-imports-animals-frontend,not this repo
Net suite size (
features/journeys/pagesonly, excludesa11y/visual): 280 → 235.