autify-cli icon indicating copy to clipboard operation
autify-cli copied to clipboard

Reduce the amounts of log output when autify-cli runs a test execution.

Open hgsgtk opened this issue 2 years ago • 1 comments

When running a test that takes a few minutes, hundreds of lines of logs are output. We want to consider a way to reduce the amount of log output. For example, it might be a good idea to write a log entry when the status of a test execution changes.

hgsgtk avatar Feb 07 '23 06:02 hgsgtk

Another possibility is using AUTIFY_TEST_WAIT_INTERVAL_SECOND environment variable (or make it as a command line option) to extend the polling interval. Currently, it's 1 second by default to detect the end of test executions as quickly as possible. But CI workflow might be fine with 30 seconds or 1 minutes and the number of logs will be dropped, then.

https://github.com/autifyhq/autify-cli/blob/main/src/config.ts#L15

riywo avatar Feb 07 '23 17:02 riywo