Repository navigation
Fix stale E2E hero-copy assertion; add Playwright report artifact - #106
Open
mycomind4-arch wants to merge 1 commit into
Open
mycomind4-arch wants to merge 1 commit into
mycomind4-arch wants to merge 1 commit into
Conversation
…e debugging home.spec.ts asserted the h1 contains "Build the record", which predates the current landing page (components/landing/Hero.tsx renders "Knowledge / Levels the Ground." — confirmed by reading the actual component). Updated the assertion to match. This does NOT fully explain the CI failure, which I want to be upfront about: in CI's three attempts (initial + 2 retries), the h1 that actually resolved was "Cases" — the dashboard's heading, not the landing page's — suggesting something redirects "/" to "/dashboard" in that environment. I reproduced the exact same command CI uses (`npm run dev` -> navigate to "/") locally with a clean cookie state and got the correct, un-redirected hero content every time, so this doesn't reproduce outside CI's specific environment and I don't want to guess a fix for behavior I can't observe. ci.yml had no artifact upload for the E2E job, so there was no screenshot/trace to inspect after the fact either. Added one (actions/upload-artifact, playwright-report/, if: always()) so the next failure — this one included, if it recurs — is diagnosable instead of a repeated mystery. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
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.
Fixes the assertion mismatch (test expected "Build the record", actual hero copy is "Knowledge / Levels the Ground.") and adds
playwright-report/artifact upload to the E2E job so future failures are diagnosable.Does not fully explain the CI failure — see commit message. In CI's 3 attempts, the resolved h1 was "Cases" (the dashboard heading), not the landing page's, suggesting a redirect happens in that environment specifically. I reproduced the identical command locally (
npm run dev→ navigate to/) with a clean cookie state and got the correct landing content every time — it doesn't reproduce outside CI, so I'm not guessing a fix for behavior I can't observe. This PR is a real, verified fix for the copy mismatch, not a claimed fix for the whole E2E failure.🤖 Generated with Claude Code