Skip to content

fix: scope roster table E2E locator to form#268

Closed
jakebromberg wants to merge 0 commit intomainfrom
fix/e2e-roster-table-locator
Closed

fix: scope roster table E2E locator to form#268
jakebromberg wants to merge 0 commit intomainfrom
fix/e2e-roster-table-locator

Conversation

@jakebromberg
Copy link
Copy Markdown
Member

Summary

  • Scope rosterTable locator from page.locator("table") to page.locator("form table") to avoid Playwright strict mode violation when multiple tables exist in the dashboard layout
  • Similarly scope tableRows to form tbody tr

Closes #267

Test plan

  • E2E admin-email-change tests pass without strict mode violation
  • Other roster E2E tests (admin-roster-management, admin-roster-permissions) still pass

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 4, 2026

Deploying wxyc-dj with  Cloudflare Pages  Cloudflare Pages

Latest commit: ea0cebf
Status: ✅  Deploy successful!
Preview URL: https://6d1046e6.dj-site.pages.dev
Branch Preview URL: https://fix-e2e-roster-table-locator.dj-site.pages.dev

View logs

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.

E2E: Roster table locator matches multiple tables causing strict mode violation

1 participant