Przejdź do treści
Biblioteka skilli
Programowanie · Testowanie

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.

Licencja
MIT
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

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

  1. Principles
  2. Steps
  3. Output
  4. Red flags to refuse
Sekcje z nagłówków SKILL.md, w oryginale · 24 linii, 223 słów
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

RepozytoriumWynikLicencja
Ta strona · RobinBeraud/claude-qa-skills90MIT
5dive-ai/skills100MIT
market0v0/shipkit100MIT
hmislk/hmis98GPL-3.0
helx0071/skillsmo90MIT

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.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.