Skip to content

Commit

Permalink
[BUGFIX] Avoid acceptance test race condition during login (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
lolli42 committed Dec 1, 2020
1 parent b7e9fe5 commit f866461
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Core/Acceptance/Helper/Login.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public function useExistingSession($role = '')
$wd->amOnPage('/typo3/index.php');

// Ensure main content frame is fully loaded, otherwise there are load-race-conditions
$wd->waitForElement('iframe[name="list_frame"]');
$wd->switchToIFrame('list_frame');
$wd->waitForElement(Locator::firstElement('div.module'));
// And switch back to main frame preparing a click to main module for the following main test case
Expand Down

0 comments on commit f866461

Please sign in to comment.