Skip to content

Quickstart: Playwright

1. Enable the Allure reporter

bash
npm install -D allure-playwright
ts
// playwright.config.ts
import { defineConfig } from '@playwright/test';

export default defineConfig({
    reporter: [['allure-playwright'], ['list']],
});

2. Run tests

bash
npx playwright test

Results land in ./allure-results/ — including the screenshots and traces Playwright captures.

3. Upload to Sulu

bash
suluctl upload --results ./allure-results

Or stream live: suluctl watch --results ./allure-results -- npx playwright test. Set SULU_URL / SULU_TOKEN / SULU_PROJECT_ID first (see suluctl).

Sulu Test Management System