fe-testing

Solid

Frontend testing patterns using Playwright MCP — navigation, interaction, assertions, screenshots on failure, and common UI testing scenarios.

Testing & QA 3 stars 2 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 79/100

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

Skill Content

# Frontend Testing Patterns ## Execution Workflow For each FE scenario from the test plan: 1. **Read the scenario** — understand steps, expected result, edge cases 2. **Execute main flow** — follow steps using Playwright MCP tools 3. **Verify result** — take snapshot, check for expected elements/text 4. **Execute edge cases** — run each edge case as a sub-test 5. **Record result** — pass/fail with details --- ## Playwright MCP Tool Patterns ### Navigation ``` browser_navigate(url: "http://localhost:3000/page") ``` - Always use full URLs with the base URL from the test plan - After navigation, take a snapshot to verify the page loaded: ``` browser_snapshot() ``` ### Interaction **Clicking elements:** ``` browser_click(element: "Submit button") browser_click(element: "Link with text 'Sign In'") browser_click(element: "Navigation menu item 'Settings'") ``` **Filling forms:** ``` browser_fill_form(formData: [ { ref: "email input", value: "test@example.com" }, { ref: "password input", value: "TestPass123!" } ]) ``` If `browser_fill_form` doesn't work for a field, fall back to: ``` browser_click(element: "email input field") browser_type(text: "test@example.com") ``` **Selecting options:** ``` browser_select_option(element: "Country dropdown", value: "PL") ``` **Keyboard actions:** ``` browser_press_key(key: "Enter") browser_press_key(key: "Escape") browser_press_key(key: "Tab") ``` ### Verification **Primary method — snapshot and inspect:** ``` browser_snapsho...

Details

Author
AppVerk
Repository
AppVerk/av-marketplace
Created
6 months ago
Last Updated
4 days ago
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category