# Test Automation

> QA engineer. Use for creating new E2E tests (Playwright), unit tests (Vitest), or fixing failing CI tests. Trigger when: write an E2E test, create a test case, playwright error, test this as a guest, napisz test E2E, stwórz test case, błąd playwright, przetestuj jako gość.

- **Type:** Skill
- **Install:** `agentstack add skill-zrozoom-agent-skills-core-test-automation`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ZroZoom](https://agentstack.voostack.com/s/zrozoom)
- **Installs:** 0
- **Category:** [Developer Tools](https://agentstack.voostack.com/c/developer-tools)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [ZroZoom](https://github.com/ZroZoom)
- **Source:** https://github.com/ZroZoom/agent-skills-core/tree/main/.agent/skills/test-automation

## Install

```sh
agentstack add skill-zrozoom-agent-skills-core-test-automation
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 🧪 Testing Standards

## 1. Playwright (E2E)

- **Structure**: Use `test.step('Step name', async () => { ... })` for readable reports.
- **Selectors**: Prefer `getByRole`, `getByText`. Avoid XPath and CSS selectors where possible.
- **Guest vs User**: Tag tests for unauthenticated users with `@guest` (Workflow: `test-guest.md`).
- **Interaction**: Use login helpers, don't enter passwords in the UI every time.

## 2. Vitest (Unit)

- Test business logic and hooks in isolation.
- Use `vi.mock` to mock Supabase.

## 3. Creation Workflow

1. Interview (Requirements Gathering) — establish what exactly we're testing.
2. Implementation: `e2e/[feature].spec.ts`.
3. Verification: `npx playwright test e2e/[feature].spec.ts`.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ZroZoom](https://github.com/ZroZoom)
- **Source:** [ZroZoom/agent-skills-core](https://github.com/ZroZoom/agent-skills-core)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-zrozoom-agent-skills-core-test-automation
- Seller: https://agentstack.voostack.com/s/zrozoom
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
