Skip to content

Commit 2505ac7

Browse files
authored
fix: flaky UTs (#5221)
1 parent 50eb7f4 commit 2505ac7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/command/workers/runTests.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ if (poolMode && !options.debug) {
2929
// In pool mode without debug, suppress only result summaries and failures, but allow Scenario Steps
3030
const originalWrite = process.stdout.write
3131
process.stdout.write = string => {
32-
// Always allow Scenario Steps output
33-
if (string.includes('Scenario Steps:')) {
32+
// Always allow Scenario Steps output (including the circle symbol)
33+
if (string.includes('Scenario Steps:') || string.includes('◯ Scenario Steps:')) {
3434
return originalWrite.call(process.stdout, string)
3535
}
3636
if (string.includes(' FAIL |') || string.includes(' OK |') || string.includes('-- FAILURES:') || string.includes('AssertionError:') || string.includes('◯ File:')) {

0 commit comments

Comments
 (0)