improve smart runner (#5942)

This commit is contained in:
Eugenio Romano
2020-07-31 23:39:12 +01:00
committed by GitHub
parent c027d0b82b
commit 0c712ae260
2 changed files with 5 additions and 0 deletions

1
.gitignore vendored
View File

@@ -23,3 +23,4 @@ e2e-output/
coverage/
/desktop.ini
out-tsc
!/.protractor-smartrunner/

View File

@@ -189,6 +189,10 @@ exports.config = {
},
async onPrepare() {
if (process.env.CI) {
SmartRunner.apply({repoHash: process.env.GIT_HASH || ''});
}
retry.onPrepare();
jasmine.DEFAULT_TIMEOUT_INTERVAL = TIMEOUT;