diff --git a/.github/workflows/testcafe.yml b/.github/workflows/testcafe.yml index 52bded862..7b03791ca 100644 --- a/.github/workflows/testcafe.yml +++ b/.github/workflows/testcafe.yml @@ -50,4 +50,4 @@ jobs: run: yarn build-rollup - name: Run ${{ matrix.name }} test - run: node scripts/run-testcafe-with-retries.mjs --browser "browserstack:${{ matrix.browserstack }}" --attempts 3 --debug-mode + run: node scripts/run-testcafe-with-retries.mjs --browser "browserstack:${{ matrix.browserstack }}" --attempts 3 diff --git a/scripts/run-testcafe-with-retries.mjs b/scripts/run-testcafe-with-retries.mjs index 83687fc75..4aa31bb51 100644 --- a/scripts/run-testcafe-with-retries.mjs +++ b/scripts/run-testcafe-with-retries.mjs @@ -14,7 +14,7 @@ const main = async () => { for (let i = 0; i < attempts; i++) { console.log(`Attempt ${i + 1} of a maximum of ${attempts} attempts`) - const result = spawnSync("yarn", ["testcafe", browser], {stdio: "inherit"}) + const result = spawnSync("yarn", ["testcafe", browser, '--debug-mode'], {stdio: "inherit"}) if (result.status === 0) { console.log("Test succeeded") return