-
Notifications
You must be signed in to change notification settings - Fork 16
/
editor_groups.yml
67 lines (67 loc) · 2.75 KB
/
editor_groups.yml
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
# ~~ EditorGroupsSearch:FunctionalTest -> EditorGroupsSearch:Feature ~~
suite: Administrative Search
testset: Editor Groups
tests:
- title: Test Editor Groups Search Interactions
context:
role: admin
steps:
- step: Go to the DOAJ editor groups search at /admin/editor_groups
results:
- All available records are found, and the first page of results is shown
- There are ten editor name keywords shown in the single facet on the left.
- step: Go through each sort option in the "sort by" pull-down
- step: In each case, click the "sort by" button to reverse the direction of sort
results:
- The current search results are ordered correctly according to the selected sort
field and the selected sort direction
- step: Enter a search term in the search box
results:
- All the results for the selected constraints are found, and the first page is
shown
- Your search text remains in the search box
- step: Go through each field constraint under the "search all" pull-down. You
may change your search text if no results are found, to demonstrate that each
field works correctly
results:
- If there are search results, the first page is displayed
- If there are no search results, suitable "No results to display" text is displayed
- step: Clear your filter and change the page size, using the page-size pull-down
results:
- The size of the page of results displays increases appropriately
- step: Click the "Next" button to go to the next page of results
results:
- The next page of results is displayed
- The "First" and "Prev" buttons are activated
- step: Click "Prev"
results:
- You are navigated one page forward and then one page back in the results
- step: Click "First"
results:
- You are taken to the first page of the results
- step: Click on an editor
results:
- You are taken to the user's account page
- step: Click back on the browser
- step: Click on an associate editor
results:
- You are taken to the user's account page
- step: Click back on the browser
- step: Click "Delete this group" under any chosen group
results:
- Confirmation window pops up
- step: Click "Cancel"
results:
- The confirmation pop up closes
- The group is not deleted
- step: Click "Delete this group" again, and click "OK"
results:
- A pop up confirms the operation has completed successfully
- The group disappears from the search results
- step: Click "Edit this group" next to any chosen group
results:
- A new browser window opens at the page to edit the group
- step: Close the new browser window
- step: Click the black X button to clear all filters
results:
- The interface returns to the initial state