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

Commit 701ed5f

Browse files
juliemrIgorMinar
authored andcommitted
tests(docsAppE2E): fix race condition flake with switching to new frame
Closes #7569
1 parent fa6e411 commit 701ed5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/e2e/docsAppE2E.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ describe('docs.angularjs.org', function () {
2929
it('should show the functioning input directive example', function () {
3030
browser.get('index-debug.html#!/api/ng/directive/input');
3131

32-
//Wait for animation
33-
browser.sleep(500);
32+
// Ensure that the page is loaded before trying to switch frames.
33+
browser.waitForAngular();
3434

3535
browser.switchTo().frame('example-input-directive');
3636

0 commit comments

Comments
 (0)