Go from npm install to full test automation platform visibility in under 5 minutes.
@playwright/test)Install the Euriqa Playwright reporter from npm:
npm install @euriqa/euriqa-playwrightAdd the Euriqa reporter to your playwright.config.ts:
import { defineConfig } from '@playwright/test';
export default defineConfig({
reporter: [
['@euriqa/euriqa-playwright', {
apiKey: process.env.EURIQA_API_KEY,
projectId: process.env.EURIQA_PROJECT_ID,
}],
],
});You can find your API key and project ID in the Euriqa dashboard under Project Settings. The onboarding wizard generates these for you when you create your first project.
Set your API key and project ID as environment variables:
export EURIQA_API_KEY=your-api-key
export EURIQA_PROJECT_ID=your-project-idIn CI environments, set these as secrets in your CI provider (e.g. GitHub Actions secrets, GitLab CI variables). Never commit API keys to source control.
Run your Playwright tests as usual. The Euriqa reporter will automatically send results to the dashboard:
npx playwright testThat's it. Your test results will appear in the Euriqa dashboard within seconds. Click into any test run to see full details: pass/fail counts, duration, branch, commit, and individual test results with step tracking.
For the best experience, we recommend enabling screenshot, video, and trace uploads. This gives you full artifact access in the dashboard, including the integrated Playwright trace viewer.
import { defineConfig } from '@playwright/test';
export default defineConfig({
use: {
screenshot: 'only-on-failure',
video: 'retain-on-failure',
trace: 'on-first-retry',
},
retries: 2,
reporter: [
['@euriqa/euriqa-playwright', {
apiKey: process.env.EURIQA_API_KEY,
projectId: process.env.EURIQA_PROJECT_ID,
uploadScreenshots: true,
uploadVideos: true,
uploadTraces: true,
}],
],
});