-
Notifications
You must be signed in to change notification settings - Fork 16
/
associate_form.yml
73 lines (71 loc) · 2.82 KB
/
associate_form.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
# ~~ AssociateJournalForm:FunctionalTest -> AssociateJournalForm:Page ~~
suite: Journal Form
testset: Associate Form
tests:
- title: Interactions
depends:
- suite: Journal Form
testset: ManEd Form
context:
role: associate editor
steps:
- step: Go to Journal Search page at /editor/your_journals
- step: Click "Edit this journal" link at the bottom of any journal - note the title
of the edited journal for future reference
results:
- Page /editor/journal/<id> is open in a new browser window/tab (<id> is id of
the chosen journal)
- 'Only: "Basic Journal Information", "Subject classification", "Quality and Transparency
of the Editoria Process", "How Open is the Journal", "Contact licensing", "Copyright
and Permissions" and "Notes" areas are displayed to edit'
- All displayed questions are editable
- step: Edit value of one of the fields
- step: Click red "Save" button
results:
- Message banner "Journal updated." is shown at the top of the page
- step: Click 'Dismiss' at the right of the banner
results:
- The banner hides
- step: Click "Unlock and Close" button at the top of the application
results:
- 'You see the message: This record is now unlocked
You may close this tab safely.'
- step: Close the tab.
- step: Go back to /editor/your_journals
results:
- Confirm appropriate data was changed either on search result (you may need to
refresh the page to see them applied) or on Journals page at /toc/<id>
- title: Note features for Associate Editor
context:
role: associate editor
steps:
- step: Prepare two associate editor accounts (aseditor1 and aseditor2), they both can access
to the same journal (e.g. /editor/journal/1234)
- step: Login as `aseditor1`
- step: Go to Journal page at `/editor/journal/1234`
- step: Click "ADD" button in "Notes" area
results:
- New note UI is displayed for you to fill in
- step: Fill in the note
- step: Click "Save" button
results:
- The note is saved and displayed in the list of notes
- you username and user id will be showed on that note
- the date and time you created the note will be shown
- step: Click into the note field and edit the note
results:
- The note is editable
- step: Click "Remove" underneath the note
results:
- The note is deleted
- step: Create a new note as per the above steps
- step: Switch to other associate editor account `aseditor2`
- step: Go to Journal page at `/editor/journal/1234`
results:
- You can see the note that you have created before with `aseditor1`
- step: Attempt to click into the note area and edit it
results:
- you are unable to edit the note
- step: Attempt to click the "Remove" button
results:
- You are unable to delete the note