Skip to content
Agentmart
Submit a tool

api-testing

Write Playwright API tests and hybrid UI+API tests using the request fixture — REST/GraphQL calls, schema checks, auth tokens, network mocking with…

Skill by rinkucool007

IndexedMIT
Write a review

Chalk Labs

Need help deploying api-testing?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rinkucool007-api-testing

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Write Playwright API tests and hybrid UI+API tests using the request fixture — REST/GraphQL calls, schema checks, auth tokens, network mocking with page.route, and API seeding for UI tests. Use when the user wants API tests, contract checks, backend verification after a UI action, or to mock/stub network responses in Playwright.

Use cases: documents, design, backend, testing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/api-testing

What's inside

Skill name
api-testing
Description
Write Playwright API tests and hybrid UI+API tests using the request fixture — REST/GraphQL calls, schema checks, auth tokens, network mocking with page.route, and API seeding for UI tests. Use when the user wants API tests, contract checks, backend verification after a UI action, or to mock/stub network responses in Playwright.
License
MIT
Instructions
31 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# API & network testing with Playwright

1. If an OpenAPI/Swagger file or URL is given, read it and derive scenarios per endpoint: success, validation error (4xx), auth failure (401/403), not found, and one boundary case. Run through **pw-planner** for large specs.
2. Configure a dedicated project in `playwright.config`:
   ```ts
   { name: 'api', testMatch: /.*\.api\.spec\.ts/, use: { baseURL: process.env.API_URL,
     extraHTTPHeaders: { Authorization: `Bearer ${process.env.API_TOKEN}` } } }
   ```
3. Patterns:
```ts
test('TC-API-001 create order', { tag: ['@api'] }, async ({ request }) => {
  const res = await request.post('/orders', { data: { sku: 'A1', qty: 2 } });
  expect(res.status()).toBe(201);
  const body = await res.json();
  expect(body).toMatchObject({ sku: 'A1', qty: 2, status: 'PENDING' });
  expect(body.id).toEqual(expect.any(String));
});

// Hybrid: act in UI, verify backend
const respPromise = page.waitForResponse(r => r.url().includes('/api/orders') && r.request().method() === 'POST');
await page.getByRole('button', { name: 'Place order' }).click();
expect((await respPromise).status()).toBe(201);

// Mock
await page.route('**/api/recommendations', route => route.fulfill({ json: [] }));
await expect(page.getByText('No recommendations yet')).toBeVisible();
```
4. Schema validation: if the repo already uses `zod` or `ajv`, validate response bodies with it; otherwise use `toMatchObject` + `expect.any`.
5. Hand off to **pw-executor** with `--project=api`, heal with **pw-healer** as usual.

From rinkucool007/playwright-autopilot, MIT.

More from rinkucool007/playwright-autopilot

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 30, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from rinkucool007

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get api-testing running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying api-testing?

CallGet help
Cite this page

api-testing skill. Agent Mart. https://agentmart.dev/skills/rinkucool007-api-testing (last updated 2026-10-24)