-
Notifications
You must be signed in to change notification settings - Fork 16
/
journals_and_articles_(admin).yml
126 lines (124 loc) · 5.17 KB
/
journals_and_articles_(admin).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
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
# ~~ AdminJournalsArticlesSearch:FunctionalTest -> AdminJournalsArticlesSearch:Feature ~~
suite: Administrative Search
testset: Journals and Articles (Admin)
tests:
- title: Test Admin Journals and Articles Search Interactions
context:
role: admin
steps:
- step: Go to the DOAJ admin Journals and Articles search at /admin/admin_site_search
results:
- All available records are found, and the first page of results is shown
- step: Open and Collapse all the facets on the left
results:
- The facet opens and closes as expected
- Each facet contains a maximum of 10 values relevant to that field
- 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 black X button to clear all filters
results:
- The interface returns to the initial state as per 1.1.1
- title: Test Admin Articles Search Display
context:
role: admin
steps:
- step: Go to the DOAJ admin Journals and Articles search at /admin/admin_site_search
- step: Open the "Journals vs Articles" facet and select "Articles"
results:
- Only articles are visible in the search results
- step: Find an article that has a DOI and click on it
results:
- You are linked through the DOI to the journal page
- step: Find an article that author has an ORCID iD and click on it
results:
- You are linked through the logo to the relevant orcid.org profile website
- step: Click "back" in your browser
- step: Find an article that has a Full text link
- step: Click on the Full text
results:
- You are taken to the publisher's copy of the full text
- step: Click "back" in your browser
- step: Click "(show/hide)" by an Abstract
results:
- The abstract is displayed
- step: Click "("show/hide)" again
results:
- The abstract is hidden
- step: Click "Delete this article" at the bottom of a search result
results:
- A confirmation box appears
- step: Click "Cancel"
results:
- The operation is cancelled, the article is not deleted
- step: Click "Delete this article" at the bottom of a search result
- step: Click "OK"
results:
- A confirmation box appears saying the operation was successful
- The article disappears from the search results
- title: Test Admin Journals Search Display
context:
role: admin
steps:
- step: Go to the DOAJ admin Journals and Articles search at /admin/admin_site_search
- step: Open the "Journals vs Articles" facet and select "Journals"
results:
- Only journals are visible in the search results
- step: Open the In DOAJ facet, and select "False"
results:
- None of the journal titles in the search results are links
- '"In DOAJ: No" metadata is present'
- step: Clear the "In DOAJ?" filter
- step: Select "True" from that facet
results:
- All the journal titles in the search results are links
- '"In DOAJ: Yes" metadata is present'
- step: Click on the journal title
results:
- You are taken to the DOAJ ToC page for this journal
- step: Click back (twice) in your browser window to go back to the search results
- step: Click on the "journal" URL for a journal result
results:
- You are taken to the Journal's home page
- step: Click back in your browser to go back to the search results
- step: Click on a APC URL
results:
- You are taken to the relevant page on a journal's website
- step: Click back in your browser to go back to the search results
- step: Click "Edit this journal"
results:
- A new browser window opens containing the edit form for the journal
- step: Click "Unlock and Close"