Project

General

Profile

Manual testing plan » History » Version 17

Peter Amstutz, 10/21/2024 02:35 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 17 Peter Amstutz
h3. Instance types
208
209
Check that all the available instance types are listed and formatted properly.
210
211
h3. Shell Access
212
213
Check that shell nodes are listed.
214
215
Check that the ssh command line is valid.
216
217
Check that webshell works properly.
218
219 1 Peter Amstutz
220 10 Ward Vandewege
h2. Groups -- standalone and peer federation
221 1 Peter Amstutz
222
# Create group
223
# Log in as non-admin user.
224
# Log in as a second non-admin user in a private window for testing sharing.
225
# check that users cannot see one another
226
# Add user to group
227
# Check that users can see one another
228 10 Ward Vandewege
229
h2. Groups -- login cluster federation
230
231
# Login cluster: create group
232
# Satellite cluster: Log in as non-admin user.
233
# Satellite cluster: Log in as a second non-admin user in a private window for testing sharing.
234
# Satellite cluster: check that users cannot see one another
235
# Login cluster: add both users to group
236
# Satellite cluster: Check that users can see one another
237
# Satellite cluster: create group
238
# Satellite cluster: add both users to group
239
# Satellite cluster: Check that both users can share with the group created on the satellite cluster
240 1 Peter Amstutz
241 11 Ward Vandewege
h2. Collections
242 1 Peter Amstutz
243
# Create a collection & upload a file
244
# Add a file
245
# Rename a file
246
# Remove a file
247
# Download one of the files
248
# Make a sharing link to the collection & check usage from private window
249 12 Ward Vandewege
# WB2 ONLY: Mark collection as a favorite, check that it shows up in favorites
250 3 Peter Amstutz
# Rename collection
251
# Edit description
252 2 Peter Amstutz
# Add property
253
# Search for collection by property
254
# Search for collection by name
255 1 Peter Amstutz
# Search for collection by filename
256 4 Peter Amstutz
# Search for collection by keyword in description
257 5 Peter Amstutz
# Trash collection
258
# Check that collection can be found in the trash
259
# Untrash collection
260 1 Peter Amstutz
261
h2. Projects
262
263
# Create a project
264
# Rename a project
265 4 Peter Amstutz
# Edit description
266 1 Peter Amstutz
# Create a collection inside the project
267
# Move a collection into the project
268
# Add read-only sharing permission to the project & check access from other user
269
# Add read-write sharing permission to project  & check access from other user
270
# Add manage sharing permission to project  & check access from other user
271
# Make project as favorite, check that it shows up in favorites
272 4 Peter Amstutz
# Search for project by name
273
# Search for project by keyword in description
274 6 Peter Amstutz
# Trash project
275
# Check that project can be found in the trash
276
# Untrash project
277 1 Peter Amstutz
278
h2. Workflows
279
280
# Upload workflow with arvados-cwl-runnner --create-workflow
281
# Browse workflow
282
# Select workflow to run
283
# Choose input file
284
# Watch it run
285
## Check logging
286
## Check live updates
287
## Check links to input & output
288
# Check that it shows up on dashboard, All Processes
289
# Check graph for the container request
290
# check graph on the input collection ("used by")
291
# check graph on output collection ("provenance")
292
293 7 Peter Amstutz
h2. Federation
294
295 9 Ward Vandewege
h3. Peer federation
296
297
2 or more clusters are configured with a 'Remoteclusters' entry in config.yml.
298
299
h3. Login cluster federation
300
301
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):
302
303
<pre>
304
Clusters:
305
  clsr2:
306
    Login:
307
      LoginCluster: clsr1
308
</pre>
309
310 7 Peter Amstutz
311 1 Peter Amstutz
h2. Misc
312
313
# As admin, create a "public favorite" and make sure users see it.
314
# As admin, deactivate a user. Make sure that user can't log back in
315
# Add a cluster for multi-site search.
316
# Upload ssh key & check view
317
# Create git repo & check view
318
# As admin, add virtual machine access & check view