test: rerun failed tests individually (#48387)

* test: rerun failed tests individually

* rerun test up to 3 times

* test: fixup navigationHistory flake

(cherry picked from commit fa6431c368)
This commit is contained in:
John Kleinschmidt
2025-09-27 13:32:10 -04:00
committed by GitHub
parent 3179f61bc1
commit 2982cd77f0
5 changed files with 182 additions and 14 deletions

View File

@@ -215,7 +215,7 @@ jobs:
export ELECTRON_FORCE_TEST_SUITE_EXIT="true"
fi
fi
node script/yarn test --runners=main --trace-uncaught --enable-logging --files $tests_files
node script/yarn test --runners=main --enableRerun=3 --trace-uncaught --enable-logging --files $tests_files
else
chown :builduser .. && chmod g+w ..
chown -R :builduser . && chmod -R g+w .