[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75ZFRX8ABZK06YT2A4ADGHX":3,"skill-same:01M75ZFRX8ABZK06YT2A4ADGHX":67},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":27,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M75ZFRX8ABZK06YT2A4ADGHX","webapp-testing",null,"leonardosalves\u002FBURACOS-NO-DESERTO","leonardosalves","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F20269715?v=4","01M75ZA7VP66644B5QPMX0RZQD","Leonardo Soares Alves","01M75ZA7WA0S11R56XCVJQSSRJ",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"> 🔗 [[MEMORIA-LUMIERA]] · [[skills\u002Fwebapp-testing|webapp testing]] · [[SKILLS]]\n\n---\nname: webapp-testing\ndescription: |\n  Testes Playwright do dashboard Lumiera — QA de UI, screenshots, logs do browser.\n  Triggers: testar dashboard, Playwright, QA frontend, porta 5176, verificar UI, screenshot.\nmetadata:\n  lumiera: true\n  source: anthropics\u002Fskills\n  tasks: [ops]\n  category: ops\nlicense: Complete terms in LICENSE.txt\n---\n\n# Lumiera\n\n**URLs locais:**\n- Frontend Vite: `http:\u002F\u002Flocalhost:5176`\n- Backend API: `http:\u002F\u002Flocalhost:3005`\n\n**Servidores típicos (with_server.py):**\n```bash\npython .agents\u002Fskills\u002Fwebapp-testing\u002Fscripts\u002Fwith_server.py \\\n  --server \"node dashboard-qanat\u002Fbackend\u002Fserver.js\" --port 3005 \\\n  --server \"cd dashboard-qanat\u002Ffrontend && npm run dev\" --port 5176 \\\n  -- python seu_teste.py\n```\n\nComplementa [[skills\u002Fqa]] e [[skills\u002Fdiagnosing-bugs]] para bugs de UI.\n\n---\n\n# Web Application Testing\n\nTo test local web applications, write native Python Playwright scripts.\n\n**Helper Scripts Available**:\n- `scripts\u002Fwith_server.py` - Manages server lifecycle (supports multiple servers)\n\n**Always run scripts with `--help` first** to see usage. DO NOT read the source until you try running the script first and find that a customized solution is abslutely necessary. These scripts can be very large and thus pollute your context window. They exist to be called directly as black-box scripts rather than ingested into your context window.\n\n## Decision Tree: Choosing Your Approach\n\n```\nUser task → Is it static HTML?\n    ├─ Yes → Read HTML file directly to identify selectors\n    │         ├─ Success → Write Playwright script using selectors\n    │         └─ Fails\u002FIncomplete → Treat as dynamic (below)\n    │\n    └─ No (dynamic webapp) → Is the server already running?\n        ├─ No → Run: python scripts\u002Fwith_server.py --help\n        │        Then use the helper + write simplified Playwright script\n        │\n        └─ Yes → Reconnaissance-then-action:\n            1. Navigate and wait for networkidle\n            2. Take screenshot or inspect DOM\n            3. Identify selectors from rendered state\n            4. Execute actions with discovered selectors\n```\n\n## Example: Using with_server.py\n\nTo start a server, run `--help` first, then use the helper:\n\n**Single server:**\n```bash\npython scripts\u002Fwith_server.py --server \"npm run dev\" --port 5173 -- python your_automation.py\n```\n\n**Multiple servers (e.g., backend + frontend):**\n```bash\npython scripts\u002Fwith_server.py \\\n  --server \"cd backend && python server.py\" --port 3000 \\\n  --server \"cd frontend && npm run dev\" --port 5173 \\\n  -- python your_automation.py\n```\n\nTo create an automation script, include only Playwright logic (servers are managed automatically):\n```python\nfrom playwright.sync_api import sync_playwright\n\nwith sync_playwright() as p:\n    browser = p.chromium.launch(headless=True) # Always launch chromium in headless mode\n    page = browser.new_page()\n    page.goto('http:\u002F\u002Flocalhost:5173') # Server already running and ready\n    page.wait_for_load_state('networkidle') # CRITICAL: Wait for JS to execute\n    # ... your automation logic\n    browser.close()\n```\n\n## Reconnaissance-Then-Action Pattern\n\n1. **Inspect rendered DOM**:\n   ```python\n   page.screenshot(path='\u002Ftmp\u002Finspect.png', full_page=True)\n   content = page.content()\n   page.locator('button').all()\n   ```\n\n2. **Identify selectors** from inspection results\n\n3. **Execute actions** using discovered selectors\n\n## Common Pitfall\n\n❌ **Don't** inspect the DOM before waiting for `networkidle` on dynamic apps\n✅ **Do** wait for `page.wait_for_load_state('networkidle')` before inspection\n\n## Best Practices\n\n- **Use bundled scripts as black boxes** - To accomplish a task, consider whether one of the scripts available in `scripts\u002F` can help. These scripts handle common, complex workflows reliably without cluttering the context window. Use `--help` to see usage, then invoke directly. \n- Use `sync_playwright()` for synchronous scripts\n- Always close the browser when done\n- Use descriptive selectors: `text=`, `role=`, CSS selectors, or IDs\n- Add appropriate waits: `page.wait_for_selector()` or `page.wait_for_timeout()`\n\n## Reference Files\n\n- **examples\u002F** - Examples showing common patterns:\n  - `element_discovery.py` - Discovering buttons, links, and inputs on a page\n  - `static_html_automation.py` - Using file:\u002F\u002F URLs for local HTML\n  - `console_logging.py` - Capturing console logs during automation",{},"main","faa93d125da4a66aa892126931f498c2bc66f1b7",".agents\u002Fskills\u002Fwebapp-testing","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO","https:\u002F\u002Fgithub.com\u002Fleonardosalves","webdeveloper, enveloper, developer, webloper, neverloper.. etc. Russia envechenia, nasha dershava, russia liubimaia nasha estrana...","2026-08-06 23:31:35",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add leonardosalves\u002FBURACOS-NO-DESERTO --skill webapp-testing",{"tool":36,"command":37},"bunx","bunx skills add leonardosalves\u002FBURACOS-NO-DESERTO --skill webapp-testing",{"tool":39,"command":40},"pnpm","pnpm dlx skills add leonardosalves\u002FBURACOS-NO-DESERTO --skill webapp-testing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",true,[44,50,54,58,63],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"examples\u002Fconsole_logging.py","SCRIPT","脚本",1027,"https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fconsole_logging.py",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"examples\u002Felement_discovery.py",1463,"https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Felement_discovery.py",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"examples\u002Fstatic_html_automation.py",953,"https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002Fexamples\u002Fstatic_html_automation.py",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":15},"LICENSE.txt","LICENSE","许可证",11345,{"path":64,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":65,"sourceHtmlUrl":66},"scripts\u002Fwith_server.py",3693,"https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwebapp-testing\u002Fscripts\u002Fwith_server.py",[68,76,83,90,97],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":72,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M75ZP2SZB6PYMMGAT5XDW90B","verification-loop","A comprehensive verification system for Claude Code sessions.","MIT","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M75ZE1954M0W3351VYAN4T7H","skill-creator","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M75ZCSQKP6P6XBS76QBN5XP0","mcp-builder","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmcp-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fmcp-builder\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M75ZBGM5NHRS2YMZQ6WGH3YQ","frontend-design","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ffrontend-design\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":100,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M75ZAMPAFDMY3H77QPBR0PK4","claude-api","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fclaude-api\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fleonardosalves\u002FBURACOS-NO-DESERTO\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fclaude-api\u002FSKILL.md",[],[]]