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

tests(docsAppE2E): fix race condition flake with switching to new frame #7569

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/e2e/docsAppE2E.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ describe('docs.angularjs.org', function () {
it('should show the functioning input directive example', function () {
browser.get('index-debug.html#!/api/ng/directive/input');

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

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

Expand Down