GitHub Actions

SentinelQA works through `@sentinelqa/playwright-reporter`, so your workflow only needs the right secrets. Keep your normal `npx playwright test` command.

Required secrets

  • `SENTINEL_TOKEN` (project ingest token)

What to do in CI

bash
SENTINEL_TOKEN=${{ secrets.SENTINEL_TOKEN }}

After that, keep your test step as `npx playwright test`. Sentinel uploads automatically after the run finishes.

Playwright config

Wrap your existing Playwright config once. Sentinel preserves explicit reporter paths if you already configured them.

ts
import { defineConfig } from "@playwright/test";
import { withSentinel } from "@sentinelqa/playwright-reporter";

export default withSentinel(
  defineConfig({
    reporter: [["line"]],
    outputDir: "test-results",
    use: {
      trace: "retain-on-failure",
      screenshot: "only-on-failure",
      video: "retain-on-failure"
    }
  }),
  {
    project: "my-app"
  }
);

Why this is easier

  • No separate upload command to keep in sync with every workflow.
  • No YAML-specific Sentinel step. The integration lives in `playwright.config.ts`.
  • Teams keep using the exact same `npx playwright test` command locally and in CI.
  • Sentinel reads the configured Playwright outputs and uploads automatically.