qa(ui): add Playwright + axe UI/QA coverage#22
Open
UberMetroid wants to merge 1 commit into
Open
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.
Adds an external-environment Playwright suite under
tests/ui/covering the root application shell and PWA manifest, service-worker registration, PIN authentication (invalid + valid), the Kanban add / move / delete workflow across all three columns, axe accessibility scans of the authenticated root page and the Kanban board, and a Chromium visual baseline of the empty default board. The configuration uses Playwright 1.50.1 and@axe-core/playwright4.10.2, requires the target URL viaSTUDIO_URL, and the matching numeric PIN viaGRID_TEST_PIN. A newUI/QAworkflow (.github/workflows/qa-ui.yml) builds the existing Alpine container, starts it withGRID_PIN=2468on port 4405, waits for the health endpoint, then runs the Playwright suite with the matching environment variables and uploads the HTML report and test results as artifacts. The application source is unchanged; the only non-test edit is an additive entry in.gitignorefor the Playwright and Node test artifacts. The Kanban and visual suites reset the default board through/api/tasksbefore each test to keep the baseline reproducible, and the visual test allows up to a 2% pixel-ratio difference to absorb minor cross-platform font rendering variation. Thecolor-contrastaxe rule is currently disabled because the upstream theme system does not yet meet WCAG AA on the.add-taskbutton; the remaining axe rules still scan the root page and the Kanban board.