Skip to content

test: count the Awards footer link in the privacy and terms e2e suites - #147

Open
officialasishkumar wants to merge 1 commit into
vycdev:developfrom
officialasishkumar:fix/issue-143-footer-e2e-links
Open

officialasishkumar wants to merge 1 commit into
vycdev:developfrom
officialasishkumar:fix/issue-143-footer-e2e-links

Conversation

@officialasishkumar

Copy link
Copy Markdown

The Awards link from #126 added an eighth link to the landing footer. The narrow-screen footer tests in privacy.spec.ts and terms.spec.ts still expected seven, so npm run test:e2e:privacy and npm run test:e2e:terms fail on all four width/theme cases on develop. Their CI jobs, E2E (test:e2e:privacy) and E2E (test:e2e:terms), therefore fail on every pull request and on pushes to develop. These suites have their own configs, so #137 didn't cover them.

As #143 asks, I also checked the other footer assertions against the new link:

  • Count: both tests now expect 8 links. The per-link checks still run on every link, Awards included: fully in the viewport, at least 44 px tall, above the sticky launch bar, and not covered at its centre.
  • Keyboard order (privacy): the test tabbed once from "Support Kromacut" and expected Privacy to take focus. Awards now opens the utility row, so that would fail as soon as the count passed. The test now checks that Tab reaches Awards and then Privacy on the next Tab. The keyboard-order check is kept, and the new link is covered by it rather than skipped.
  • Keyboard order (terms): the test tabs from Privacy to Terms, which are still next to each other, so only its count changes.

Test-only change, so no changelog entry, the same as #137.

Closes #143

Tests

  • npm run test:e2e:privacy: 13 passed.
  • npm run test:e2e:terms: 10 passed.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-11T16:08:58.615323Z
We couldn’t complete this review. Comment @codex review to try again.
1f88aba PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

The Awards link from vycdev#126 added an eighth link to the landing footer.
The narrow-screen footer tests in privacy.spec.ts and terms.spec.ts
still expected seven, so `npm run test:e2e:privacy` and
`npm run test:e2e:terms` failed all four width/theme cases on develop,
and their CI jobs failed on every pull request. These suites have their
own Playwright configs, so the i18n footer fix in vycdev#137 did not reach
them.

- Expect eight footer links in both tests. Every link, Awards included,
  is still checked to be fully in the viewport, at least 44px tall,
  above the sticky launch bar, and not covered at its centre.
- The privacy test tabbed once from "Support Kromacut" and expected
  Privacy to take focus. Awards now opens the utility row, so assert
  that Tab reaches Awards first and Privacy on the next Tab, keeping
  the keyboard-order check instead of skipping over the new link.
- The terms test tabs from Privacy to Terms, which are still adjacent,
  so only its count changes.

Closes vycdev#143
@officialasishkumar
officialasishkumar force-pushed the fix/issue-143-footer-e2e-links branch from 1f88aba to 4f3cd17 Compare November 11, 2026 16:32
@officialasishkumar

Copy link
Copy Markdown
Author

The e2e jobs here failed in the "Install Playwright system dependencies" step, before any test ran: the runner couldn't resolve azure.archive.ubuntu.com (Temporary failure resolving), twice in a row. "Lint, build, and unit tests" passed. I can't rerun jobs on this repository, so could you rerun the failed jobs once the runners recover?

This branch has not been deployed

No deployments
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.

1 participant