Skip to content

E2E: Add GitHub Actions reporter for coloured test results in CI logs #7266

@phyllis-sy-wu

Description

@phyllis-sy-wu

Problem/Feature

In CI logs, the Shopify CLI auth output shows green checkmarks (✔ Logged in.) because it uses ANSI color codes. But Playwright's test results show plain white checkmarks (✓ 1 tests/app-deploy.spec.ts...) because the default list reporter doesn't emit ANSI colors in CI. We want the checkmarks here to also be green for better UX.

Image

Proposed Solution

Add ['github'] to the reporter list in packages/e2e/playwright.config.ts. The built-in github reporter emits ::notice / ::error annotations that GitHub Actions renders with proper coloring and links to test files.

reporter: [['list'], ['github']]

One-line config change, no test code changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions