skills/smithery.ai/playwright-test

playwright-test

SKILL.md

Playwright Test Skill

When writing end-to-end tests with Playwright:

File Location

  • Place all E2E tests in the e2e directory.
  • Name files with the .spec.ts suffix (e.g., e2e/login.spec.ts).

Test Structure

import { test, expect } from '@playwright/test';

test.describe('Feature Name', () => {
  test.beforeEach(async ({ page }) => {
    // Setup (e.g., login or navigation)
  });
Installs
2
First Seen
Mar 26, 2026