fix typos and unnecessary white spaces
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
b6b19346b4
commit
cfa5eea902
|
@ -18,13 +18,13 @@ Feature: access-levels
|
||||||
And I see that the "Help" item in the Settings menu is shown
|
And I see that the "Help" item in the Settings menu is shown
|
||||||
And I see that the "Log out" item in the Settings menu is shown
|
And I see that the "Log out" item in the Settings menu is shown
|
||||||
|
|
||||||
Scenario: regular users cannot see amdin-level items on the Settings page
|
Scenario: regular users cannot see admin-level items on the Settings page
|
||||||
Given I am logged in
|
Given I am logged in
|
||||||
When I visit the settings page
|
When I visit the settings page
|
||||||
Then I see that the "Personal" settings panel is shown
|
Then I see that the "Personal" settings panel is shown
|
||||||
And I see that the "Administration" settings panel is not shown
|
And I see that the "Administration" settings panel is not shown
|
||||||
|
|
||||||
Scenario: admin users can see amdin-level items on the Settings page
|
Scenario: admin users can see admin-level items on the Settings page
|
||||||
Given I am logged in as the admin
|
Given I am logged in as the admin
|
||||||
When I visit the settings page
|
When I visit the settings page
|
||||||
Then I see that the "Personal" settings panel is shown
|
Then I see that the "Personal" settings panel is shown
|
||||||
|
|
|
@ -82,7 +82,6 @@ class SettingsMenuContext implements Context, ActorAwareInterface {
|
||||||
$this->actor->find(self::settingsMenuButton(), 10)->click();
|
$this->actor->find(self::settingsMenuButton(), 10)->click();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @When I open the User settings
|
* @When I open the User settings
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue