Project

General

Profile

Manual testing plan » History » Version 16

Peter Amstutz, 10/07/2024 09:23 PM

1 1 Peter Amstutz
h1. Manual testing plan
2
3 8 Peter Amstutz
h2. Manual testing of SDKs that don't have good coverage
4
5
h2. Release candidate builds with ~1 ~2
6
7 13 Peter Amstutz
h2. Workbench2
8
9 14 Peter Amstutz
Need to go through this whole testing plan with both an admin and non-admin account.  Admin only operations are indicated.
10
11 13 Peter Amstutz
h3. Login
12
13
* Test login using username/password
14
* Test login using OpenID Connect
15
* Test login as federated user
16
** Login to using remote account on centralized federation (LoginCluster)
17
** Login to using remote account on peer federation
18
19
h3. Left side navigation
20
21
* Click on each top level icon (home projects, favorites/public favorite, shared, all processes, instance types, shell access, groups, trash) and confirm that the appropriate page loads with no errors
22
* Check that the left side panel can be resized
23
* Check that that the toggle side panel button works as expected
24
* Check that the +NEW button is disabled unless a project is displayed
25
26
h3. Home projects top panel
27
28
* Project name should match the logged in user
29
* Check for expected toolbar buttons
30
** Details
31
** User account
32
** API Details
33
* Check the buttons have the expected behavior
34
35
h3. Project view
36
37 16 Peter Amstutz
h4. Top panel
38
39
Check that it shows the project name
40
41
Check that it shows the first line of the project description.  Check that there is an arrow that expands to show the full description.
42
43
Check that it shows project properties.  Check that there is an arrow that expands to show all the properties if they don't fit on a single line.
44
45
Check that it renders the toolbar of project operations (listed below).
46
47
Check that the each operation behaves correctly and operates on the project.
48
49
Check that if the window is narrow, the rightmost toolbar icons spill into an overflow menu
50
51
Check that breadcrumbs include the project name and each parent project.
52
53 1 Peter Amstutz
h4. Data tab
54
55 14 Peter Amstutz
Should show projects, workflows, and collections (in that order)
56
57
Clicking on the name rendered in blue text should navigate to the item
58
59
Clicking anywhere else but the name should toggle between selected and not selected
60
* Unless clicking on the checkbox, clicking on the row clears any other selected items
61
* When a row is selected, the toolbar moves from the top panel to the data table panel
62
* Clicking on the check box to the left when a different item is selected selects both items
63
** The toolbar updates to show only the operations that can be applied to both items
64
* Clicking "View details" should open the right info panel.  Check that it shows details for the currently selected item.
65
66 1 Peter Amstutz
Check that the toolbar operations are sorted and grouped consistently across different types of items.
67
68 15 Peter Amstutz
Check that the toolbar operations are appropriate to the type of item selected.
69
70 14 Peter Amstutz
Expected toolbar when project is selected:
71
* View details
72
* Open in new tab
73 1 Peter Amstutz
* Copy link to clipboard
74 14 Peter Amstutz
* Open with 3rd party client
75
* API details
76 15 Peter Amstutz
* --- 
77 14 Peter Amstutz
* Share
78
* New project
79
* Edit project
80
* Move to
81
* Move to trash
82
* ---
83
* Freeze project
84
* Add to favorites
85
* Add to public favorites (admin only)
86
87
Expected toolbar when workflow is selected:
88
* View details
89
* Open in new tab
90
* Copy link to clipboard
91
* API details
92
* ---
93 1 Peter Amstutz
* Run workflow
94
* Delete workflow
95 15 Peter Amstutz
96
Expected toolbar when collection is selected
97
* View details
98
* Open in new tab
99
* Copy link to clipboard
100
* Open with 3rd party client
101
* API details
102
* --- 
103
* Share
104
* Edit collection
105
* Move to
106
* Make a copy
107
* Move to trash
108
* ---
109 1 Peter Amstutz
* Add to favorites
110 16 Peter Amstutz
* Add to public favorites (admin only)
111 15 Peter Amstutz
112 14 Peter Amstutz
Check that all the toolbar operations work as expected.
113
114
Check that right-clicking on a row selects the row and then opens the appropriate context menu.
115
* Check that the operations apply to the item that was clicked on.
116
* Check that the operations in the right-click context menu match the toolbar.
117
118
Check that clicking on each action in the context menu works as expected.
119
120
Check that entering text into the search box refreshes the list with search results
121
122 1 Peter Amstutz
Check that clicking on the three bars in the upper right opens a menu to select columns
123
124
Check that enabling/disabling data columns works.  Check that all columns are filled in appropriately for each item, or blank ("-") where no such data applies.
125 15 Peter Amstutz
126
Check that clicking on the "Name" column sorts by name.
127
* Check sort by "Date created"
128
* Check sort by "Last modified"
129
* Check sort by "Trash at"
130
* Check sort by "Delete at"
131 1 Peter Amstutz
132 16 Peter Amstutz
Check that clicking on "Go to the next page" loads the next page of items.
133 1 Peter Amstutz
134 16 Peter Amstutz
Check that the getting the number of items doesn't block loading the table contents.
135 13 Peter Amstutz
136
h4. Workflows tab
137 1 Peter Amstutz
138 16 Peter Amstutz
Check it shows processes (workflow runs) only.
139
140
Check that it shows the number of completed, failed, queued and running processes, as well as the total, at the top of the data table.
141
142
Check that it shows the name, status, type, runtime and last modified times.
143
144
Check that entering text into the search box refreshes the list with search results
145
146
Check that the toolbar and context menu behave as expected:
147
* View details
148
* Open in new tab
149
* Outputs
150
* API details
151
* --- 
152
* Edit process
153
* Copy and re-run process
154
* Remove
155
* ---
156
* Add to favorites
157
* Add to public favorites (admin only)
158
159
Check that selecting more that one item updates the toolbar to "Remove".
160
161
Check that clicking on "Go to the next page" loads the next page of items.
162
163
Check that the getting the number of items doesn't block loading the table contents.
164
165
Check that process status is rendered correctly.
166
167
Check that filtering by process status shows only rows with the intended status.
168
169
Check that runtime is calculated/rendered correctly.
170
171
h3. My favorites
172
173
Check that all items marked as "favorite" appear.
174
175
Check that clicking on an item shows the appropriate toolbar.
176
177
Check that clicking "Remove from favorites" on an item refreshes the favorites list and the item is no longer present.
178
179
h3. Public favorites
180
181
Check that all items marked as "public favorite" appear.
182
183
Check that clicking on an item shows the appropriate toolbar.
184
185
Check that clicking "Remove from public favorites" on an item refreshes the public favorites list and the item is no longer present. (admin only)
186
187
h3. Shared with me
188
189
Check that it shows all the things that don't belong to the current user.
190
191
Check that selecting an item shows the appropriate toolbar.
192
193
Check that clicking on "Go to the next page" loads the next page of items.
194
195
Check that the getting the number of items doesn't block loading the table contents.
196
197
h3. All processes
198
199
Check that it shows all processes visible to the user, regardless of owner project.
200
201
Check that selecting an item shows the appropriate toolbar.
202
203
Check that clicking on "Go to the next page" loads the next page of items.
204
205
Check that the getting the number of items doesn't block loading the table contents.
206 13 Peter Amstutz
207 1 Peter Amstutz
208 10 Ward Vandewege
h2. Groups -- standalone and peer federation
209 1 Peter Amstutz
210
# Create group
211
# Log in as non-admin user.
212
# Log in as a second non-admin user in a private window for testing sharing.
213
# check that users cannot see one another
214
# Add user to group
215
# Check that users can see one another
216 10 Ward Vandewege
217
h2. Groups -- login cluster federation
218
219
# Login cluster: create group
220
# Satellite cluster: Log in as non-admin user.
221
# Satellite cluster: Log in as a second non-admin user in a private window for testing sharing.
222
# Satellite cluster: check that users cannot see one another
223
# Login cluster: add both users to group
224
# Satellite cluster: Check that users can see one another
225
# Satellite cluster: create group
226
# Satellite cluster: add both users to group
227
# Satellite cluster: Check that both users can share with the group created on the satellite cluster
228 1 Peter Amstutz
229 11 Ward Vandewege
h2. Collections
230 1 Peter Amstutz
231
# Create a collection & upload a file
232
# Add a file
233
# Rename a file
234
# Remove a file
235
# Download one of the files
236
# Make a sharing link to the collection & check usage from private window
237 12 Ward Vandewege
# WB2 ONLY: Mark collection as a favorite, check that it shows up in favorites
238 3 Peter Amstutz
# Rename collection
239
# Edit description
240 2 Peter Amstutz
# Add property
241
# Search for collection by property
242
# Search for collection by name
243 1 Peter Amstutz
# Search for collection by filename
244 4 Peter Amstutz
# Search for collection by keyword in description
245 5 Peter Amstutz
# Trash collection
246
# Check that collection can be found in the trash
247
# Untrash collection
248 1 Peter Amstutz
249
h2. Projects
250
251
# Create a project
252
# Rename a project
253 4 Peter Amstutz
# Edit description
254 1 Peter Amstutz
# Create a collection inside the project
255
# Move a collection into the project
256
# Add read-only sharing permission to the project & check access from other user
257
# Add read-write sharing permission to project  & check access from other user
258
# Add manage sharing permission to project  & check access from other user
259
# Make project as favorite, check that it shows up in favorites
260 4 Peter Amstutz
# Search for project by name
261
# Search for project by keyword in description
262 6 Peter Amstutz
# Trash project
263
# Check that project can be found in the trash
264
# Untrash project
265 1 Peter Amstutz
266
h2. Workflows
267
268
# Upload workflow with arvados-cwl-runnner --create-workflow
269
# Browse workflow
270
# Select workflow to run
271
# Choose input file
272
# Watch it run
273
## Check logging
274
## Check live updates
275
## Check links to input & output
276
# Check that it shows up on dashboard, All Processes
277
# Check graph for the container request
278
# check graph on the input collection ("used by")
279
# check graph on output collection ("provenance")
280
281 7 Peter Amstutz
h2. Federation
282
283 9 Ward Vandewege
h3. Peer federation
284
285
2 or more clusters are configured with a 'Remoteclusters' entry in config.yml.
286
287
h3. Login cluster federation
288
289
2 or more clusters are configured with a 'Remoteclusters' entry in config.yml. One of the clusters is the 'login cluster', which means the *other* clusters have a section like this in their config (clsr1 is the login cluster):
290
291
<pre>
292
Clusters:
293
  clsr2:
294
    Login:
295
      LoginCluster: clsr1
296
</pre>
297
298 7 Peter Amstutz
299 1 Peter Amstutz
h2. Misc
300
301
# As admin, create a "public favorite" and make sure users see it.
302
# As admin, deactivate a user. Make sure that user can't log back in
303
# Add a cluster for multi-site search.
304
# Upload ssh key & check view
305
# Create git repo & check view
306
# As admin, add virtual machine access & check view