鱼皮AI导航
鱼皮AI导航
  • 主页
  • 社区
  • AI工具
  • AI知识库
  • AI提示词
  • MCP
  • Skills
  • AI学习资源
  • AI资讯
  • GitHub开源
登录/注册

playwright-app-testing

通过浏览器自动化实现对 Expensify 应用的 UI 功能验证,支持在前端修改后主动校验效果或复现用户报告的界面问题,覆盖登录流程测试、表单交互及页面导航等场景,确保前端行为符合预期。

测试与安全
访问 GitHub
文档Skills.MD
name
playwright-app-testing
description
Test the Expensify App using Playwright browser automation. Use when user requests browser testing, after making frontend changes, or when debugging UI issues
alwaysApplyfalse

Playwright App Testing

When to Use This Skill

Use Playwright testing when:

  • User requests testing the App in a browser
  • Verifying fixes or improvements you've made to UI/frontend code
  • Debugging UI issues

Proactively use after making frontend changes to verify your work functions correctly.

Prerequisites Check

Before using Playwright tools, verify the dev server is running:

▼
bash
复制代码
ps aux | grep "webpack" | grep -v grep

If server not running: Inform user to start with cd App && npm run web

Dev Server Details

  • URL: https://dev.new.expensify.com:8082/
  • Location: HOST machine (not inside VM)
  • Start command: cd App && npm run web

Playwright Testing Workflow

  1. Verify server: Check webpack process is running
  2. Navigate: Use mcp__playwright__browser_navigate to https://dev.new.expensify.com:8082/
  3. Interact: Use Playwright MCP tools including:
    • Inspection: browser_snapshot, browser_take_screenshot, browser_console_messages
    • Interaction: browser_click, browser_type, browser_fill_form, browser_hover
    • Navigation: browser_navigate_back, browser_tabs, browser_wait_for
    • All other Playwright tools as needed

Dev Environment Sign-In

When signing in to dev environment:

  • Email: Generate random Gmail address (e.g., user+throwaway<random>@gmail.com)
  • Magic code: Always 000000 (six zeros)
  • Onboarding: Skip all optional steps

Example Usage

▼
text
复制代码
Scenario 1: User requests testing User: "Test sign in to app" → Use this skill to verify server and test sign-in flow Scenario 2: After making UI changes You: "I've updated the expense form validation" → Proactively use this skill to verify the changes work in browser Scenario 3: Investigating bug User: "The submit button doesn't work on this page" → Use this skill to reproduce and verify the issue

When NOT to Use This Skill

Skip Playwright for:

  • Backend service testing
  • Unit tests
  • Type checking
  • Mobile native app testing (requires emulators/simulators)
测试与安全

快捷安装

复制到终端去安装 Skill

npxskillsaddExpensify/App--skill"playwright-app-testing"
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
站长:程序员鱼皮 老鱼简历 商务合作 增值电信业务经营许可证
2026 鱼皮AI导航 | 沪ICP备19026706号-6
🔥热门工具
朱雀AI检测朱雀AI检测
朱雀AI检测助手朱雀AI检测助手
LovartLovart
老鱼简历老鱼简历
WritePass官网WritePass官网
面多多面多多
CursorCursor
星月写作星月写作
朱雀AI检测助手朱雀AI检测助手
零感AI零感AI
Skills 推荐
debug
debug 是一个系统化定位软件缺陷根因的技能,适用于用户报告 'fix'、'broken'、'error' 等问题或测试意外失败时。它通过可验证的假设、最小复现、因果链分析和回归测试,确保在修复前准确定位根本原因。
webapp-testing
提供本地 Web 应用的端到端测试能力,支持页面导航、元素交互、表单填写、动态等待、断言验证、截图捕获、浏览器日志收集及网络请求拦截,适用于前端功能验证与 UI 行为调试。
tdd-process
严格遵循测试驱动开发的红绿重构循环,强制执行先写测试、失败要有意义、实现最小化、验证全覆盖的全流程,确保每次代码变更都由可执行的测试用例驱动并经编译、检查与全量验证确认。
smoke-test
自动化创建 Mastra 项目并完成 Studio 全流程冒烟测试,涵盖项目初始化、环境配置、本地服务启动及 Chrome 浏览器中对 Agents、Tools、Workflows、Scorers 等核心模块的功能验证与截图记录。
property-based-testing
通过生成随机输入验证代码在各类边界条件下的行为一致性,适用于序列化、解析、归一化及纯函数等场景,能有效发现隐含缺陷并提升测试覆盖率,尤其适合需要高可靠性的算法与智能合约验证。