Skip to content

Commit 58e102c

Browse files
test: reduce cypress flakiness further (#6731)
1 parent d1ac821 commit 58e102c

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

integration-tests/cypress/cypress.spec.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ moduleTypes.forEach(({
14161416

14171417
const testSession = events.find(event => event.type === 'test_session_end').content
14181418
assert.notProperty(testSession.meta, TEST_EARLY_FLAKE_ENABLED)
1419-
})
1419+
}, 25000)
14201420

14211421
const specToRun = 'cypress/e2e/spec.cy.js'
14221422
childProcess = exec(
@@ -1433,6 +1433,10 @@ moduleTypes.forEach(({
14331433
}
14341434
)
14351435

1436+
// TODO: remove this once we have figured out flakiness
1437+
childProcess.stdout.pipe(process.stdout)
1438+
childProcess.stderr.pipe(process.stderr)
1439+
14361440
await Promise.all([
14371441
once(childProcess, 'exit'),
14381442
receiverPromise
@@ -1478,7 +1482,7 @@ moduleTypes.forEach(({
14781482

14791483
const testSession = events.find(event => event.type === 'test_session_end').content
14801484
assert.notProperty(testSession.meta, TEST_EARLY_FLAKE_ENABLED)
1481-
})
1485+
}, 25000)
14821486

14831487
const specToRun = 'cypress/e2e/spec.cy.js'
14841488

@@ -1495,6 +1499,10 @@ moduleTypes.forEach(({
14951499
}
14961500
)
14971501

1502+
// TODO: remove this once we have figured out flakiness
1503+
childProcess.stdout.pipe(process.stdout)
1504+
childProcess.stderr.pipe(process.stderr)
1505+
14981506
await Promise.all([
14991507
once(childProcess, 'exit'),
15001508
receiverPromise,

0 commit comments

Comments
 (0)