Skip to content

Commit

Permalink
fixup! Settings: new user row replaced by a modal
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
  • Loading branch information
danxuliu committed Mar 7, 2021
1 parent 220fd3f commit 66a1241
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
15 changes: 0 additions & 15 deletions tests/acceptance/features/bootstrap/UsersSettingsContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,6 @@ public static function rowForUser($user) {
describedAs("Row for user $user in Users Settings");
}

/**
* @return Locator
*/
public static function modal() {
return Locator::forThe()->css(".modal-mask")->
describedAs("Modal in Users Settings");
}

/**
* Warning: you need to watch out for the proper classes order
*
Expand Down Expand Up @@ -245,13 +237,6 @@ public function iCreateUserWithPassword($user, $password) {
$this->actor->find(self::createNewUserButton())->click();
}

/**
* @When I should not see the modal
*/
public function iShouldNotSeeTheModal() {
WaitFor::elementToBeEventuallyNotShown($this->actor, self::modal());
}

/**
* @When I set the :field for :user to :value
*/
Expand Down
1 change: 0 additions & 1 deletion tests/acceptance/features/header.feature
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Feature: header
And I click the New user button
And I see that the new user form is shown
And I create user user1 with password 123456acb
And I should not see the modal
And I see that the list of users contains the user user1
When I open the Contacts menu
Then I see that the Contacts menu is shown
Expand Down

0 comments on commit 66a1241

Please sign in to comment.