webapp-testing

Solid

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.

Testing & QA 22 stars 5 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
45
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /supergraph:webapp-testing Test and verify local web application UI behavior using Playwright. Announce: "๐ŸŒ /supergraph:webapp-testing โ€” testing web application..." ## When to Use - Verifying a frontend change works correctly in the browser - Debugging UI behavior or unexpected rendering - Capturing screenshots for visual verification - Checking browser console logs for errors - After `/supergraph:frontend-design` to confirm feature works end-to-end ## Steps ### 0. Announce "๐ŸŒ /supergraph:webapp-testing โ€” testing [feature/page]..." ### 1. Understand what changed (graph context) Before writing tests, use graph context to prioritize coverage: Use `CBM_PROJECT`: call `detect_changes`, `search_graph` for changed routes/pages, then `trace_path` for inbound/outbound call and data-flow paths. Run validated `test-gaps`. Empty results are unavailable; use Serena/filesystem evidence. **Serena (optional):** For changed component symbols: ``` mcp__serena__find_referencing_symbols(symbol=<changed_component>) ``` If a Playwright test fails on a renamed component/route, `find_referencing_symbols` surfaces all import sites. Skip if Serena unavailable. ### 2. Choose approach ``` Is it static HTML? โ”œโ”€ Yes โ†’ Read HTML file directly to identify selectors โ”‚ Then write Playwright script using those selectors โ”‚ โ””โ”€ No (dynamic webapp) โ†’ Is server already running? โ”œโ”€ No โ†’ Run: python scripts/with_server.py --help โ”‚ Then start server + write Playwright script ...

Details

Author
datit309
Repository
datit309/supergraph
Created
4 months ago
Last Updated
6 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content โ€” not just same category