Skip to content

Commit

Permalink
Dev: Sleep in test
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Feb 15, 2018
1 parent b2d6128 commit e7957d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/questions/MultipleChoiceMandatoryWithCommentTest.php
Expand Up @@ -145,6 +145,9 @@ public function testAbuseMandatory()

$web->submit();

// Sleep so modal has time to fade in.
sleep(1);

// Get alert box.
$modal = $web->findElement(WebDriverBy::id('bootstrap-alert-box-modal'));
$warningMessage = $modal->getText();
Expand Down

0 comments on commit e7957d5

Please sign in to comment.