Skip to content

Commit

Permalink
Switch back to the parent page
Browse files Browse the repository at this point in the history
After clicking the install button, we need to switch back out of the
iframe to the parent page, or else the web driver will be looking for
the ‘Updated!’ message inside of the iframe, and so the tests will fail.

See #6
  • Loading branch information
JDGrimes committed Jul 26, 2016
1 parent 3a414ee commit 2269d5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/codeception/acceptance/update-wordpoints.Cept.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
$I->see( 'Commit Log' );
$I->see( 'Last Updated:' );
$I->click( 'Install Update Now' );
$I->switchToIFrame();
$I->waitForJqueryAjax();
$I->see( 'Updated!' );

Expand Down

0 comments on commit 2269d5b

Please sign in to comment.