Minor - Fix login/logout test

pull/2881/head
Julio Montoya 6 years ago
parent db9985cf81
commit fbcaf2e2c5
  1. 3
      tests/behat/features/bootstrap/FeatureContext.php

@ -116,8 +116,9 @@ class FeatureContext extends MinkContext
*/
public function iAmLoggedAs($username)
{
$this->visit('/public/logout');
$this->visit('/public/login');
$this->iAmOnHomepage();
$this->fillField('login__username', $username);
$this->fillField('login__password', $username);
$this->pressButton('_submit');

Loading…
Cancel
Save