-
Notifications
You must be signed in to change notification settings - Fork 16
/
autocheck.yml
130 lines (126 loc) · 6.1 KB
/
autocheck.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
127
128
129
130
suite: Autocheck
testset: Autocheck
tests:
- title: Preparation
context:
role: Any Authenticated User
steps:
- step: Activate the testdrive setup for this test suite, by using the following url
path: /testdrive/autocheck
results:
- You receive the testdrive setup details, including an admin account for you to use,
and an application and journal which have been autochecked for testing
- step: Log into DOAJ using the admin credentials supplied by the testdrive. You may want to do
this in a private browsing window, so you can remain logged in to your own account in your
main window.
path: /account/login
results:
- You are logged in as an admin user
- step: You may now proceed to the tests below
- title: Application autochecks
context:
role: Admin
depends:
- suite: Autocheck
testset: Autocheck
test: Preparation
steps:
- step: Go to the Application admin_url supplied by the testdrive setup
results:
- You are looking at a test Application created for this test
- step: Scroll down to find the ISSN (print) and ISSN (online) fields
results:
- The Print ISSN field is annotated with a green tick, and text which says that ISSN
is fully registered at ISSN.org
- The Electronic ISSN field is annotated with an orange cross, which says the ISSN is not
registered at ISSN.org
- step: Click on one of the "see record" links in the annotation
results:
- The link is opened in a new window/tab
- You are taken to the ISSN.org record. Note that for the purposes of this test, this
is a random record on ISSN.org, unrelated to the actual record in DOAJ.
- step: Close the ISSN.org window/tab and return to the application form
- step: Scroll to the "Best Practice" section of the application form, and look at the "Long-term preservation services" question
results:
- "4 checks are visible attached to this question, for: CLOCKSS, LOCKSS, PMC and PKP PN"
- CLOCKSS is annotated with a green tick, saying it is archived
- LOCKSS is annotated with a red cross, saying it is not current
- PMC is annotated with a grey info symbol, saying it is not currently recorded by Keepers
- PKP PN is annotated with a red cross, saying it is not archived
- step: Click on one of the "see record" links in the annotation
results:
- The link is opened in a new window/tab
- You are taken to the ISSN.org record. Note that for the purposes of this test, this
is a random record on ISSN.org, unrelated to the actual record in DOAJ.
- step: Close the ISSN.org window/tab and return to the application form
- step: Scroll to the "Other archiving policy"
results:
- Input box contain value "None"
- This field annotated with red cross, saying "None" value found
- step: Scroll to the "Name of other website where policy is registered"
results:
- Input box contain value "None"
- This field annotated with red cross, saying "None" value found
- step: Scroll to the top of the application form
results:
- There is text which tells you when the Autochecks were made, and an option to Hide All Autochecks
- step: Click "Hide All Autochecks", then scroll through the form
results:
- The autochecks are all hidden
- step: Return to the top of the application form and click "Show All Autochecks", then scroll through the form
results:
- The autochecks are all visible again
- title: Journal autochecks
context:
role: Admin
depends:
- suite: Autocheck
testset: Autocheck
test: Preparation
steps:
- step: Go to the Journal admin_url supplied by the testdrive setup
results:
- You are looking at a test Journal created for this test
- step: Scroll down to find the ISSN (print) and ISSN (online) fields
results:
- The Print ISSN field is annotated with a green tick, and text which says that ISSN
is fully registered at ISSN.org
- The Electronic ISSN field is annotated with an red cross, which says the ISSN is not
found at ISSN.org
- step: Click on one of the "see record" links in the annotation
results:
- The link is opened in a new window/tab
- You are taken to the ISSN.org record. Note that for the purposes of this test, this
is a random record on ISSN.org, unrelated to the actual record in DOAJ.
- step: Close the ISSN.org window/tab and return to the journal form
- step: Scroll to the "Best Practice" section of the application form, and look at the "Long-term preservation services" question
results:
- "4 checks are visible attached to this question, for: CLOCKSS, LOCKSS, PMC and PKP PN"
- CLOCKSS is annotated with a green tick, saying it is archived
- LOCKSS is annotated with a red cross, saying it is not current
- PMC is annotated with a grey info symbol, saying it is not currently recorded by Keepers
- PKP PN is annotated with a red cross, saying it is not archived
- step: Click on one of the "see record" links in the annotation
results:
- The link is opened in a new window/tab
- You are taken to the ISSN.org record. Note that for the purposes of this test, this
is a random record on ISSN.org, unrelated to the actual record in DOAJ.
- step: Close the ISSN.org window/tab and return to the journal form
- step: Scroll to the top of the journal form
results:
- There is text which tells you when the Autochecks were made, and an option to Hide All Autochecks
- step: Click "Hide All Autochecks", then scroll through the form
results:
- The autochecks are all hidden
- step: Return to the top of the journal form and click "Show All Autochecks", then scroll through the form
results:
- The autochecks are all visible again
- title: Teardown
context:
role: Any Authenticated User
steps:
- step: Close your private browsing window you used for the test
- step: Click the "Teardown" url supplied by the testdrive setup
results:
- You receive a success notification in your browser window
- step: You can now close the testdrive browser tab/window