Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

Commit 45b8326

Browse files
authored
fix(tests): Sleep a small amount before closing the alert. (#3933)
Temporary workaround for chromedriver 1500. See #3935
1 parent b7681c9 commit 45b8326

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spec/basic/expected_conditions_spec.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ describe('expected conditions', function() {
189189
alertButton.click();
190190
browser2.wait(EC2.alertIsPresent(), 1000);
191191

192+
// TODO: Remove sleep when this is fixed:
193+
// https://bugs.chromium.org/p/chromedriver/issues/detail?id=1500
194+
browser2.sleep(250);
192195
browser2.switchTo().alert().accept();
193196
});
194197
});

0 commit comments

Comments
 (0)