Webapp Testing

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. Use when this capability is needed.

tomevault-io Updated

File contents

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.

Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/vidyfoo--antigravity-skill-engine--webapp-testing commit 255a883a6e

Frequently asked questions

npx skillmds@latest add tomevault-io/webapp-testing-41