Skip to content

Commit 998a916

Browse files
[test optimization] Do not retry if test isolation is not enabled in cypress (#6978)
1 parent c39e925 commit 998a916

File tree

8 files changed

+813
-34
lines changed

8 files changed

+813
-34
lines changed

integration-tests/cypress-esm-config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ async function runCypress () {
55
config: {
66
defaultCommandTimeout: 1000,
77
e2e: {
8+
testIsolation: process.env.CYPRESS_TEST_ISOLATION !== 'false',
89
setupNodeEvents (on, config) {
910
if (process.env.CYPRESS_ENABLE_INCOMPATIBLE_PLUGIN) {
1011
import('cypress-fail-fast/plugin').then(module => {

integration-tests/cypress.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const ddTracePlugin = require('dd-trace/ci/cypress/plugin')
88
module.exports = {
99
defaultCommandTimeout: 1000,
1010
e2e: {
11+
testIsolation: process.env.CYPRESS_TEST_ISOLATION !== 'false',
1112
setupNodeEvents (on, config) {
1213
if (process.env.CYPRESS_ENABLE_INCOMPATIBLE_PLUGIN) {
1314
cypressFailFast(on, config)

0 commit comments

Comments
 (0)