Skip to content

[M8-T01] Set up Playwright #33

@RichardHightower

Description

@RichardHightower

Task: M8-T01

Milestone: M8 - Playwright Tests (1 day)
Feature: RuleZ UI

Description

Set up Playwright for E2E testing.

Acceptance Criteria

  • Install Playwright: bun add -d @playwright/test
  • Create playwright.config.ts
  • Configure web server for testing
  • Add test fixtures

Configuration

export default defineConfig({
  testDir: './tests',
  webServer: {
    command: 'bun run dev',
    url: 'http://localhost:1420',
  },
  projects: [
    { name: 'chromium', use: devices['Desktop Chrome'] },
    { name: 'webkit', use: devices['Desktop Safari'] },
  ],
});

Dependencies

  • Depends on: M1-T01

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions