Skip to content

Commit e25b8e9

Browse files
committed
Merge branch 'master' of github.com:chamilo/chamilo-lms
2 parents e927cf1 + 46a0224 commit e25b8e9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tests/behat/features/actionUserLogin.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ 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
56
Then I should see "Sign in"
67
And I fill in "admin" for "login"
78
And I fill in "admin" for "password"

tests/behat/features/bootstrap/FeatureContext.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public function iAmLoggedAs($username)
121121
{
122122
//$this->visit('/logout');
123123
$this->visit('/login');
124+
$this->waitForThePageToBeLoaded();
124125
$this->fillField('login', $username);
125126
$this->fillField('password', $username);
126127
$this->pressButton('Sign in');

0 commit comments

Comments
 (0)