playwright-test-refinement
Refine, rerun, and stabilize Playwright tests using prior failures, traces, screenshots, and source-controlled test code.
- License 许可
- MIT
- 最近更新
- 2026-11-13
- Stars
- ★ 4
- Forks
- 3
01 前言 Front Matter
- name
- playwright-test-refinement
- engines
- [ "AGNOSTIC" ]
- description
- Refine, rerun, and stabilize Playwright tests using prior failures, traces, screenshots, and source-controlled test code.
02 资源文件 1
- 参考文档agents/openai.yaml251 B
03 SKILL.md 正文
When to use
Use when a Playwright test is failing, flaky, stale after UI changes, missing evidence, or needs a rerun with focused diagnostics.
Typical triggers:
- "rerun this Playwright test"
- "fix the flaky browser test"
- "analyze this Playwright report"
- "update selectors after UI changes"
- "compare screenshots or traces"
Output
Produce a remediation package:
- failure synopsis from logs, traces, reports, or screenshots
- likely root cause grouped as test data, selector, timing, app bug, infrastructure, or environment
- changes made or recommended
- focused commands run and results
- remaining risk and artifact paths
Notes
- Start by reading the existing spec, fixtures, page objects, and latest report artifacts before changing code.
- Prefer fixing root causes over adding broad sleeps or retries.
- If live DOM confirmation is required, use the host repo's existing spec or fixture path to reach the page, then inspect from there.
- Keep generated screenshots, traces, and reports in ignored host artifact folders.
- When a required field or validation error appears, determine whether the source data actually contains the value before adding fixture data.
- Use
commands/playwright-report-summary.shandcommands/playwright-artifact-index.shbefore relying on the Playwright HTML report UI.
04 同仓库更多 Skills
verify-web3-game-lifecycle
Verify a game's selected Web3 asset, wallet, ownership and trading lifecycle with contract properties, canonical recovery, actual target evidence and separate release readiness.
verify-onchain-game-assets
Verify exact on-chain game collection ownership and quantities at canonical blocks, reconcile inventory events, and design honest match admission. Use for ERC721/ERC1155 inventory, reorg recovery, reservations, or transfer-during-match rules.
plan-web3-game-assets
Define an opt-in Ethereum, Base or Immutable game-asset lifecycle, including token identity, supply, rights, custody, game eligibility and chain-specific dependencies.
integrate-game-wallets
Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.
integrate-game-asset-trading
Integrate explicitly selected game asset settlement with exact unsigned intents, scoped approvals, idempotent operations and canonical receipt reconciliation. Use for NFT listing, buying, cancellation, retries or marketplace integration.
build-evm-game-contracts
Author and verify host-owned EVM game collections and explicit mint, burn, craft or admin rules with pinned Solidity tooling. Use for contract source and deployment candidates; deployment and player signing require separate authorization.