testing

Automate Playwright and Vitest tests for PhotoVault user journeys.

Updated Oct 6, 2025
One-click install
npx skills add https://github.com/nathanielcrowell12-spec/photo-vault --skill testing-nathanielcrowell12-spec
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: testing
Source: https://github.com/nathanielcrowell12-spec/photo-vault/tree/main/.claude/skills/testing
Command: npx skills add https://github.com/nathanielcrowell12-spec/photo-vault --skill testing-nathanielcrowell12-spec

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates comprehensive testing from unit tests to end-to-end user journeys.

Core Features & Use Cases

  • E2E Test Automation: Create reliable user journey tests that work consistently.
  • Stripe Webhook Testing: Test payment flows and webhook handlers with realistic test data.

Quick Start

Use the testing skill to write a Playwright test that verifies clients gain photo access after successful payment.

Core Features & Use Cases

  • Automated Test Generation: Quickly create tests for common PhotoVault scenarios like gallery access and payment flows.

Frequently Asked Questions about testing

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

FAQPage Schema
How do I write end-to-end tests with Playwright to validate user workflows?

End-to-end tests with Playwright automate user journey validation by simulating real interactions across your application. This Skill provides patterns for creating reliable E2E tests that verify critical flows like photo access and payment processing without flakiness.

Can I test Stripe webhooks and payment flows reliably?

Yes. This Skill includes Stripe webhook testing patterns with realistic test data, allowing you to validate payment handlers and webhook integrations within your test suite without hitting production systems.

How do I structure unit tests and E2E tests together with Vitest and Playwright?

Unit tests validate individual functions via Vitest; E2E tests verify full user journeys with Playwright. This Skill teaches pattern-driven organization using test fixtures and page objects to keep both test types maintainable and flake-free.

What causes flaky tests and how do I fix them?

Flaky tests fail intermittently due to unstable selectors, timing issues, or race conditions. This Skill covers debugging flaky tests and implementing stable selectors and fixtures to ensure consistent test results across runs.

Do I need Playwright and Vitest to test my application?

Playwright specializes in E2E testing across browsers; Vitest runs lightweight unit tests. This Skill combines both for comprehensive coverage—use unit tests for logic and E2E tests for user-facing features, matching your testing strategy.

What's the best way to organize test fixtures and page objects?

Test fixtures centralize setup and teardown; page objects encapsulate selectors and interactions. This Skill demonstrates organizing E2E and unit tests with these patterns for readable, maintainable, and independent tests.