-
Notifications
You must be signed in to change notification settings - Fork 16
/
application_state_change.yml
112 lines (112 loc) · 4.98 KB
/
application_state_change.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
# ~~ ApplicationStateChange:FunctionalTest -> ApplicationForm:Feature ~~
# ~~-> UpdateRequest:Feature ~~
# ~~-> ManEdApplicationForm:Page ~~
suite: Application State Change
testset: Application State Change
tests:
- title: Accept a New Application
context:
role: admin
steps:
- step: Go to the "Applications/Update Requests" page in the Administration area
- step: Select a new application that can be accepted (e.g. is in a status such
as Ready) and click "Review application"
- step: Complete any required fields, and then change the Application Status to
"Accepted"
- step: Click "SAVE"
results:
- A flash message indicates that a new journal was created, and links to that
journal
- A flash message indicates that the application has been updated-
- A flash message indicates that the journal has been associated with a new or
existing user account
- A flash message indicates an email has been sent to the account holder to tell
them journal was accepted.
- The Application Status field says "Accepted", and a note at the top of the form
says "Please note you cannot edit this application as it has been accepted into
the DOAJ."
- step: Click the "Unlock and Close" button
- step: Go to the mailtrap.io inbox for the test environment you are working in
results:
- There should be a suitable email to the journal owner indicating that their
journal has been accepted
- There should be a suitable email to the journal contact indicating that their
journal has been accepted
- title: Accept an Update Request
context:
role: admin
steps:
- step: Go to the "Applications/Update Requests" page in the Administration area
- step: Select an update request that can be accepted (e.g. is in a status such
as Ready) and click "Review update"
- step: Complete any required fields, and then change the Application Status to
"Accepted"
- step: Click "SAVE"
results:
- A flash message indicates that an existing journal was updated and links to
that journal
- A flash message indicates that the journal has been associated with an existing
user account
- A flash message indicates an email has been sent to the owner of the journal
- The Application Status field says "Accepted", and a note at the top of the form
says "Please note you cannot edit this application as it has been accepted into
the DOAJ."
- step: Click the "Unlock and Close" button
- step: Go to the mailtrap.io inbox for the test environment you are working in
results:
- There should be a suitable email to the journal owner indicating that their
update request has been accepted
- title: Reject a New Application
context:
role: admin
steps:
- step: Go to the "Applications/Update Requests" page in the Administration area
- step: Select a new application that can be rejected (e.g. is in status Ready)
and click "Review application"
- step: Complete any required fields, and then change the Application Status to
"Rejected"
- step: Click "SAVE"
results:
- A flash message indicates that the application record was updated
- step: Click the "Unlock and Close" button
- step: Go to the mailtrap.io inbox for the test environment you are working in
results:
- Ensure that there is no email associated with the rejection
- title: Reject an Update Request
context:
role: admin
steps:
- step: Go to the "Applications/Update Requests" page in the Administration area
- step: Select an update request that can be rejected (e.g. is in status Ready)
and click "Review update"
- step: Complete any required fields, and then change the Application Status to
"Rejected"
- step: Click "SAVE"
results:
- A flash message indicates that an email was sent to the owner of the update
request
- A flash message indicates that the application was updated
- step: Click the "Unlock and Close" button
- step: Go to the mailtrap.io inbox for the test environment you are working in
results:
- There should be a suitable email to the journal owner indicating that their
update request has been rejected
- title: Request Revisions on an Update Request
context:
role: admin
steps:
- step: Go to the "Applications/Update Requests" page in the Administration area
- step: Select an update request that can be rejected (e.g. is in status Ready)
and click "Review update"
- step: Complete any required fields, and then change the Application Status to
"Revisions Required"
- step: Click "SAVE"
results:
- A flash message indicates that an email was sent to the owner of the update
request
- A flash message indicates that the application was updated
- step: Click the "Unlock and Close" button
- step: Go to the mailtrap.io inbox for the test environment you are working in
results:
- There should be a suitable email to the journal owner indicating that their
update request has been rejected