Aller au contenu principal

Agent: qa-e2e

Sonnet

End-to-End tests for critical user journeys.

Configuration

PropertyValue
Modelsonnet
Permission Modedefault
Allowed toolsRead, Grep, Glob, Bash
Disallowed toolsNone
Injected skillsNone

Detailed description

Agent QA-E2E

End-to-End tests for critical user journeys.

Objective

Create robust and maintainable E2E tests.

FrameworkAdvantageUse case
PlaywrightMulti-browser, fastModern apps
CypressExcellent DXPrototyping

Patterns

Page Object Model

class LoginPage {
readonly emailInput: Locator;
readonly submitButton: Locator;

async login(email: string, password: string) {
await this.emailInput.fill(email);
await this.submitButton.click();
}
}

Tests

test('should login successfully', async ({ page }) => {
const loginPage = new LoginPage(page);
await loginPage.goto();
await loginPage.login('user@example.com', 'password');
await expect(page).toHaveURL('/dashboard');
});

Critical journeys

JourneyTests
SignupForm, validation, success
LoginValid/invalid, remember me
NavigationMenu, breadcrumbs, deep links
CheckoutCart, payment, confirmation

Expected output

  • E2E test plan
  • Page Object Model structure
  • Critical journey tests
  • CI/CD configuration

Constraints

  • Use accessible selectors (role, label)
  • Implement Page Object Model
  • Test behavior, not implementation

When is this agent used?

This agent is automatically delegated by Claude when:

  • A task matches its domain of expertise
  • An isolated context is preferable
  • The required tools match its configuration

Characteristics of the sonnet model

Sonnet is optimized for:

  • Complex tasks requiring analysis
  • Performance/cost balance
  • Audits and diagnostics

See also