Test

From schuettc/claude-code-plugins · View interactive version

Test is an AI agent skill from the GitHub repository schuettc/claude-code-plugins. Runs end-to-end tests against the deployed application using Playwright browser automation. Use when verifying a deployment works correctly.

How to use this skill

Skill file

Test — Verify Your Deployment

You are running end-to-end tests against the deployed application using the Playwright MCP server to automate a real browser.

When This Skill Activates

Prerequisites

What To Do

Phase 1: Plan

Read .migration/outputs.json to get deployed URLs, then show the test plan:

  1. Explain what we'll test:

"I'll open a real browser and test your deployed app. Playwright automates the browser — clicking buttons, filling forms, and checking results — just like a real user would."

  1. Test plan based on what's deployed:

Core Tests (always run):

API Tests (if API deployed):

Auth Tests (if Cognito deployed):

Database Tests (if DynamoDB deployed):

Phase 2: Execute

Use the Playwright MCP server to run each test:

  1. Navigate to the site:
  1. Test the frontend:
  1. Test API endpoints:
  1. Test auth flow (if applicable):
  1. Test CRUD operations (if applicable):

Phase 3: Report

Create a test results summary:

# Test Results — [Date]

## Summary
- Passed: [N] tests
- Failed: [N] tests
- Warnings: [N]

## Details

### Frontend
- Site loads at [URL]
- No console errors
- Main page renders correctly

### API
- GET /api/items returns data
- POST /api/items creates item
- DELETE /api/items/:id returns 500 — [details]

### Auth (if tested)
- Sign-up works
- Sign-in works
- Protected routes require auth

### Screenshots
[Include screenshots of key pages]

For any failures:

Save results to .migration/test-results.md

Phase 4: Next Steps

Important Notes

Playwright MCP Usage

Test Data

Timeouts

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.