Newer
Older

Rajab Natshah
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Feature: User Management - Standard User Management - Users with permission to access the Admin audit trails
As a logged in site admin or editor with permission to access the Admin audit trails
I will be able to trails of actions on the site by the same user and or users
So that only users with permission can see trails of audit changes on the website
@javascript @check @local @development @staging @production
Scenario: Check that user Number 1 can access the Admin audit trails
Given I am a logged in user with the "webmaster" user
When I go to "/admin/reports/audit-trail"
And I wait
Then I should see "Admin audit trails"
@javascript @check @local @development @staging @production
Scenario: Check that an anonymous users can not access the Admin audit trails
Given I am an anonymous user
When I go to "/admin/reports/audit-trail"
And I wait
Then I should not see "Admin audit trails"
And I should see "Access denied"
@javascript @check @local @development @staging @production
Scenario: Check that an authenticated user can not access the Admin audit trails
Given I am a logged in user with the "test_authenticated" user
When I go to "/admin/reports/audit-trail"
And I wait
Then I should not see "Admin audit trails"
And I should see "Access denied"
@javascript @check @local @development @staging @production
Scenario: Check that Editor users can access the Admin audit trails
Given I am a logged in user with the "test_editor" user
When I go to "/admin/reports/audit-trail"
And I wait
Then I should see "Admin audit trails"
@javascript @check @local @development @staging @production
Scenario: Check that Content Admin users can access the Admin audit trails
Given I am a logged in user with the "test_content_admin" user
When I go to "/admin/reports/audit-trail"
And I wait
Then I should see "Admin audit trails"
@javascript @check @local @development @staging @production
Scenario: Check that SEO Admin users can access the Admin audit trails
Given I am a logged in user with the "test_seo_admin" user
When I go to "/admin/reports/audit-trail"
And I wait
Then I should see "Admin audit trails"
@javascript @check @local @development @staging @production
Scenario: Check that Site Admin users can access the Admin audit trails
Given I am a logged in user with the "test_site_admin" user
When I go to "/admin/reports/audit-trail"
And I wait
Then I should see "Admin audit trails"