File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,16 @@ Feature: Login user
22
33 Scenario : Login as admin user successfully
44 Given I am on "/login"
5- Then wait very long for the page to be loaded
5+ And wait very long for the page to be loaded
66 Then I should see "Sign in"
7- And I fill in "admin" for "login"
7+ When I fill in "admin" for "login"
88 And I fill in "admin" for "password"
9- Then I press "Sign in"
10- Then wait very long for the page to be loaded
9+ And I press "Sign in"
10+ And wait very long for the page to be loaded
1111 #Then I should see "MyCourses"
1212 Then I should not see an error
1313
1414 Scenario : Login as admin
1515 Given I am a platform administrator
16+ And wait very long for the page to be loaded
1617 Then I should not see an error
Original file line number Diff line number Diff line change @@ -464,7 +464,7 @@ public function waitForThePageToBeLoaded()
464464 }
465465
466466 /**
467- * @When /^wait very long for the page to be loaded$/
467+ * @When /^(?:|I ) wait very long for the page to be loaded$/
468468 */
469469 public function waitVeryLongForThePageToBeLoaded ()
470470 {
You can’t perform that action at this time.
0 commit comments