-
Notifications
You must be signed in to change notification settings - Fork 16
/
home_page.yml
168 lines (166 loc) · 5.92 KB
/
home_page.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
suite: Public Site
testset: Home Page
tests:
- title: Launching off from Home Page
context:
role: anonymous
steps:
- step: Ensure you are not logged into the system
- step: Ensure you have cleared your browser cookies (you could use an ingognito
browser window)
- step: Go to the DOAJ home page
results:
- The DOAJ home page is displayed
- The DOAJ Cookie banner is displayed
- step: Dismiss the Cookie Banner
results:
- The Cookie banner disappears and does not reappear on subsequent pages
- step: Hover over Support
results:
- The dropdown menu appears
- step: Move your mouse away from Support
results:
- The dropdown menu disappears
- step: Click "Support" at the top
results:
- You are taken to Support DOAJ page
- step: Go back to the home page
- step: Repeat for the Apply menu
- step: Hover over About
results:
- The dropdown appears
- step: Move your mouse away from Apply
results:
- The dropdown menu disappears
- step: Click "About" at the top
results:
- The About menu appears and stays open
- step: Click "About" at the top
results:
- The menu disappears
- step: Repeat for Search and Documentation menus
- step: Click the orange magnifying glass, top right
results:
- The Quick search box appears over the homepage
- step: Click it again.
results:
- The Quick search box disappears
- step: Click Login
results:
- 'You are taken to the Login page: https://testdoaj.cottagelabs.com/account/login'
- step: Click the DOAJ logo top left
results:
- You are taken to the homepage
- step: Look at the statistics under the Search box
results:
- The statistics show the numbers that you would expect to see
- You can click on any of the figures and be taken to the correct list of search
results
- step: Click back on the browser
results:
- The number of countries is not clickable
- step: Scroll down and click 'Why index your journal in DOAJ'
results:
- You are taken to https://testdoaj.cottagelabs.com/apply/why-index/
- step: Click back on your browser and click 'How to apply'
results:
- You are taken to https://testdoaj.cottagelabs.com/apply/guide/
- step: Click back on your browser and hover over the APPLY NOW button
results:
- It changes colour and moves
- step: Click the button
results:
- You are taken to https://testdoaj.cottagelabs.com/account/login?redirected=apply
- step: Click back on your browser and hover over the SUPPORT DOAJ button
results:
- It changes colour and moves
- step: Click the button
results:
- You are taken to https://testdoaj.cottagelabs.com/support/
- step: Scroll to 'From the blog'
results:
- There are 3 blog posts displayed
- step: Click on the title of a blog post
results:
- You are taken to the appropriate post on the DOAJ blog site. Opens in a new
tab.
- step: Close the tab.
- step: Click on "More" after a blog post
results:
- You are taken to the appropriate post on the DOAJ blog site. Opens in a new
tab.
- step: Close the tab.
- step: On the right, click on 'Tweets by @doajplus'
results:
- You are taken to the DOAJ Twitter profile. Opens in a new tab.
- step: Close the tab.
- step: Click on one of the Tweets
results:
- You are taken to the tweet, on Twitter, and opens in a new tab.
- step: Close the tab.
- step: Hover over the list of tweets and scroll
results:
- You can scroll through 20 tweets
- step: Scroll to the bottom and click 'Load more tweets'
results:
- Another 20 tweets are loaded. You can scroll up and down the list of tweets
without the main scroll for the page being affected.
- step: Click on each link in the footer, coming back to the home page afterwards
if necessary
results:
- Each link takes you to the appropriate page
- step: Go back to the home page
- step: Scroll to the very bottom of the page
results:
- The copyright notification on the bottom right is for the current year
- step: Click on each link.
results:
- Each link takes you to the appropriate page
- step: Scroll lto the bottom of the home page. Click the orange up arrow in the
bottom right-hand corner.
results:
- You are returned to the top of the home page
- title: Skip to main content button (Accessibility)
context:
role: anonymous
steps:
- step: Refresh the page
- step: Click tab key on the keyboard once
results:
- Skip to the main content button is unfolded and focused
- step: Click enter
results:
- Focus is moved to the main content
- step: Turn on screen reader
- step: With the keyboard navigate to Skip to main content button
results:
- Screen reader reads the button title
- step: Click enter
results:
- Focus is moved to the main content
- title: Test minisearch section
context:
role: anonymous
steps:
- step: Go to the landing page
- step: Click "Journals" radio button
- step: Open "In all fields" dropdown
results:
- Options Title, ISSN, Subject, Publisher and Country of Publisher are available
- step: Choose "Articles" radio button
- step: Open "In all fields" dropdown
results:
- Options Title, Abstract, Subject and Author are available
- step: perform search of Journal (eg. "Medicine", "Title")
results:
- You are redirected to /search/journals results page
- The top search fields are filled with the current query
- Correct search results are displayed
- step: perform search of Article (eg. "Medicine", "Title")
results:
- You are redirected to /search/articles results page
- The top search fields are filled with the current query
- Correct search results are displayed
- step: repeat searches for different fields
results:
- Each time correct results page is displayed