ec-qa-expert

Create and modify Jest unit tests and Playwright E2E tests for the Multi-Vendor EC project.

1|Updated Apr 28, 2025
One-click install
npx skills add https://github.com/myoshi2891/Multi-Vendor-E-Commerce --skill ec-qa-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ec-qa-expert
Source: https://github.com/myoshi2891/Multi-Vendor-E-Commerce/tree/main/.agent/skills/ec-qa-expert
Command: npx skills add https://github.com/myoshi2891/Multi-Vendor-E-Commerce --skill ec-qa-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of creating, modifying, and verifying tests for the Multi-Vendor EC project, ensuring high code quality and reliability.

Core Features & Use Cases

  • Unit Testing: Write and maintain unit tests for server actions using Jest.
  • E2E Testing: Develop and execute end-to-end tests for user journeys using Playwright.
  • Test Refinement: Modify existing tests to cover new features or fix bugs.
  • Quality Assurance: Act as an expert in ensuring the overall quality and robustness of the application through comprehensive testing strategies.
  • Use Case: When a new feature for product listing is developed, use this Skill to write Jest unit tests for the relevant server actions and Playwright E2E tests to verify the user flow from product creation to display.

Quick Start

Use the ec-qa-expert skill to write unit tests for the src/queries/product.ts file.

Frequently Asked Questions about ec-qa-expert

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

FAQPage Schema
How do I write unit tests for server actions using Jest?

To write unit tests for server actions using Jest, you target specific server action files and create test files to verify their individual functions and logic. This ensures your server actions work correctly in isolation before integration.

Can I use Playwright for E2E testing in a Multi-Vendor EC project?

Yes, you can use Playwright for E2E testing in a Multi-Vendor EC project to automate and verify user journeys. It validates complete user flows, such as navigating from product creation to display, ensuring application robustness.

What is the best way to ensure test coverage for new e-commerce features?

The best way to ensure test coverage for new e-commerce features is by combining Jest unit tests for server actions with Playwright E2E tests for user flows. This dual approach verifies both backend logic and frontend interactions.

Does this testing approach handle test data seeding and colocation?

Yes, this testing approach handles test data seeding and colocation by adhering to testing best practices. It ensures tests are located near the code they verify and manages the necessary data setup for reliable execution.

How do I modify existing tests when adding new product listing capabilities?

To modify existing tests when adding new product listing capabilities, you update the Jest unit tests for the modified server actions and adjust Playwright E2E tests to cover the updated user flow from product creation to display.