Skip to content

Commit

Permalink
Dev: More sleep before jumbotron
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Nov 12, 2019
1 parent d8c4ea8 commit ab6c819
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestBaseClassWeb.php
Expand Up @@ -163,6 +163,7 @@ public static function adminLogin($userName, $password)
$submit = self::$webDriver->findElement(WebDriverBy::name('login_submit'));
$submit->click();
try {
sleep(1);
self::$webDriver->wait(5)->until(
WebDriverExpectedCondition::presenceOfAllElementsLocatedBy(
WebDriverBy::id('welcome-jumbotron')
Expand Down

0 comments on commit ab6c819

Please sign in to comment.