playwright

Automate end-to-end tests for Luxia storefront checkout, cart, authentication, and multilingual routing.

Updated Oct 28, 2025
One-click install
npx skills add https://github.com/kaxuna1/ecomsite --skill playwright-kaxuna1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright
Source: https://github.com/kaxuna1/ecomsite/tree/main/.claude/skills/playwright
Command: npx skills add https://github.com/kaxuna1/ecomsite --skill playwright-kaxuna1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables automated end-to-end testing of the Luxia e-commerce platform, preventing regressions in critical user journeys.

Core Features & Use Cases

  • End-to-end coverage: tests checkout, cart, authentication, CMS pages, and admin operations across the full stack (Vite frontend, Express backend, PostgreSQL).
  • Multilingual routing tests: validates language-prefixed paths and internationalization flows.
  • CI-ready automation: supports Playwright config, test organization, and parallel execution for reliable deployments.

Quick Start

Install dependencies, run the Playwright tests with npx playwright test, and review results. Tests are located under the e2e/ directory and can be configured via playwright.config.ts.

Frequently Asked Questions about playwright

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

FAQPage Schema
How do I automate end-to-end testing for an e-commerce storefront?

You automate e-commerce end-to-end testing by running Playwright tests against critical user journeys like checkout, cart operations, and authentication. Tests are organized under the e2e/ directory and configured via playwright.config.ts to prevent regressions across the full stack.

What's the best way to test multilingual routing in a Vite and Express application?

The best way to test multilingual routing is using Playwright to validate language-prefixed paths and internationalization flows. It automates browser interactions across the Vite frontend and Express backend to ensure routing behaves correctly for different locales.

Can I integrate Playwright e2e tests into a CI/CD pipeline for reliable deployments?

Yes, you can integrate Playwright into CI/CD pipelines for reliable deployments. It supports parallel execution and provides configuration through playwright.config.ts, enabling automated regression checks during continuous integration and deployment workflows.

Does e2e testing with Playwright require a specific runtime stack?

Yes, this e2e testing setup requires a runtime stack consisting of a Vite frontend, Express backend, and PostgreSQL database. You must install dependencies and run tests locally using the command npx playwright test to validate the full stack.

What checkout and cart flows can I validate with automated Playwright tests?

You can validate critical e-commerce user journeys including checkout flows, cart operations, user authentication, and CMS pages. Playwright automates these interactions across both frontend and backend contexts to prevent regressions in the storefront.

Why do my Playwright e2e tests fail to run after cloning the repository?

Playwright e2e tests fail if dependencies are not installed or the required runtime stack is missing. You must install project dependencies, ensure Vite, Express, and PostgreSQL are running, and execute tests from the e2e/ directory using npx playwright test.