Skip to content

fix(e2e): use exact locator for Open menu button in design review screenshots#1106

Merged
steilerDev merged 1 commit into
betafrom
fix/design-review-sidebar-locator
Mar 21, 2026
Merged

fix(e2e): use exact locator for Open menu button in design review screenshots#1106
steilerDev merged 1 commit into
betafrom
fix/design-review-sidebar-locator

Conversation

@steilerDev
Copy link
Copy Markdown
Owner

Summary

  • Fixed strict mode violation in the design review screenshot workflow where getByRole('button', { name: /menu/i }) matched both "Open menu" and "Close menu" buttons on tablet/mobile viewports
  • Changed to exact 'Open menu' name match

Test plan

  • Re-run the Design Review Screenshots workflow and verify the sidebar navigation test passes on tablet and mobile viewports

🤖 Generated with Claude Code

…eenshots

The regex /menu/i matched both "Open menu" and "Close menu" buttons,
causing Playwright strict mode violations on tablet/mobile viewports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@steilerDev steilerDev force-pushed the fix/design-review-sidebar-locator branch from fedfce9 to eb86403 Compare March 21, 2026 09:02
@steilerDev steilerDev merged commit ed3601b into beta Mar 21, 2026
24 of 27 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.2.0-beta.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@steilerDev steilerDev deleted the fix/design-review-sidebar-locator branch March 22, 2026 12:26
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant