mindrally/skills
Playwright
Dans l'annuaire depuis le 18 novembre 2026.
Description
Vous guide dans les tests Playwright en privilégiant les localisateurs axés accessibilité comme getByRole() et getByLabel() plutôt que les sélecteurs CSS. Vise des tests qui reproduisent la façon dont les utilisateurs interagissent vraiment.
Voir la description originale (anglais)
This one walks you through Playwright testing with a clear preference for accessibility-first locators like getByRole() and getByLabel() over CSS selectors. It's all about writing tests that mirror how users actually interact with your app, which makes them more resilient to UI changes. The examples are practical, covering everything from test structure with fixtures to web-first assertions that auto-retry instead of those brittle hardcoded waits we've all regretted. Use this when you're setting up E2E tests and want to avoid the usual pitfalls like flaky tests and maintenance nightmares. The configuration section alone will save you from having to piece together docs.
Installer le skill
- 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
- 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
- 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.