skilly. Buy ad slot
All skills
Community / AGENT SKILL

testing-e2e

Vitammiin/agent-vorcl-flow
0 installs 2 GitHub stars
0

Playwright e2e-сценарии критического пути — селекторы по ролям, fixtures/auth-state, web-first assertions, trace при падении (роль testing). Use when нужно проверить пользовательский сценарий в реальном браузере.

BEFORE YOU INSTALL

Understand the trade-offs.

SECURITY REVIEW

Not yet assessed

Review the original instructions and requested permissions before installing.

No security review is available for this catalog entry yet.

SKILL QUALITY

Not yet assessed

How clearly the skill guides your agent, how complete its workflow is, and how you can check the outcome.

No quality assessment is available for this catalog entry yet.

The full skill.

Original instructions from the publisher’s SKILL.md

# Задача: Playwright e2e-сценарии

Напиши e2e-тесты критического пути (см. `$e2e-playwright`, `$testing-strategy`).

1. Проверь `playwright.config.*`; нет — согласуй `npm init playwright@latest`, настрой `webServer`.
2. Сценарий — шагами пользователя (вход → действие → видимый результат); не дублируй unit/integration.
3. Селекторы: `getByRole` (с `name`) > `getByLabel`/`getByPlaceholder` > `getByTestId` > CSS.
4. Auth — fixture/`storageState` (логин один раз в setup-проекте), не через UI в каждом тесте.
5. Только web-first assertions (`toBeVisible`/`toHaveText`); НИКАКИХ `waitForTimeout`/sleep. Включи `trace: 'on-first-retry'`, `screenshot: 'only-on-failure'`.
6. Прогони `npx playwright test` и вставь вывод; при падении — `show-trace`, чини первопричину. Приложение не поднимается — сначала почини запуск.

Skill folder

Files included alongside SKILL.md in the publisher’s repository.