ci(docs-infra): increase waiting time to reduce flakiness on CI (#31408)

Example failure: https://circleci.com/gh/angular/angular/381763

PR Close #31408
This commit is contained in:
George Kalpakas 2019-07-03 18:37:59 +03:00 committed by Jason Aden
parent 83b19bf1a2
commit 36d3062a42
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@ describe('Attribute directives', () => {
greenRb.click();
browser.actions().mouseMove(highlightedEle).perform();
// Wait for up to 2s for the background color to be updated,
// Wait for up to 4s for the background color to be updated,
// to account for slow environments (e.g. CI).
browser.wait(() => highlightedEle.getCssValue('background-color').then(c => c === lightGreen), 2000);
browser.wait(() => highlightedEle.getCssValue('background-color').then(c => c === lightGreen), 4000);
});
});