Skip to content

Commit 1d13417

Browse files
committed
build: fix e2e rate limit failures
* Since the `webdriver-manager` always tries to query the versions of all Selenium drivers, we currently run into rate limit failures that cause the E2E tests to not run properly.
1 parent 8ed0129 commit 1d13417

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/gulp/tasks/e2e.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ task(':watch:e2eapp', () => {
8484
});
8585

8686
/** Ensures that protractor and webdriver are set up to run. */
87-
task(':test:protractor:setup', execNodeTask('protractor', 'webdriver-manager', ['update']));
87+
task(':test:protractor:setup', execNodeTask(
88+
// Disable the Selenium standalone and gecko selenium drivers because otherwise the webdriver
89+
// manager queries GitHub for the latest version and will result in rate limit failures.
90+
'protractor', 'webdriver-manager', ['update', '--standalone', 'false', '--gecko', 'false']));
8891

8992
/** Runs protractor tests (assumes that server is already running. */
9093
task(':test:protractor', execNodeTask('protractor', [PROTRACTOR_CONFIG_PATH]));

0 commit comments

Comments
 (0)