E2e Test
技能 活跃Run Cypress E2E tests, analyze failures including screenshots, and stress test for flakiness
To automate the execution and analysis of end-to-end tests for Metabase, ensuring test stability and identifying potential issues efficiently.
功能
- Run Cypress E2E tests with arguments
- Analyze test failures including screenshots
- Stress test for test flakiness
- Manage Enterprise Edition tokens and OSS mode
- Handle test snapshot generation and usage
使用场景
- Running specific Cypress E2E test scenarios
- Debugging and understanding the root cause of test failures
- Verifying the stability of tests and detecting flaky behavior
- Setting up tests for new features or bug fixes
非目标
- Writing new Cypress tests
- Modifying the Metabase application code
- Debugging non-test related Metabase issues
- Managing the Metabase deployment itself
工作流
- Determine if enterprise tokens are required and set.
- Check for existing snapshots and decide whether to regenerate.
- Execute Cypress tests using `bun test-cypress` with appropriate arguments.
- Analyze test failures by reviewing screenshots and console output.
- For flakiness detection, run `e2e-stress-test`.
先决条件
- Metabase repository cloned locally
- Node.js and Bun installed
- Cypress installed within the Metabase project
- Appropriate Metabase enterprise tokens if running EE tests
Trust
- warning:Issues AttentionOpen issues (418) significantly outnumber closed issues (321) in the last 90 days, suggesting slow response times or a large backlog.
安装
npx skills add metabase/metabase通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。
质量评分
类似扩展
Telegram Crabbox E2e Proof
100Use when reviewing, reproducing, or proving OpenClaw Telegram behavior with a real Telegram user on Crabbox, including PR review workflows that need an agent-controlled Telegram Desktop recording, TDLib user-driver commands, Convex-leased credentials, WebVNC observation, and motion-trimmed artifacts.
Openclaw Testing
100Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path.
Agent Browser
100AI 代理的浏览器自动化 CLI。当用户需要与网站交互时使用,包括浏览页面、填写表单、点击按钮、截屏、提取数据、测试 Web 应用或自动化任何浏览器任务。触发条件包括请求“打开网站”、“填表”、“点击按钮”、“截屏”、“抓取页面数据”、“测试此 Web 应用”、“登录网站”、“自动化浏览器操作”或任何需要以编程方式进行 Web 交互的任务。
Playwright Best Practices
100用于编写 Playwright 测试、修复不稳定测试、调试失败、实现页面对象模型 (Page Object Model)、配置 CI/CD、优化性能、模拟 API、处理身份验证或 OAuth、测试可访问性 (axe-core)、文件上传/下载、日期/时间模拟、WebSockets、地理定位、权限、多标签/弹出窗口流程、移动/响应式布局、触摸手势、GraphQL、错误处理、离线模式、多人协作、第三方服务(付款、电子邮件验证)、控制台错误监控、全局设置/拆卸、测试注解(skip, fixme, slow)、测试标签(@smoke, @fast, @critical, 使用 --grep 过滤)、项目依赖项、安全测试(XSS, CSRF, 身份验证)、性能预算(Web Vitals, Lighthouse)、iframe、组件测试、canvas/WebGL、服务工作线程/PWA、测试覆盖率、i18n/本地化、Electron 应用或浏览器扩展测试。涵盖 E2E、组件、API、视觉、可访问性、安全、Electron 和扩展测试。
E2E Testing Patterns
98Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment. Use when implementing E2E tests, debugging flaky tests, or establishing testing standards.
E2e Test Create
98Analyze React component source code to understand UI structure, then generate idiomatic Cypress E2E tests following Metabase conventions. Falls back to Playwright MCP browser exploration only when code reading and screenshot debugging are insufficient.