Skip to content

Docker: Colors in output are disabled in mode 'multiple-run' in dockerized environment #1876

@mirao

Description

@mirao

What are you trying to achieve?

I would like to have colors in CodeceptJS's output when running tests in multiple-run mode from docker-compose.
It works well in run mode when passing option --colors:

image

What do you get instead?

In run-multiple mode such option doesn't work (unknown option --colors) and if I run the test without it, I get output without colors:
image

Note that the issue exists in dockerized environment only. In non-dockerized environment colors work even without forced --colors.

Details

  • CodeceptJS version: 2.1.4
  • NodeJS Version: 10.16
  • Operating System: Ubuntu 19.04
  • GNOME Terminal 3.32.1
  • docker-compose 1.24.1

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