Skip to content

Line breaks in the test output are missing in CI output in the Parallel mode #4396

@MurzNN

Description

@MurzNN

Description of the bug/issue

When I run Nightwatch in GitLab CI using the parallel mode - I see no line breaks in the output, here is an example:
Image

Here is an example of a job with badly formatted output: https://git.drupalcode.org/project/commercetools/-/jobs/4723196

Steps to reproduce

  1. Enable colors using "FORCE_COLOR=1" in the pipeline.
  2. Run the Nightwatch test in the parallel mode by adding these to the settings:
{
  "test_workers": {
    "enabled": true,
    "workers": "auto"
  }
}
  1. Run the parallel mode locally - you will see a well-formatted colored output.
    Image

  2. Run the same on the GitLab pipeline - you will see that the line breaks are missing, making the output not readable at all:
    Image

Sample test

Command to run

Verbose Output


Nightwatch Configuration

Nightwatch.js Version

3.12.1

Node Version

18.20.7

Browser

Chrome

Operating System

Linix (GitLab Runner)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions