e2e-implementer

Implement and execute Playwright E2E tests using the Page Object Model.

5|4|Updated Nov 25, 2024
One-click install
npx skills add https://github.com/davidgfolch/AI-job-search --skill e2e-implementer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: e2e-implementer
Source: https://github.com/davidgfolch/AI-job-search/tree/main/.opencode/skills/e2e-implementer
Command: npx skills add https://github.com/davidgfolch/AI-job-search --skill e2e-implementer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the creation and execution of End-to-End (E2E) tests, ensuring the reliability and stability of the application's user interface and workflows.

Core Features & Use Cases

  • E2E Test Implementation: Write and maintain E2E tests using Playwright.
  • Page Object Model (POM): Enforces best practices for maintainable test code.
  • Isolated Test Environment: Ensures tests run reliably without side effects.
  • Use Case: When developing a new feature, use this Skill to write comprehensive E2E tests that verify the entire user journey from login to feature interaction and logout.

Quick Start

Run the e2e-implementer skill to execute all tests in the apps/e2e module.

Frequently Asked Questions about e2e-implementer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write E2E tests with Playwright using the Page Object Model?

To write E2E tests with Playwright, this Skill implements the Page Object Model pattern and utilizes ID-based selectors within a dedicated module. This approach ensures your test code remains robust and maintainable across complex user journeys.

What is the best way to ensure E2E test independence for web applications?

Ensuring E2E test independence requires an isolated test environment. This Skill executes End-to-End tests using a dedicated module and an isolated database, preventing side effects and ensuring reliable execution without state bleed.

How do I automate End-to-End testing for a complete user journey?

Automating End-to-End testing for a user journey involves executing Playwright tests in the apps/e2e module. This Skill verifies entire workflows, from login to feature interaction and logout, ensuring UI and workflow stability.

Can I use ID-based selectors for robust Playwright test creation?

Yes, you can use ID-based selectors for robust Playwright test creation. This Skill focuses on utilizing ID-based selectors along with the Page Object Model to create stable tests that resist UI refactoring and ensure reliable execution.

Does this E2E testing approach require an isolated database for reliable execution?

Yes, this E2E testing approach utilizes an isolated database for reliable execution. By ensuring tests run in an isolated test environment without side effects, the Skill guarantees that test results are consistent and independent.