Skip to content

chore: Fix e2e tests by using new MARS alt texts as the accessible-first selectors#76

Merged
mashalifshin merged 1 commit intomainfrom
update-alt-text-in-e2e-tests
Jul 3, 2025
Merged

chore: Fix e2e tests by using new MARS alt texts as the accessible-first selectors#76
mashalifshin merged 1 commit intomainfrom
update-alt-text-in-e2e-tests

Conversation

@mashalifshin
Copy link
Contributor

Problem Statement

Recently, MARS changed how they contruct alt text for the mock placements. We use those alt texts as an accessible-first selector in our end-to-end cross browser tests, so this change in MARS broke our tests on main. We can't merge PRs until this is resolved.

Proposed Changes

Update to the new style of alt text to go green on main again.

In the future, we may consider setting aside some special test placements just for our examples and for these e2e tests, not just use the mock pocket placements, but for now this is a good fix.

Verification Steps

Seeing that the e2e tests pass in CI is sufficient to verify this change.

@mashalifshin mashalifshin requested a review from a team as a code owner July 2, 2025 21:14
@mashalifshin mashalifshin changed the title chore: Update alt text selectors to use new MARS alt texts chore: Update e2e test to use new MARS alt texts as the accessible-first selectors Jul 2, 2025
@mashalifshin mashalifshin changed the title chore: Update e2e test to use new MARS alt texts as the accessible-first selectors chore: Fix e2e tests by using new MARS alt texts as the accessible-first selectors Jul 2, 2025
@mashalifshin mashalifshin merged commit 8b5bb44 into main Jul 3, 2025
8 checks passed
@mashalifshin mashalifshin deleted the update-alt-text-in-e2e-tests branch July 3, 2025 16:56
Almaju pushed a commit to Almaju/majc that referenced this pull request Sep 22, 2025
…rst selectors (mozilla-services#76)

Update alt text selectors to use new MARS alt texts
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

Comments