Skip to content

Fix headless Toast e2e selector ambiguity - #36644

Closed
Dmytro Kirpa (dmytrokirpa) with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-ci-e2e-job
Closed

Fix headless Toast e2e selector ambiguity#36644
Dmytro Kirpa (dmytrokirpa) with Copilot wants to merge 3 commits into
masterfrom
copilot/fix-ci-e2e-job

Conversation

Copilot AI commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

The CI / e2e (pull_request) job failed because [data-intent] matched both each toast root and its ToastTitle media slot, doubling Cypress element counts.

  • Test selectors: Use the unique ToastContainer structural role for toast assertions and hover interactions.
const TOAST_CONTAINER = '[role="listitem"]';

cy.get(TOAST_CONTAINER).should('have.length', 5);

Copilot AI and others added 2 commits August 28, 2026 13:08
Co-authored-by: dmytrokirpa <1492102+dmytrokirpa@users.noreply.github.com>
Co-authored-by: dmytrokirpa <1492102+dmytrokirpa@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job CI / e2e (pull_request) Fix headless Toast e2e selector ambiguity Aug 28, 2026
@dmytrokirpa
Dmytro Kirpa (dmytrokirpa) deleted the copilot/fix-ci-e2e-job branch August 29, 2026 08:32
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.

2 participants