diff --git a/.gitignore b/.gitignore index 0866aee1de..cf9293e516 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ e2e-output/ coverage/ /desktop.ini out-tsc +!/.protractor-smartrunner/ diff --git a/e2e/protractor.conf.js b/e2e/protractor.conf.js index 91f90b4ac8..f4916f64b5 100644 --- a/e2e/protractor.conf.js +++ b/e2e/protractor.conf.js @@ -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;