TestDino

Integrations / CircleCI Orb

CircleCI Orb for Playwright Test Reporting

CircleCI Orb

Overview

The testdino/testdino CircleCI orb provides a single command, upload_report, that installs the TestDino CLI via npx and uploads your Playwright reports in one step. No custom scripts or manual CLI installation needed.

Configure which artifacts to include: JSON results are always uploaded. Toggle on HTML reports, screenshots, videos, traces, or file attachments independently. A full bundle option uploads everything at once.

Key features

  • Single orb command with no manual CLI installation
  • Configurable uploads: JSON, HTML, screenshots, videos, traces, files
  • Full bundle option uploads everything at once
  • Custom JSON and HTML report paths supported
  • Works with CircleCI Cloud and server installations

How it works

Add the orb

Reference testdino/[email protected] in the orbs section of your .circleci/config.yml file.

Set your API token

Add your TestDino API token as a CircleCI environment variable named TESTDINO_TOKEN in your project or context settings.

Call upload_report

Add testdino/upload_report as a step after your Playwright test run. Point it at your report directory and your results upload automatically.

Basic usage

yaml
Copy
version: 2.1

orbs:
  testdino: testdino/[email protected]

jobs:
  run-tests:
    docker:
      - image: mcr.microsoft.com/playwright:v1.40.0-focal
    steps:
      - checkout
      - run:
          name: Install dependencies
          command: npm ci
      - run:
          name: Run Playwright tests
          command: npx playwright test
      - testdino/upload_report:
          report_directory: ./playwright-report
          token: TESTDINO_TOKEN
          upload_html: true
          upload_traces: true

workflows:
  test-and-upload:
    jobs:
      - run-tests

Upload options

The report_directory parameter defaults to ./playwright-report. Toggle upload_html, upload_images, upload_videos, upload_traces, and upload_files individually to control which artifacts are included. Set upload_full_json to true to upload everything in one go.

The token parameter accepts either a direct token string starting with trx_ or an environment variable name. If you store your token as TESTDINO_TOKEN, pass token: TESTDINO_TOKEN and the orb resolves it automatically.

See full setup steps in the docs

CircleCI Orb integration

By TestDino

Upload your first report

FAQs

Yes. The upload_report command installs the CLI via npx before uploading. Node.js must be available in your executor. The default cimg/node executor includes it.