test: establish Playwright E2E UI testing foundation (#426)#427
Closed
tejassinghbhati wants to merge 8 commits intoEAPD-DRB:mainfrom
Closed
test: establish Playwright E2E UI testing foundation (#426)#427tejassinghbhati wants to merge 8 commits intoEAPD-DRB:mainfrom
tejassinghbhati wants to merge 8 commits intoEAPD-DRB:mainfrom
Conversation
Contributor
Author
|
@m13v again a lot of thanks for your guidance. I just formally opened the PR linked to that issue. I made sure to tightly integrate the 15-second cold-start polling limits, the strict 5003 isolation mapping, and the exact Text/Role Playwright locators we were discussing. Would love to get your eyes on it when you have a moment to see if the testing structure feels right to you. Without your suggestions this would have been way more rough around the edges and prone to CI flakiness. |
… playwright asset deadlocks
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.
Linked Issue
Closes #426
Related #58, #14
Existing Related Work Reviewed
Issues/PRs reviewed: #426, #58, #14
Overlap Assessment
Why this is not duplicate/superseded:
This PR introduces an End-to-End (E2E) headless browser testing framework. It builds sequentially on the recent API unit-testing foundations but targets the previously untested Vanilla JS WebAPP frontend.
Why this PR Should Proceed
Automated E2E tests are essential for ensuring that future UI modifications—especially complex CSS/HTML updates from upstream OSeMOSYS/MUIO merges—do not silently break critical WebAPP behaviors and workflows.
This establishes a strict frontend quality gate before any PR is merged into
main.Summary
What Changed
pyproject.tomlto managepytest-playwrightdependencies without bloating production requirements.live_serverfixture inconftest.py:5003)requeststest_ui_smoke.py):getByTextandgetByRole#/Parameters,#/ModelFile)ui-tests.yml):mainWhy
The frontend previously relied entirely on manual verification.
E2E tests with Playwright simulate real user workflows, validating:
This ensures structural issues are caught immediately.
Validation
Documentation
Scope Check
EAPD-DRB/MUIOGO:main(not upstream)