Receber por email
← Voltar para o catálogo

e2e-testing-scaffolding

Scaffolds E2E test suite structure with Playwright configuration and Testkube integration.

36estrelas
Atualizado há 8 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add LiorCohen/sdd

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/e2e-testing-scaffolding/svg)](https://www.skillteca.com.br/skills/e2e-testing-scaffolding)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

E2E Testing Scaffolding

Scaffolds an end-to-end testing component with Playwright for browser automation and Testkube for Kubernetes-native test execution.

Input

Invoked by the scaffolding orchestrator with:

  • component_name: Name of the testing component
  • project_name: Project name from settings
  • existing_components: Currently configured components (servers, webapps)

Directory Structure

components/testing/e2e/{name}/
├── src/
│   ├── fixtures/
│   │   ├── auth.fixture.ts     # Authentication helpers
│   │   └── page.fixture.ts     # Page object base
│   ├── pages/
│   │   └── .gitkeep            # Page objects go here
│   ├── tests/
│   │   └── .gitkeep            # Test files go here
│   └── helpers/
│       ├── test-data.ts        # Test data management
│       └── selectors.ts        # data-testid selectors
├── playwright.config.ts
├── package.json
├── tsconfig.json
└── README.md

Workflow

  1. Create the testing directory structure
  2. Generate Playwright configuration:
  3. Configure browsers (chromium by default)
  4. Set base URL from webapp config
  5. Configure test timeouts and retries
  6. Create fixture files for authentication and page objects
  7. Generate Testkube test suite definition (if helm components exist)
  8. Create README with E2E testing conventions

Standards

Follow e2e-testing-standards for test structure, page object patterns, and selector conventions.

Output

Returns a declared actions response with register_component action for the new E2E testing component.

Compartilhar X LinkedIn