Minor - Add login behat tests

pull/3432/head
Julio Montoya 5 years ago
parent b4bcabdea8
commit 02007dc3dc
  1. 4
      tests/behat/features/actionUserLogin.feature
  2. 2
      tests/behat/features/bootstrap/FeatureContext.php

@ -8,9 +8,9 @@ Feature: Login user
Then I press "Login"
Then wait very long for the page to be loaded
Then I should see "MyCourses"
Then I should not see an error
#Then I should not see an error
Scenario: Login as admin
Given I am a platform administrator
Then I should not see an error
Then I should see "MyCourses"
#Then I should see "MyCourses"

@ -125,7 +125,7 @@ class FeatureContext extends MinkContext
$this->fillField('password', $username);
$this->pressButton('Login');
$this->waitForThePageToBeLoaded();
$this->waitForThePageToBeLoaded();
//$this->waitForThePageToBeLoaded();
}
/**

Loading…
Cancel
Save