e2e-zoppy

Standardize Playwright E2E tests for the Zoppy FE project.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/Zoppy-crm/.github --skill e2e-zoppy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-zoppy
Source: https://github.com/Zoppy-crm/.github/tree/main/skills/frontend/e2e-zoppy
Command: npx skills add https://github.com/Zoppy-crm/.github --skill e2e-zoppy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Padroniza testes E2E com Playwright no projeto Zoppy FE para reduzir flaky tests e garantir independência entre os testes.

Core Features & Use Cases

  • Diretrizes de isolamento de testes, uso confiável de Page Object, seletores estáveis (data-testid), timeouts explícitos e tratamento de erros.
  • Casos de uso incluem criação, revisão e correção de testes, além de refatoração de testes instáveis para alinhamento com as regras.

Quick Start

Siga as regras ao criar ou atualizar um teste E2E com Playwright para o Zoppy FE.

Frequently Asked Questions about e2e-zoppy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop my Playwright E2E tests from being flaky?

Flaky Playwright E2E tests are reduced by enforcing test isolation, using stable data-testid selectors, setting explicit timeouts, and applying robust Page Object patterns to ensure independence between tests.

What is the best way to structure Page Objects in Playwright?

The best way to structure Page Objects in Playwright is to follow project conventions that promote reliable selector strategies, explicit timeouts, and robust error handling, ensuring maintainable and independent test structures.

How do I ensure independence between E2E tests in Playwright?

Independence between E2E tests in Playwright is ensured by standardizing test isolation rules, preventing state sharing, and applying consistent error handling to keep each test self-contained and reliable.

Why does my Playwright test fail due to timeout issues?

Playwright tests often fail due to timeouts when explicit timeout configurations are missing. Setting explicit timeouts and using stable data-testid selectors instead of dynamic ones resolves these waiting issues.

Can I use data-testid selectors to fix unstable Playwright tests?

Yes, you can use data-testid selectors to fix unstable Playwright tests. Stable selectors are a core project convention that prevents element detection failures and reduces overall test flakiness.