Minor - add waiting for test, bigger time for function

"waitVeryLongForThePageToBeLoaded"
pull/2874/head
Julio 7 years ago
parent 6394313331
commit a6286bdd0f
  1. 2
      tests/behat/features/bootstrap/FeatureContext.php
  2. 2
      tests/behat/features/toolExercise.feature

@ -393,7 +393,7 @@ class FeatureContext extends MinkContext
public function waitVeryLongForThePageToBeLoaded()
{
//$this->getSession()->wait(10000, "document.readyState === 'complete'");
$this->getSession()->wait(6000);
$this->getSession()->wait(8000);
}
/**

@ -373,8 +373,10 @@ Feature: Exercise tool
And I select "B" from "choice_id_7_2"
And I select "C" from "choice_id_7_3"
And I press "Next question"
And wait for the page to be loaded
And I check "1"
And I press "Next question"
And wait for the page to be loaded
And I press "End test"
Then I should see "Score for the test: 190 / 190"
And I should see the table "#category_results":

Loading…
Cancel
Save