site_option_configuration.feature 4.72 KB
Newer Older
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
@javascript @core @core_administration
Feature: Configuring the site options page
In order to change the configuration settings on the site options page
As an admin
So I can configure the site to the way the client wants

Scenario: Turning the switches on and off on the Site Options page (Bug 1431569)
 Given I log in as "admin" with password "Password1"
 And I go to "admin/site/options.php"
 # Verifying I'm on the right page
 And I should see "Here you can set some global options that will apply by default throughout the entire site."
 And I follow "Site settings"
 And I follow "User settings"
 And I follow "Search settings"
 And I follow "Group settings"
 And I follow "Institution settings"
 And I follow "Account settings"
 And I follow "Security settings"
 And I follow "Proxy settings"
 And I follow "Email settings"
 And I follow "Notification settings"
 And I follow "General settings"
 And I follow "Logging settings"
 # Checking that the default settings are correct
 And the following fields match these values:
| Drop-down navigation | 0 |
| Show homepage / dashboard information | 1 |
| Send weekly updates? | 0 |
| Users can choose page themes | 0 |
| Display remote avatars | 0 |
| Users can hide real names | 0 |
| Never display usernames | 0 |
| Show users in public search | 0 |
| Anonymous comments | 1 |
| Staff report access | 0 |
| Staff statistics access | 0 |
| Users can disable device detection | 0 |
| Require reason for masquerading | 0 |
| Notify users of masquerading | 0 |
| Show profile completion | 0 |
| Export to queue | 0 |
| Multiple journals | 0 |
| Allow group categories | 0 |
| Confirm registration | 0 |
| Users allowed multiple institutions | 1 |
| Auto-suspend expired institutions | 0 |
| Virus checking | 0 |
| Spamhaus URL blacklist | 0 |
| SURBL URL blacklist | 0 |
| Disable external resources in user HTML | 0 |
| reCAPTCHA on user registration form | 0 |
| Allow public pages | 1 |
| Allow public profiles | 1 |
| Allow anonymous pages | 0 |
| Sitemap | 1 |
| Portfolio search | 0 |
| Tag cloud | 1 |
| Maximum tags in cloud | 20 |
| Show online users | 1 |
| Registration agreement | 0 |
| License metadata | 0 |
| Custom licenses | 0 |
| Mobile uploads | 0 |
 # Changing all the switches from their default settings
 And I set the following fields to these values:
| Drop-down navigation | 1 |
| Show homepage / dashboard information | 0 |
| Send weekly updates? | 1 |
| Users can choose page themes | 1 |
| Display remote avatars | 1 |
| Users can hide real names | 1 |
| Never display usernames | 1 |
| Show users in public search | 1 |
| Anonymous comments | 0 |
| Staff report access | 1 |
| Staff statistics access | 1 |
| Users can disable device detection | 1 |
| Require reason for masquerading | 1 |
| Notify users of masquerading | 1 |
| Show profile completion | 1 |
| Export to queue | 1 |
| Multiple journals | 1 |
| Allow group categories | 1 |
| Confirm registration | 1 |
| Users allowed multiple institutions | 0 |
| Auto-suspend expired institutions | 1 |
| Virus checking | 1 |
| Spamhaus URL blacklist | 1 |
| SURBL URL blacklist | 1 |
| Disable external resources in user HTML | 1 |
| reCAPTCHA on user registration form | 1 |
| Allow public pages | 0 |
| Allow public profiles | 0 |
| Allow anonymous pages | 1 |
| Sitemap | 0 |
| Portfolio search | 1 |
| Tag cloud | 0 |
| Maximum tags in cloud | 20 |
| Show online users | 0 |
| Registration agreement | 1 |
| License metadata | 1 |
| Custom licenses | 1 |
| Mobile uploads | 1 |
# Setting the values back to their defaults
And I set the following fields to these values:
| Drop-down navigation | 0 |
| Show homepage / dashboard information | 1 |
| Send weekly updates? | 0 |
| Users can choose page themes | 0 |
| Display remote avatars | 0 |
| Users can hide real names | 0 |
| Never display usernames | 0 |
| Show users in public search | 0 |
| Anonymous comments | 1 |
| Staff report access | 0 |
| Staff statistics access | 0 |
| Users can disable device detection | 0 |
| Require reason for masquerading | 0 |
| Notify users of masquerading | 0 |
| Show profile completion | 0 |
| Export to queue | 0 |
| Multiple journals | 0 |
| Allow group categories | 0 |
| Confirm registration | 0 |
| Users allowed multiple institutions | 1 |
| Auto-suspend expired institutions | 0 |
| Virus checking | 0 |
| Spamhaus URL blacklist | 0 |
| SURBL URL blacklist | 0 |
| Disable external resources in user HTML | 0 |
| reCAPTCHA on user registration form | 0 |
| Allow public pages | 1 |
| Allow public profiles | 1 |
| Allow anonymous pages | 0 |
| Sitemap | 1 |
| Portfolio search | 0 |
| Tag cloud | 1 |
| Maximum tags in cloud | 20 |
| Show online users | 1 |
| Registration agreement | 0 |
| License metadata | 0 |
| Custom licenses | 0 |
| Mobile uploads | 0 |
And I press "Update site options"