playwright-e2e
/playwright-e2e
Pisze i naprawia testy end-to-end Playwright w TypeScript lub Pythonie, uruchamia je i poprawia, aż przechodzą z właściwego powodu.
- Autor
- RobinBeraud ↗
- Repozytorium
- claude-qa-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 10.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pisze i naprawia testy end-to-end Playwright w TypeScript lub Pythonie, uruchamia je i poprawia, aż przechodzą z właściwego powodu.
Oryginalny opis (EN)
Write or fix Playwright end-to-end tests (TypeScript or Python) with user-facing locators, web-first assertions, isolated test data and no fixed sleeps, then run them and iterate until they pass for the right reason. Use when asked for UI/E2E tests, to automate a scenario, or to stabilise a failing Playwright test.
Jak działa
- Principles
- Steps
- Output
- Red flags to refuse
Podgląd SKILL.md
--- name: playwright-e2e description: "Write or fix Playwright end-to-end tests (TypeScript or Python) with user-facing locators, web-first assertions, isolated test data and no fixed sleeps, then run them and iterate until they pass for the right reason. Use when asked for UI/E2E tests, to automate a scenario, or to stabilise a failing Playwright test." --- # Playwright end-to-end tests ## Principles - **Locators users see**: `getByRole`, `getByLabel`, `getByText`, `getByTestId` as a last resort. No CSS chains, no XPath. - **Web-first assertions** that auto-wait: `await expect(locator).toHaveText(...)`. Never `waitForTimeout`. - **Independent tests**: each test creates its own data (API or fixture) and does not depend on order. - **Authenticate once** with `storageState`, not through the login form in every test. - **Mock only third parties** you do not own (`page.route`), never your own backend in an E2E test. - One user journey per test; keep the pyramid: logic belongs in unit/API tests. ## Steps 1. Read the scenario (Gherkin or steps) and the app's existing test setup (`playwright.config`, fixtures, page objects). 2. Write the test with the conventions above; add a page object only if the screen is reused. 3. Run: `npx playwright test path --reporter=line` (or `pytest` for Python). Read failures and traces (`--trace on`). 4. Fix the **cause**: missing wait condition, wrong locator, shared data. Never add a sleep. 5. Run 5 times in a row (`--repeat-each=5`) to prove stability before handing over. ## Output The test file, the commands run with their output, and the stability result. Mention anything you mocked. ## Red flags to refuse `waitForTimeout`, `force: true` clicks to bypass overlays, `test.retry` used to hide a real race, assertions on CSS classes instead of behaviour.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · RobinBeraud/claude-qa-skills | 90 | MIT |
| 5dive-ai/skills | 100 | MIT |
| market0v0/shipkit | 100 | MIT |
| hmislk/hmis | 98 | GPL-3.0 |
| helx0071/skillsmo | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 018b9af09791 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100playwright-generate-test
Generuje testy Playwright w TypeScript na podstawie scenariusza lub historyjki użytkownika, korzystając z Playwright MCP do interakcji z prawdziwą przeglądarką. - 100v1-e2e-testing
Pisze i naprawia testy end-to-end w przeglądarce, zwłaszcza w Playwright, i diagnozuje niestabilne testy. - 100playwright-test-writer
Pisze i rozszerza testy Playwright E2E dla strony lub funkcji, także przy poprawkach istniejących testów przeglądarkowych. - 95playwright-test
Tworzy testy E2E w Playwright dla stron Next.js, obejmujące pełne ścieżki użytkownika od początku do końca. - 95playwright-e2e-tests
Pisze i utrzymuje testy E2E w Playwright dla aplikacji Onyx, a także naprawia błędy testów i dodaje pokrycie. - 100playwright-testing
Automatyzuje testy UI i E2E z Playwright MCP: sprawdza stronę, robi zrzuty ekranu, uruchamia Playwright i pisze testy przeglądarkowe.