e2e-testing
E2E Testing
Playwright-based E2E and visual regression testing, run exclusively inside Docker.
Commands
af e2e # Run all tests (--max-failures=1 by default)
af e2e npm run e2e -- --grep "test name" # Run specific test by name
af e2e npm run e2e -- tests/Feature.spec.ts # Run specific file
af e2e npm run e2e -- --update-snapshots # Update all visual baselines
af e2e npm run e2e -- --grep "page" --update-snapshots # Update specific baseline
Never run Playwright directly outside Docker.
Critical Requirements
More from avantmedialtd/skills
typescript-react-standards
Opinionated TypeScript and React development standards from Avant Media. Use when scaffolding new components, reviewing code, writing TypeScript interfaces or types, setting up project structure, creating React hooks, or working on any TypeScript/React codebase. Also use when the user asks about best practices, patterns, or conventions for TypeScript or React projects, even if they don't explicitly mention "standards.
14jira
Manage Jira issues from the command line. Use when working with Jira issues, creating tasks, updating status, assigning work, linking issues, managing versions, setting or reading custom fields (Story Points, Sprint, Severity, etc.), or searching for issues.
12power-stack
Bun/Elysia/React/MUI monorepo stack blueprint. Use when scaffolding a new project, adding a new app or package to the monorepo, choosing dependencies, or making architectural decisions. Contains the full tech stack, conventions, and wiring patterns.
6confluence
Manage Confluence pages from the command line. Use when working with Confluence pages, spaces, comments, labels, attachments, or searching wiki content.
4sonar
Inspect SonarQube quality gates, issues, and measures for a Bitbucket pull request or main branch from the command line. Use when checking SonarQube gate status on a PR, reviewing new issues introduced by a branch, or wiring quality gates into CI scripts.
1commit-work
Commit all changes with the OpenSpec proposal title and ID as a git trailer. Use when the user says "commit this", "commit work", or wants to commit the current batch of changes with structured OpenSpec trailers. Auto-archives the change first if it has not been archived yet.
1