Home

Quick Start

Get your Playwright tests reporting to Exolar QA in under 5 minutes. Follow these steps to start seeing your test results in the dashboard.

Prerequisites

  • A Playwright test project
  • GitHub repository with Actions enabled
  • An Exolar QA account (sign up free at the dashboard)
1

Get Your API Key

Create an API key to authenticate your CI pipeline with Exolar QA.

  1. Go to Settings → API Keys
  2. Click "Create API Key"
  3. Give it a descriptive name (e.g., "GitHub Actions")
  4. Copy the key (it starts with exolar_)
Important

Save your API key securely. It will only be shown once. If you lose it, you'll need to create a new one.

2

Install the Reporter

Add the Exolar QA Playwright reporter to your project:

npm install -D @exolar-qa/playwright-reporter

Or with yarn/pnpm:

yarn add -D @exolar-qa/playwright-reporter
# or
pnpm add -D @exolar-qa/playwright-reporter
3

Configure Playwright

Add the reporter to your playwright.config.ts:

// playwright.config.ts
import { defineConfig } from "@playwright/test";
import { exolar } from "@exolar-qa/playwright-reporter";

export default defineConfig({
  reporter: [
    ["html"],
    [exolar, {
      apiKey: process.env.EXOLAR_API_KEY,
    }]
  ],

  use: {
    screenshot: "only-on-failure",
    video: "retain-on-failure",
    trace: "retain-on-failure",
  },
});
4

Add GitHub Secret

Add your API key to GitHub repository secrets:

  1. Go to your GitHub repository
  2. Click SettingsSecrets and variablesActions
  3. Click "New repository secret"
  4. Name: EXOLAR_API_KEY
  5. Value: Paste your API key from Step 1
5

Update GitHub Actions

Pass the API key to your test workflow:

# .github/workflows/playwright.yml
name: Playwright Tests

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: '20'
      - run: npm ci
      - run: npx playwright install --with-deps chromium
      - run: npx playwright test
        env:
          EXOLAR_API_KEY: ${{ secrets.EXOLAR_API_KEY }}

Done! Run Your Tests

Push a commit to trigger your workflow. After the tests run, you'll see results appear in your Exolar QA dashboard within seconds.

Verify it's working

Check your GitHub Actions logs for these messages:

[Exolar] Initialized - will send results to dashboard
[Exolar] Sending 15 results to dashboard...
[Exolar] Results sent successfully - execution_id: 123

Next Steps