Skip to content

VidyFoo/antigravity-skill-engine / .agent/skills/2-audit/webapp-testing

webapp-testing

Unverified

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

WebApp Testing Guide

Overview

This skill provides a comprehensive toolkit for testing and debugging web applications using Playwright.

Core Operations

Start a Dev Server

Before testing, ensure your web app is running.

npm run dev

Run Playwright Tests

Execute automated tests to verify functionality.

npx playwright test

Debugging with Browser

Use the browser tool to interact with the app manually and inspect state.

Best Practices

  • Use unique IDs for interactive elements to simplify selection.
  • Clear browser logs and screenshots before each test run for clean results.
  • Record videos of failed tests for easier debugging.
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 318kUpdated Claude CodeCodexUnverifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 318kUpdated Claude CodeCodexUnverifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 318kUpdated Claude CodeCodexUnverifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 196kUpdated Claude CodeCodexVerifiedInstall