Skip to content

Commit

Permalink
Dev: raised sleep() time in Testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
Trischi80 committed Apr 24, 2020
1 parent 0d1a3dc commit 0e33f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/backend/ChangeQuestionTemplateTest.php
Expand Up @@ -270,13 +270,13 @@ public function selectQuestionThemeForQuestion()
$saveButton = $web->findElement(WebDriverBy::cssSelector('#save-button'));
$saveButton->click();

$web->wait(10)->until(WebDriverExpectedCondition::visibilityOfElementLocated(WebDriverBy::id('uncollapsed-general-settings')));
$web->wait(15)->until(WebDriverExpectedCondition::visibilityOfElementLocated(WebDriverBy::id('uncollapsed-general-settings')));

// Change question template to default
$option = $web->findElement(WebDriverBy::cssSelector('#question_template option[value=core]'));
$option->click();

sleep(1);
sleep(3);

// Save Question
$saveButton = $web->findElement(WebDriverBy::cssSelector('#save-button'));
Expand Down

0 comments on commit 0e33f55

Please sign in to comment.