Skip to content

No colors in GitLab CI job output by default #4401

@MurzNN

Description

@MurzNN

Description of the bug/issue

When I run Nightwatch.js in GitLab CI, the colored output disappears. But it works when I run the same tests locally.

Steps to reproduce

  1. Run a Nightwatch test in GitLab CI.
  2. See no colors.

Nightwatch.js Version

3.12.1

Node Version

22.0

Browser

GitLab CI

Operating System

Linux

Additional Information

Found a working workaround by setting the FORCE_COLOR=1 environment variable. But it's better to make this work by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions