test-automation
Skill1 starsChanged 54 days agoMITView on GitHub
Use when writing, structuring, or debugging automated tests — Playwright/Selenium E2E suites, pytest test design, page object models, CI test integration, and deciding what's worth automating.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- AxlZero21/Skillstheir own version, first seen Nov 8, 2026
- upex-galaxy/agentic-qa-boilerplatetheir own version, first seen Nov 7, 2026
- Marina-Gajego/qa-skillstheir own version, first seen Nov 1, 2026
- mejbaurbahar/faguntheir own version, first seen Jul 5, 2026
- StephanSergio/vibe-stacktheir own version, first seen Jun 20, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- upex-galaxy/agentic-qa-boilerplate★ 26same name
- Marina-Gajego/qa-skills★ 5same name
- AxlZero21/Skills★ 1same name
- mejbaurbahar/fagun★ 1same name
- StephanSergio/vibe-stack★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository98 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- 42crunch-api-security-testingSkill
- a-b-testingSkill
- acceptance-testingSkill
- accessibility-testingSkill
- ai-agent-evaluationSkill
- ai-code-securitySkill
- ai-ml-testingSkill
- analytics-tracking-testingSkill
- api-testingSkill
- authn-authz-testingSkill
- autonomous-qa-orchestrationSkill
- bdd-gherkin-testingSkill
- blockchain-smart-contract-testingSkill
- bug-reportingSkill
- chaos-resilience-testingSkill
- chatbot-voice-agent-testingSkill
- cicd-testingSkill
- cli-testingSkill
- cloud-infrastructure-testingSkill
- code-coverage-analysisSkill
- compatibility-testingSkill
- compliance-testingSkill
- concurrency-race-condition-testingSkill
- configuration-feature-flag-testingSkill
- contract-testingSkill
- cross-browser-testingSkill
- database-testingSkill
- data-migration-testingSkill
- data-pipeline-etl-testingSkill
- date-time-timezone-testingSkill
- desktop-app-testingSkill
- disaster-recovery-backup-testingSkill
- e2e-testingSkill
- email-notification-testingSkill
- event-driven-messaging-testingSkill
- exploratory-testingSkill
- flaky-test-managementSkill
- functional-testingSkill
- fuzz-testingSkill
- game-testingSkill
- graphql-testingSkill
- iac-container-security-testingSkill
- installation-upgrade-testingSkill
- integration-testingSkill
- iot-embedded-testingSkill
- llm-security-auditSkill
- llm-testingSkill
- localization-testingSkill
- manual-testingSkill
- mcp-testingSkill
- memory-leak-resource-testingSkill
- microservices-testingSkill
- mobile-testingSkill
- mutation-testingSkill
- observability-testingSkill
- payment-ecommerce-testingSkill
- performance-testingSkill
- production-monitoring-synthetic-testingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 2 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Put each check at the lowest level that can catch the bug (test-architect): many unit, a healthy layer of API/integration, few UI journeys.
- Distinctive: line 34
Prefer the language your developers already use so they can own and fix the tests.
- Very specific: line 38
Waits: never hard sleep(); use auto-wait and explicit conditions (expect(locator).toBeVisible(), wait_for_selector, poll-until with …
- Distinctive: line 41
Assert outcomes,: not implementation or intermediate loading states.
- Very specific: line 75
Do not retry-until-green. Reproduce (--repeat-each), classify the cause, fix the root cause, and quarantine with an owner and deadline …
- Very specific: line 78
Run tiers: smoke on every PR (< 5 min), targeted regression per PR, full nightly (regression-testing, cicd-testing).
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test Automation
Automation is software: it needs design, review, and maintenance. Automate to get fast, trustworthy feedback, not to hit a count.
What to automate (and what not)
| Automate | Delay or avoid |
| Repeated, regression-prone flows (login, checkout, core CRUD) | One-off exploratory checks |
| Release gates (smoke) | Highly visual/subjective polish (use screenshots + review, visual-testing) |
| API/contract checks: cheap, fast, high signal | Flows still changing weekly (maintenance drag) |
| Data-heavy rule matrices (parametrized) | Anything you cannot make deterministic yet |
Put each check at the lowest level that can catch the bug (test-architect): many unit, a healthy layer of API/integration, few UI journeys. |
Choose the framework
| Need | Good options |
| Modern web E2E | Playwright (multi-browser, auto-wait, tracing), Cypress |
| Legacy/grid/enterprise | Selenium WebDriver (+ Selenide, WebDriverIO) |
| API | pytest + requests/httpx, REST Assured, Karate, Hurl, supertest |
| Unit | pytest, Jest/Vitest, JUnit 5, Go testing, xUnit/NUnit |
| Mobile | Appium, Maestro, Detox, XCUITest, Espresso (mobile-testing) |
| BDD | Cucumber, Behave, Reqnroll (bdd-gherkin-testing) |
| Visual | Playwright screenshots, Percy, Chromatic, Applitools |
| Prefer the language your developers already use so they can own and fix the tests. |
Design rules that keep suites healthy
- Locators: role/label/text/test-id over CSS/XPath; add
data-testidif you own the app. - Waits: never hard
sleep(); use auto-wait and explicit conditions (expect(locator).toBeVisible(),wait_for_selector, poll-until with timeout). - Isolation: each test creates its own data (API/fixtures), never depends on order or another test's leftovers; unique IDs per worker.
- Fast login: authenticate once via API and reuse storage state instead of driving the login UI every test.
- Assert outcomes, not implementation or intermediate loading states; one behavior per test; meaningful names.
- Page Object / component objects / fixtures: encapsulate locators and actions so tests read like user stories; keep assertions in tests, not page objects.
- Test data: builders/factories, not shared static rows (
test-data-engineering). Reset state cheaply (transaction rollback, DB template, API teardown). - Determinism: freeze time and seed randomness (
date-time-timezone-testing); stub 3rd parties (test-environment-management). - Independent of environment: base URL and credentials via env vars/secret store, never hard-coded.
Examples
// Playwright: fixture + role locators + web-first assertions
import { test as base, expect } from '@playwright/test';
const test = base.extend<{ cart: CartPage }>({ cart: async ({ page }, use) => { await use(new CartPage(page)); } });
test('applies coupon once', async ({ page, cart }) => {
await cart.open(); await cart.applyCoupon('WELCOME10');
await expect(page.getByRole('status')).toHaveText(/10% off applied/);
await expect(cart.total).toHaveText('$90.00');
});# pytest: fixtures + parametrization + markers
@pytest.fixture
def api(base_url): return Api(base_url, token=make_token(role="user"))
@pytest.mark.parametrize("qty,ok", [(0, False), (1, True), (99, True), (100, False)])
@pytest.mark.api
def test_quantity_limits(api, qty, ok):
assert (api.add_to_cart("A-1", qty).status_code == 200) == okpytest -m "not e2e" -x --tb=short -q # fast tier while developing
pytest -n auto --maxfail=5 -ra # parallel CI run (pytest-xdist)
npx playwright test --workers=4 --retries=1 --trace=on-first-retryFlaky tests are bugs
Do not retry-until-green. Reproduce (--repeat-each), classify the cause, fix the root cause, and quarantine with an owner and deadline (flaky-test-management). A real race condition in the app is a product bug: report it.
CI integration
Run tiers: smoke on every PR (< 5 min), targeted regression per PR, full nightly (regression-testing, cicd-testing). Shard and parallelize; publish JUnit/HTML reports, screenshots, traces and videos on failure; fail the build on real failures, not on infrastructure noise. Track duration and flake rate (test-metrics-reporting).
Maintainability checklist
Naming conventions · code review for tests · no copy-paste (extract helpers) · delete obsolete tests · lint tests (no .only, no sleep) · dependency updates automated · README for running locally in one command.
Related
e2e-testing, unit-testing, api-testing, flaky-test-management, cicd-testing, test-environment-management
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

