跳到正文
cccskills
免费在 GitHub 公开

e2e-testing-scaffolding

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

中文简介正在准备中。当前显示原文说明。

集成工具Playwright
查看安装方法

包含的文件(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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:
    • Configure browsers (chromium by default)
    • Set base URL from webapp config
    • Configure test timeouts and retries
  3. Create fixture files for authentication and page objects
  4. Generate Testkube test suite definition (if helm components exist)
  5. 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Standards for authoring SDD plugin agents — frontmatter, self-containment, skill references, and no-user-interaction rules.

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

Scaffolds Node.js/TypeScript backend components with CMDO architecture, driven by component settings.

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

CMDO architecture standards for Node.js/TypeScript backends with strict layer separation.

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

Intent-to-command mappings for fullstack-typescript tech pack features.

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

Create change specification and implementation plan with dynamic phase generation. Supports feature, bugfix, refactor, and epic types.

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

Orchestrates the full change lifecycle — routes actions to phase-specific sub-files.

中文简介正在准备中。当前显示原文说明。

LiorCohen/sdd432026年2月24日 更新

查看 LiorCohen 的全部技能

报告此技能的问题