agentleFS
kskonovalovkskonovalov/claude-skills/skills/playwright/playwright-e2e/SKILL.md

playwright-e2e

Skill0 starsChanged 4 months agoNo licenceView on GitHub

Генерирует блок Playwright E2E-тестов `test.describe.only(...)` по одному из трёх входов: путь к React-компоненту, путь к сохранённому HTML-файлу или просто текстовое описание — плюс промт пользователя. Собирает элементы по тест-атрибутам (в DOM все они — `data-test-id`; в React проп `testId` считается отрендеренным как `data-test-id`), выводит сценарии из источника + промта, показывает список сценариев на подтверждение и пишет тесты через `getByTestId()`. На выходе — только `describe.only`-блок для копипаста в уже настроенный Playwright; скилл ничего не запускает, не ищет конфиг и не пересказывает источник. Срабатывает на: "напиши playwright тесты", "e2e для компонента", "e2e по html", "сгенерируй playwright", "покрой компонент тестами", "playwright тест на <файл>".

13 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.