Skip to content

Add Playwright secure-code E2E coverage#54

Open
ejones23 wants to merge 1 commit into
codex/playwright-auth-e2efrom
codex/playwright-secure-code-e2e
Open

Add Playwright secure-code E2E coverage#54
ejones23 wants to merge 1 commit into
codex/playwright-auth-e2efrom
codex/playwright-secure-code-e2e

Conversation

@ejones23

@ejones23 ejones23 commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a stacked Playwright E2E test for secure-code voting
  • seed an E2E-only pool of random voter codes, avoiding 0/1 because secure-code input normalizes 0 -> o and 1 -> i
  • add stable selectors for secure ballot creation controls and the secure-code gate

Relationship to PR #53

This PR is intentionally stacked on top of #53, branch codex/playwright-auth-e2e. It reuses the auth/register selectors added there so the secure-code test does not rely on brittle IDs or text-only selectors.

Suggested review order:

  1. Review/merge Add Playwright auth E2E coverage #53 first.
  2. Then retarget or rebase this PR onto master if GitHub does not do that automatically.

Testing

  • npm run test:e2e
  • npx playwright test --repeat-each=3

@ejones23 ejones23 marked this pull request as ready for review June 19, 2026 23:38
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