Skip to content
Snippets Groups Projects
Commit cb2d892a authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3251124: Allow the "Site admin" user role with permission to flood unblock users

parent e8728b59
No related branches found
No related tags found
No related merge requests found
......@@ -40,3 +40,21 @@ So that they will be disabled and not be able to use the site.
And I press "Log in"
And I wait
Then I should see "The username test_authenticated has not been activated or is blocked."
@javascript @local @development @staging @production
Scenario: Check flood control default settings
Given I am a logged in user with the "webmaster" user
When I go to "/admin/config/people/flood-control"
And I wait
Then I should see "Flood control"
And I should see "50" in the "#edit-ip-limit" element
And I should see "1 hour" in the "#edit-ip-window" element
And I should see "5" in the "#edit-user-limit" element
And I should see "6 hours" in the "#edit-user-window" element
@javascript @local @development @staging @production
Scenario: Check that the Site Admin have access to the flood unblock page
Given I am a logged in user with the "test_site_admin" user
When I go to "/admin/people/flood-unblock"
And I wait
Then I should see "Flood Unblock"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment