Skip to content

feat: init ui tests#197

Open
phanirithvij wants to merge 8 commits intongi-nix:masterfrom
phanirithvij:ui-tests-playwright
Open

feat: init ui tests#197
phanirithvij wants to merge 8 commits intongi-nix:masterfrom
phanirithvij:ui-tests-playwright

Conversation

@phanirithvij
Copy link
Copy Markdown
Member

@phanirithvij phanirithvij commented Apr 6, 2026

playwright test -c ui/tests/e2e
playwright test -c ui/tests/e2e --project=chromium
playwright test -c ui/tests/e2e --project=mobile
playwright test -c ui/tests/e2e --ui
env BASE_URL="https://phanirithvij.github.io/nix-forge/" playwright test -c ui/tests/e2e --ui

@phanirithvij phanirithvij force-pushed the ui-tests-playwright branch 11 times, most recently from 845b11e to aea2c57 Compare April 6, 2026 20:02
@phanirithvij
Copy link
Copy Markdown
Member Author

phanirithvij commented Apr 6, 2026

Added

  • tests for search in options page, home page
  • ambient search is tested thoroughly

I had to spend some time to get the tests working on the production deployment as well.

So far here are some assumptions

  • python-web and python-web-app will not be removed in production.
  • typescript is better suited than python sdk for playwright tests, because we can leverage accessiblilty tests, lighthouse tests.

Some things to consider

  • How to provide good command suggestions to the devs, through numtide/devshell some sort of aliases?

@phanirithvij phanirithvij force-pushed the ui-tests-playwright branch 18 times, most recently from d198b39 to 3a34059 Compare April 10, 2026 11:46
@phanirithvij phanirithvij force-pushed the ui-tests-playwright branch 3 times, most recently from cdcc169 to 8c1304f Compare April 17, 2026 04:00
@phanirithvij phanirithvij force-pushed the ui-tests-playwright branch 2 times, most recently from a5e246d to 365c84a Compare April 17, 2026 08:40
@phanirithvij phanirithvij marked this pull request as ready for review April 17, 2026 09:08
@phanirithvij phanirithvij marked this pull request as draft April 17, 2026 09:31
@phanirithvij phanirithvij force-pushed the ui-tests-playwright branch 2 times, most recently from 86c95be to 28a781f Compare April 17, 2026 12:58
@phanirithvij phanirithvij marked this pull request as ready for review April 18, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

US: UI test suite Add basic Tests for new web interface

1 participant