AGENT SKILL

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

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.sh and commands/playwright-artifact-index.sh before relying on the Playwright HTML report UI.

04 同仓库更多 Skills

TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

integrate-game-wallets

Integrate explicit player-wallet connection, scoped SIWE authentication, authority invalidation and reviewed target-specific handoff without application-held player keys.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4
TimothyMeadows
TimothyMeadows/Hephaera

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.

★ 4