-
Notifications
You must be signed in to change notification settings - Fork 715
Expand file tree
/
Copy pathhelp.feature
More file actions
51 lines (43 loc) · 1.79 KB
/
help.feature
File metadata and controls
51 lines (43 loc) · 1.79 KB
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
@help
Feature: Help
In order to get help
As a humble user
I want to read help links
Scenario: clicking the help popup for moderated collection
Given I am logged in as "first_user"
When I go to the collections page
When I follow "New Collection"
And I open help modal "Collection moderated"
Then I should see "By default, collections are not moderated"
Scenario: view the help popup for chapter title
Given the following activated user exists
| login | password |
| epicauthor | password |
And basic tags
When I am logged in as "epicauthor"
And I go to epicauthor's user page
And I follow "New Work"
And I select "Not Rated" from "Rating"
And I check "No Archive Warnings Apply"
And I fill in "Fandoms" with "New Fandom"
And I fill in "Work Title" with "New Epic Work"
And I select "English" from "Choose a language"
And I fill in "content" with "Well, maybe not so epic."
And I press "Post"
And I follow "Add Chapter"
And I open help modal "Chapter title"
Then I should see "You can add a chapter title"
Scenario: Asked to log in if trying to access the first login page as guest
When I go to the first login help page
Then I should be on the login page
Given I am logged in
When I go to the first login help page
Then I should see "Here are some tips to help you get started"
Scenario: Preferences locale help is translated based on translated email setting
When I go to the help preferences locale page
Then I should see "Set preferred locale"
When I am logged in as "localiser"
And a locale with translated emails
And the user "localiser" enables translated emails
And I go to the help preferences locale page
Then I should see "Localised help page for test"