Skip to content
Back to skills

Testing E2e

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 11, 2026
testingtesting

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add Vitammiin/agent-vorcl-flow --skill testing-e2e --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Testing E2e?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Testing E2e
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vitammiin-testing-e2e/badge)](https://www.skillsdirectory.com/skills/vitammiin-testing-e2e)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

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

# Задача: 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`, чини первопричину. Приложение не поднимается — сначала почини запуск.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…