Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Oct 27, 2023
1 parent ca3fd3f commit 1c647bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testcafe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion scripts/run-testcafe-with-retries.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c647bc

Please sign in to comment.