一键导入
e2e-testing
Guidelines for end-to-end testing in FinanzApp using Playwright.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Guidelines for end-to-end testing in FinanzApp using Playwright.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Mandatory rule requiring a corresponding test file for every business logic file and UI component.
Guidelines for frontend component and E2E testing in FinanzApp.
Component organization and modern React principles for the FrontEnd.
Catalog of all specialized skills used across the FinanzApp project (Frontend & Backend).
Reglas obligatorias para garantizar la accesibilidad web (A11y) en FinanzApp. Sigue estándares WCAG 2.1 para usuarios con discapacidad visual y navegación por teclado.
Guidelines for cross-layer testing (Hooks + UI + Services) using real logic and MSW for network interception.
| name | e2e-testing |
| description | Guidelines for end-to-end testing in FinanzApp using Playwright. |
This skill defines the standards for End-to-End (E2E) testing to ensure critical user flows are fully functional across the entire stack.
All E2E tests MUST be located in the root tests/ directory, specifically within the e2e subdirectory:
tests/e2e/[flow_name].spec.tspnpm test:e2e to run tests. By default, it runs in headed mode for debugging.import { test, expect } from '@playwright/test';
test('login and check dashboard', async ({ page }) => {
await page.goto('/auth/login');
await page.fill('input[name="email"]', 'user@example.com');
await page.fill('input[name="password"]', 'password123');
await page.click('button[type="submit"]');
await expect(page).toHaveURL('/dashboard-inversor');
await expect(page.locator('h4')).toContainText('Hola');
});