本文へスキップ
Skillpedia
テスト48k · #4504

e2e-testing

できること

これは、ウェブサイトやアプリケーションでユーザーが行う操作を自動でテストするためのガイドです。さまざまなブラウザやシナリオで、すべてが期待どおりに動作するかを確認する助けになります。

使う場面

  • ✓ウェブサイトの自動テストを設定するとき。
  • ✓複数のブラウザでウェブサイトが動作するか確認したいとき。
  • ✓以前のバージョンと見た目を比較したいとき(ビジュアルテスト)。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/e2e-testing/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/e2e-testing/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“私のウェブサイトで、ログインから購入までの流れを確認する自動テストを設定してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

Playwright というツールを使い、ボタンのクリックやフォームへの入力といったユーザーの操作を再現します。これにより、人の手を介さずにテストを実行できます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

E2E Testing Workflow

Overview

Specialized workflow for end-to-end testing using Playwright including browser automation, visual regression testing, cross-browser testing, and CI/CD integration.

When to Use This Workflow

Use this workflow when:

  • Setting up E2E testing
  • Automating browser tests
  • Implementing visual regression
  • Testing across browsers
  • Integrating tests with CI/CD

Scope and proof

Choose phases needed for the current task, not every listed skill. Use dedicated test accounts, isolated fixtures and approved sandbox endpoints; clicks can send messages, make purchases or delete data. Review browser installation/downloads and CI permissions first. Traces, screenshots, videos and storage-state files can contain credentials or private data; keep them private and redact artifacts before sharing. A Playwright WebKit run is not proof on actual Safari/iOS, and mobile emulation is not a real-device test. Keep visual baselines fixed until differences are reviewed; do not overwrite them merely to get a pass.

Workflow Phases

Phase 1: Test Setup

Skills to Invoke

  • playwright-skill - Playwright setup
  • e2e-testing-patterns - E2E patterns

Actions

  1. Install Playwright
  2. Configure test framework
  3. Set up test directory
  4. Configure browsers
  5. Create base test setup

Copy-Paste Prompts

Use @playwright-skill to set up Playwright testing

Phase 2: Test Design

Skills to Invoke

  • e2e-testing-patterns - Test patterns
  • test-automator - Test automation

Actions

  1. Identify critical flows
  2. Design test scenarios
  3. Plan test data
  4. Create page objects
  5. Set up fixtures

Copy-Paste Prompts

Use @e2e-testing-patterns to design E2E test strategy

Phase 3: Test Implementation

Skills to Invoke

  • playwright-skill - Playwright tests
  • webapp-testing - Web app testing

Actions

  1. Write test scripts
  2. Add assertions
  3. Implement waits
  4. Handle dynamic content
  5. Add error handling

Copy-Paste Prompts

Use @playwright-skill to write E2E test scripts

Phase 4: Browser Automation

Skills to Invoke

  • browser-automation - Browser automation
  • playwright-skill - Playwright features

Actions

  1. Configure headless mode
  2. Set up screenshots
  3. Implement video recording
  4. Add trace collection
  5. Configure mobile emulation

Copy-Paste Prompts

Use @browser-automation to automate browser interactions

Phase 5: Visual Regression

Skills to Invoke

  • playwright-skill - Visual testing
  • ui-visual-validator - Visual validation

Actions

  1. Set up visual testing
  2. Create baseline images
  3. Add visual assertions
  4. Configure thresholds
  5. Review differences

Copy-Paste Prompts

Use @playwright-skill to implement visual regression testing

Phase 6: Cross-Browser Testing

Skills to Invoke

  • playwright-skill - Multi-browser
  • webapp-testing - Browser testing

Actions

  1. Configure Chromium
  2. Add Firefox tests
  3. Add WebKit tests
  4. Test mobile browsers
  5. Compare results

Copy-Paste Prompts

Use @playwright-skill to run cross-browser tests

Phase 7: CI/CD Integration

Skills to Invoke

  • github-actions-templates - GitHub Actions
  • cicd-automation-workflow-automate - CI/CD

Actions

  1. Create CI workflow
  2. Configure parallel execution
  3. Set up artifacts
  4. Add reporting
  5. Configure notifications

Copy-Paste Prompts

Use @github-actions-templates to integrate E2E tests with CI

Quality Gates

  • Tests passing
  • Coverage adequate
  • Visual tests stable
  • Cross-browser verified
  • CI integration working

Related Workflow Bundles

  • testing-qa - Testing workflow
  • development - Development
  • web-performance-optimization - Performance

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
よくある質問

「ビジュアルリグレッション」とは何ですか?

ウェブサイトの見た目が予期せず変わらないことを確かめる手法です。本来あるべき見た目のスクリーンショットと、現在のスクリーンショットを比較します。

「CI/CD連携」とは何ですか?

これらのテストを、継続的インテグレーションと継続的デリバリーのシステムに組み込むことを指します。これにより、コードが変更されるたびにテストが自動で実行されます。

テストの結果を100%信頼できますか?

これらのテストは大きな助けになりますが、人によるレビューの代わりにはなりません。また、テスト結果には機密情報が含まれている場合があるため、共有する際は注意してください。

詳細

作者による元の説明

End-to-end testing workflow with Playwright for browser automation, visual regression, cross-browser testing, and CI/CD integration.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4504
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル