Repository navigation
test(frontend): add a Playwright e2e suite for the desktop and mobile layouts - #153
Merged
Merged
Conversation
safina57
force-pushed
the
test/frontend-e2e
branch
from
November 9, 2026 13:43
c6a4761 to
a7aac13
Compare
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 a Playwright e2e suite covering the desktop (1440x900 Chrome) and mobile (Pixel 7) layouts.
What it covers
How it runs
/chat/streamis answered with a canned reply built from real trials fetched from/debug/trials; every other call hits the live backend. Runs are deterministic and spend no LLM tokens, and no API key is needed.e2e/live.spec.tsexercises the real agent and only runs withE2E_LIVE=1(paid tokens).pnpm e2estarts Vite if it is not up;E2E_API_URLpoints at the backend (defaulthttp://localhost:8000). Install the browser once per machine withpnpm exec playwright install chromium.src/**/*.test.*so it no longer picks up the specs; Playwright output folders are git-ignored.Not wired into CI or pre-commit: it needs a seeded database and live servers, so it is a manual check before merging to staging.
Some specs assert behaviour fixed in #152 (context pills under the user message, the mobile map overlay placement), so merge #152 first.