Testcafe: Allow to disable hipster spinning wheel on command line

Created on 7 Jul 2017  路  2Comments  路  Source: DevExpress/testcafe

Are you requesting a feature or reporting a bug?

Feature

What is the current behavior?

Running testcafe on the command line outputs a hipster version of an ASCII spinning wheel which under certain circumstances litters e.g. Jenkins output logs with megabytes of useless lines.

What is the expected behavior?

Running testcafe on the command line with a certain parameter no longer outputs a hipster version of an ASCII spinning wheel which under certain circumstances litters e.g. Jenkins output logs with megabytes of useless lines.

Specify your

  • operating system: Linux
  • testcafe version: 0.16.2
  • node.js version: 7.10.0
Auto-locked question

Most helpful comment

Hello @manuelkiessling, currently we use is-ci package to disable CLI animation on CI systems like Jenkins. Maybe it's a bug in that package. BTW, you can declare/export the CI environment variable, and the hipster wheel must go away. 馃槈 Examples:

for bash:

CI=1 testcafe ...

cmd

set CI=1 
testcafe ...

powershell

$env:CI=1; node .\bin\testcafe.js chrome .\examples\basic\test.js

All 2 comments

Hello @manuelkiessling, currently we use is-ci package to disable CLI animation on CI systems like Jenkins. Maybe it's a bug in that package. BTW, you can declare/export the CI environment variable, and the hipster wheel must go away. 馃槈 Examples:

for bash:

CI=1 testcafe ...

cmd

set CI=1 
testcafe ...

powershell

$env:CI=1; node .\bin\testcafe.js chrome .\examples\basic\test.js

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

Was this page helpful?
0 / 5 - 0 ratings