-
Notifications
You must be signed in to change notification settings - Fork 16
/
update_requests.yml
81 lines (81 loc) · 3.66 KB
/
update_requests.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
suite: Publisher Search
testset: Update Requests
tests:
- title: Test Publisher Update Request Search Interactions
context:
role: publisher
steps:
- step: Go to the DOAJ admin applications search at /publisher/progress
results:
- All available records are found, and the first page of results is shown
- Results are sorted by last updated date, oldest first
- On the left facet "Application Status" is open
- step: Open one of the facets of your choice
- step: Select one of the values for that facet
results:
- All the results for the selected constraints are found, and the first page is
shown
- The filter applied is shown in the facets on the left and above the search results
- 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 ramains 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 match" text is displayed
- step: 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 "Next" again
- 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 the Red X button to clear all filters
results:
- The interface returns to the initial state as per 1.1.1
- title: Test Admin Application Search Display
context:
role: admin
steps:
- step: Go to the DOAJ admin application search at /admin/applications
- step: Open the "Application Status" facet and select "Accepted"
results:
- Every result includes the text "This update request has been accepted, and your
journal in DOAJ updated (view request)." on the bottom right
- step: Click on "View request" for one of the results
results:
- You are taken to the edit form for the application but it is read only (there
is a warning displayed at the top of the page "Please note this form is read-only,
you cannot make changes here."
- step: Click "Back"
- step: Clear the "Accepted" filter and select "Rejected"
results:
- Every result includes the text "This update request has been rejected, and your
journal in DOAJ updated (view request)." on the bottom right
- step: Click "Back"
- step: Clear the "Accepted" filter and select any status other than "Accepted"
or "Rejected"
results:
- Every result includes the text "This update request is currently being reviewed
by an Editor (view request)." on the bottom right
- step: Click on "View request" for one of the results
results:
- You are taken to the edit form for the application but it is read only (there
is a warning displayed at the top of the page "Please note this form is read-only,
you cannot make changes here."