web-test

Execute Playwright web tests from ./tests and generate structured reports.

1|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/automata-network/agent-skills --skill web-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-test
Source: https://github.com/automata-network/agent-skills/tree/main/web-test
Command: npx skills add https://github.com/automata-network/agent-skills --skill web-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill orchestrates end-to-end web tests by reading test cases from the ./tests directory, performing cleanup, wallet setup (when needed), wallet connect, executing test steps, and generating a test report.

Core Features & Use Cases

  • Test lifecycle automation: Cleanup, wallet orchestration (optional), test execution, and reporting in a repeatable flow.
  • Config-driven runs: Reads tests/config.yaml and tests/test-cases.yaml to determine what to run and in what order.
  • Wallet integration for Web3: Automatically triggers wallet-setup and wallet-connect steps when web3.enabled is true.

Quick Start

  1. Ensure tests/config.yaml and tests/test-cases.yaml exist in your project.
  2. Run:
  • SKILL_DIR="<path-to-this-skill>"
  • node $SKILL_DIR/scripts/test-helper.js help
  1. Then run tests as described in the workflow, and review the generated report.

Frequently Asked Questions about web-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate web tests with Playwright and generate reports?

Automated web testing with Playwright executes test cases from persistent files, performing cleanup and wallet setup when configured, then outputs structured test reports with screenshots. Set up tests/config.yaml and tests/test-cases.yaml, then run the test-helper script to orchestrate the full lifecycle in defined order.

Can I run web3 wallet tests automatically with Playwright?

Web3 wallet testing is supported through config-driven automation. When web3.enabled is true in config.yaml, the Skill automatically triggers wallet setup and connect steps at startup before executing your test cases, then generates a report.

How do I set up test cases and configuration for Playwright test automation?

Test automation requires two YAML files in the ./tests directory: config.yaml (which controls wallet integration and execution settings) and test-cases.yaml (which defines test steps and execution order). The Skill reads these files and executes all tests non-skippably in strict sequence.

What happens if a test fails during automated execution?

Test execution enforces timeout limits and continues through all cases in defined order regardless of failures. The generated test report captures results, and screenshots are retained as artifacts, allowing you to diagnose failures after the full suite completes.

Do I need to manually set up wallets before running web3 tests?

No. When web3.enabled is configured in config.yaml, wallet setup and connection are automated at startup as part of the test lifecycle. Manual wallet initialization is not required; the Skill handles orchestration before test execution begins.