diff options
Diffstat (limited to 'meta/lib/oeqa/manual/toaster-managed-mode.json')
-rw-r--r-- | meta/lib/oeqa/manual/toaster-managed-mode.json | 2572 |
1 files changed, 2572 insertions, 0 deletions
diff --git a/meta/lib/oeqa/manual/toaster-managed-mode.json b/meta/lib/oeqa/manual/toaster-managed-mode.json new file mode 100644 index 0000000000..ba0658f036 --- /dev/null +++ b/meta/lib/oeqa/manual/toaster-managed-mode.json | |||
@@ -0,0 +1,2572 @@ | |||
1 | [ | ||
2 | { | ||
3 | "test": { | ||
4 | "@alias": "toaster.toaster.All_layers:_default_view", | ||
5 | "author": [ | ||
6 | { | ||
7 | "email": "stanciux.mihail@intel.com", | ||
8 | "name": "stanciux.mihail@intel.com" | ||
9 | } | ||
10 | ], | ||
11 | "execution": { | ||
12 | "1": { | ||
13 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table.", | ||
14 | "expected_results": "" | ||
15 | }, | ||
16 | "2": { | ||
17 | "action": "On the project page click on the \"View compatible layers\" link situated on the right-hand side, mid-page, under the \"Project configuration\" menu, in the \"Layers\" table.", | ||
18 | "expected_results": "" | ||
19 | }, | ||
20 | "3": { | ||
21 | "action": "Check that the table is populated with the default layers (eg. meta-yocto-bsp, meta-yocto)", | ||
22 | "expected_results": "" | ||
23 | }, | ||
24 | "4": { | ||
25 | "action": "Check that by default the following columns are shown: Layer, Summary, Revision, Dependencies and Add/Delete", | ||
26 | "expected_results": "" | ||
27 | }, | ||
28 | "5": { | ||
29 | "action": "Check that the \"Revision\" entries match the release entry from the main project page, in the project details section.", | ||
30 | "expected_results": "" | ||
31 | }, | ||
32 | "6": { | ||
33 | "action": "Check that only one instance of the core layers (openembedded-core, meta-yocto and meta-yocto-bsp) shows in this table, and that instance has a branch that matches the selected project release from the main project page.", | ||
34 | "expected_results": "" | ||
35 | }, | ||
36 | "7": { | ||
37 | "action": "Check that in the \"Dependencies\" column some of the layers should have a square box with a number in it. When clicking on it, a small popup should appear containing a list of other layers required for this layer to work. Every layer listed here should also be a link to the layer's detail page. \n \n", | ||
38 | "expected_results": "" | ||
39 | }, | ||
40 | "8": { | ||
41 | "action": "From the \"Edit columns\" menu, activate the \"Git repository URL\" and the \"Subdirectory\" columns. In \"Git repository URL\": all the entries should have a link to the external site where the layer was downloaded from. Similarly, in \"Subdirectory\" links should exist, if a subdirectory entry is present.", | ||
42 | "expected_results": "All mentioned elements should be present and functional." | ||
43 | } | ||
44 | }, | ||
45 | "summary": "All_layers:_default_view" | ||
46 | } | ||
47 | }, | ||
48 | { | ||
49 | "test": { | ||
50 | "@alias": "toaster.toaster.All_layers:_Add/delete_layers", | ||
51 | "author": [ | ||
52 | { | ||
53 | "email": "stanciux.mihail@intel.com", | ||
54 | "name": "stanciux.mihail@intel.com" | ||
55 | } | ||
56 | ], | ||
57 | "execution": { | ||
58 | "1": { | ||
59 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n\n", | ||
60 | "expected_results": "" | ||
61 | }, | ||
62 | "2": { | ||
63 | "action": "On the project page click on the \"View compatible layers\" link situated on the right-hand side, mid-page, under the \"Project configuration\" menus, in the \"Layers\" table. \n\n\n", | ||
64 | "expected_results": "" | ||
65 | }, | ||
66 | "3": { | ||
67 | "action": "Check that the Add/delete column is enabled. \n\n", | ||
68 | "expected_results": "" | ||
69 | }, | ||
70 | "4": { | ||
71 | "action": "Add a new layer \nPick a layer that hasn't been added to the project. \n \nClick on the \"Add layer\" button present in the \"Add/delete\" column. \nIf the layer has unsatisfied dependencies a dialog will appear listing the dependencies (in alphabetical order), each of them with a checkbox so that you can select / deselect them. All checkboxes are checked by default. If you click the \"Cancel\" button the dialog closes. If you click the \"Add layers\" button, the layers are added to the project. \n\nMake sure to uncheck at least 1 of the dependencies so you can check that only the checked dependencies are added, and not the unchecked one(s). ", | ||
72 | "expected_results": "" | ||
73 | }, | ||
74 | "5": { | ||
75 | "action": "Check that the \"Add layer\" button fades out and is replaced temporarily by a message like \"1 layer added\" and then it is replaced by the \"Delete layer\" button. \nCheck that a confirmation message is displayed at the top of the page similar to \"You have added 1 layer to project_name_here: meta-yocto-bsp\". \n\n", | ||
76 | "expected_results": "" | ||
77 | }, | ||
78 | "6": { | ||
79 | "action": "Delete an existing layer \nPick a layer that's already been added to the project. \nClick on the \"Delete layer\" button present in the \"Add/delete\" column. \nCheck that once the button is pressed, it fades out and is replaced temporarily by the message \"1 layer deleted\" and then it is replaced by the \"Add layer\" button. \nCheck that a confirmation is displayed at the top of the page similar to \"You have deleted 1 layer from project_name_here: meta-yocto-bsp\". ", | ||
80 | "expected_results": "All actions should complete successfully." | ||
81 | } | ||
82 | }, | ||
83 | "summary": "All_layers:_Add/delete_layers" | ||
84 | } | ||
85 | }, | ||
86 | { | ||
87 | "test": { | ||
88 | "@alias": "toaster.toaster.All_targets:_Default_view", | ||
89 | "author": [ | ||
90 | { | ||
91 | "email": "stanciux.mihail@intel.com", | ||
92 | "name": "stanciux.mihail@intel.com" | ||
93 | } | ||
94 | ], | ||
95 | "execution": { | ||
96 | "1": { | ||
97 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
98 | "expected_results": "" | ||
99 | }, | ||
100 | "2": { | ||
101 | "action": " If no images exist in the project, build an image by inserting \"core-image-minimal\" in the \"Recipes\" field and press the \"Build\" button. Wait for the image to finish building. \n\n", | ||
102 | "expected_results": "" | ||
103 | }, | ||
104 | "3": { | ||
105 | "action": "On the project page click on the \"Image Recipes\" link situated in the left-handed side of the page, under the \"Project configuration\" menus, in the \"COMPATIBLE METADATA\" table. \n\n", | ||
106 | "expected_results": "" | ||
107 | }, | ||
108 | "4": { | ||
109 | "action": "Check that \"Compatible image recipes\" table is populated. \n\n", | ||
110 | "expected_results": "" | ||
111 | }, | ||
112 | "5": { | ||
113 | "action": "Check that the following columns are shown by default: \n\t\tImage recipe \n\t\tDescription \n \n\t\tLayer \n\t\tBuild \n\t\t Version ", | ||
114 | "expected_results": "" | ||
115 | } | ||
116 | }, | ||
117 | "summary": "All_targets:_Default_view" | ||
118 | } | ||
119 | }, | ||
120 | { | ||
121 | "test": { | ||
122 | "@alias": "toaster.toaster.Configuration_variables:_default_view", | ||
123 | "author": [ | ||
124 | { | ||
125 | "email": "stanciux.mihail@intel.com", | ||
126 | "name": "stanciux.mihail@intel.com" | ||
127 | } | ||
128 | ], | ||
129 | "execution": { | ||
130 | "1": { | ||
131 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n\n", | ||
132 | "expected_results": "" | ||
133 | }, | ||
134 | "2": { | ||
135 | "action": "In the main project page, click on \"BitBake variables\" in the left-hand side of the page, under the \"CONFIGURATION\" menu. \n\n", | ||
136 | "expected_results": "" | ||
137 | }, | ||
138 | "3": { | ||
139 | "action": "Check that default values are as follows: \n\tDISTRO - poky \n\tIMAGE_FSTYPES - ext3 jffs2 tar.bz2 \n\tIMAGE_INSTALL_append - \"Not set\" \n\tPACKAGE_CLASES - package_rpm \n SSTATE_DIR - /homeDirectory/poky/sstate-cache \n\n", | ||
140 | "expected_results": "" | ||
141 | }, | ||
142 | "4": { | ||
143 | "action": "Check that under the \"Add variable\" section, the \"Variable\" field has the default text \"Type variable name\" present, the \"Value\" field has the default text \"Type variable value\" present and that the \"Add variable\" button is inactive. \n\n", | ||
144 | "expected_results": "" | ||
145 | }, | ||
146 | "5": { | ||
147 | "action": "Check that under the \"Add variable\" section, there is text present that describes the variables that Toaster cannot modify. ", | ||
148 | "expected_results": "All mentioned elements should be present and functional." | ||
149 | } | ||
150 | }, | ||
151 | "summary": "Configuration_variables:_default_view" | ||
152 | } | ||
153 | }, | ||
154 | { | ||
155 | "test": { | ||
156 | "@alias": "toaster.toaster.Configuration_variables:_Test_UI_elements", | ||
157 | "author": [ | ||
158 | { | ||
159 | "email": "stanciux.mihail@intel.com", | ||
160 | "name": "stanciux.mihail@intel.com" | ||
161 | } | ||
162 | ], | ||
163 | "execution": { | ||
164 | "1": { | ||
165 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
166 | "expected_results": "" | ||
167 | }, | ||
168 | "2": { | ||
169 | "action": "In the main project page, click on \"BitBake variables\" in the left-hand side of the page, under the \"CONFIGURATION\" menu. \n\n", | ||
170 | "expected_results": "" | ||
171 | }, | ||
172 | "3": { | ||
173 | "action": "DISTRO: \n\t- check that the \"change\" icon is present (represented by a pen icon) \n\t- click on the \"change\" icon and check that the variable becomes an editable text field, populated with the current value of the variable \n\t- check that, if you delete the content of the text field, the save button is disabled \n\t- enter a distro name containing spaces (for example, \"poky tiny\") - check that an error message is shown explaining that the value entered cannot contain spaces \n\n", | ||
174 | "expected_results": "" | ||
175 | }, | ||
176 | "4": { | ||
177 | "action": "IMAGE_FSTYPES: \n\t- check that the \"change\" icon is present (represented by a pen icon) \n\t- click on the \"change\" icon and check that the variable becomes editable like so: the main input control is a set of checkboxes. There is a checkbox for each supported image type. The checkboxes are listed in ascending alphabetical order, broken down in 2 groups: \n\t\t", | ||
178 | "expected_results": "" | ||
179 | }, | ||
180 | "5": { | ||
181 | "action": "The selected types are checked and listed at the top \n\t\t", | ||
182 | "expected_results": "" | ||
183 | }, | ||
184 | "6": { | ||
185 | "action": "The other types are not checked and listed afterwards \n\t- check that all this is inside a scrollable div, and a text field is present above that filters out the content of the div as you type. \n\t- check that if there are no image types matching your typed string, a message is shown notifying you of this: \"No image types found\" \n\t- unselect all checkboxes and check that the save button is disabled and a message is shown: \"You must select at least one image type\" \n\t- select different checkboxes and hit save then make sure that the \tsaved value is consistent with the selected checkboxes \n\n", | ||
186 | "expected_results": "" | ||
187 | }, | ||
188 | "7": { | ||
189 | "action": "IMAGE_INSTALL_append: \n\t- check that the \"change\" icon is present (represented by a pen icon) \n\t- click on the \"change\" icon and check that the variable becomes a text field, populated with the current value of the variable. \n\n\t- check that the save button is disabled when the text field is empty \n\t- insert test in the text field (for example \"package1\") and hit save; be aware that there is no input validation for this variable \n\t- check that a new \"delete\" icon(a trashcan) has appeared next to the pen icon \n\t- check that clicking on the trashcan icon resets the value to \"Not set\" and makes the trashcan icon dissapear \n\n", | ||
190 | "expected_results": "" | ||
191 | }, | ||
192 | "8": { | ||
193 | "action": "PACKAGE_CLASSES: \n\t- check that the \"change\" icon is present (represented by a pen icon) \n\t- click on the \"change\" icon and check that the variable becomes editable with the following components: \n\t\t", | ||
194 | "expected_results": "" | ||
195 | }, | ||
196 | "9": { | ||
197 | "action": "A dropdown menu with values 'package_dev', 'package_ipk' and 'package_rpm' in this order. The value selected when you enter the editable state matches the first value of the variable (e.g. if the value is set to 'package_dev package_ipk' the value selected is 'package_dev'). \n \n\t\t", | ||
198 | "expected_results": "" | ||
199 | }, | ||
200 | "10": { | ||
201 | "action": "Two checkboxes, showing the 2 unselected values in the dropdown menu. \n\n\t- verify that the checkboxes are checked or unchecked to reflect the variable value (e.g. if the value is set to 'package_dev package_ipk', the 'package_ipk' checkbox is checked, and the 'package_rpm' checkbox is unchecked). \n\n\tBoth checkboxes can be unchecked. The value of the checkboxes changes dynamically as I change the selected value in the dropdown menu. This means that any changes to the dropdown menu should uncheck the checkboxes. \n\n\t- click on save and check that the value selected in the dropdown menu is the first value in the variable, followed by any checked checkboxes. \n\n\n", | ||
202 | "expected_results": "" | ||
203 | }, | ||
204 | "11": { | ||
205 | "action": "Adding variables: \n\t- check that the \"add variable\" form has 2 text fields: one for the variable name and a second one for the variable value, plus an \"add\" button that is disabled until both text fields have some input in them. \n \n\t- check variable name validation: variable names cannot have spaces, and can only include letters, numbers, underscores and dashes; variable names entered cannot match the name of a variable already on the list; variable names cannot match the blacklisted variables mentioned in the text on the right-hand side of the page \n\n\t - check that an error message is shown indicating validation has failed and why once you try to put in the value or click on the \"Add variable\" button ", | ||
206 | "expected_results": "All mentioned elements should be present and functional." | ||
207 | }, | ||
208 | "12": { | ||
209 | "action": "insert a valid combination and click on \"Add variable\"; check that a new variable/value pair is added at the bottom of the variable list and that the text fields in the \"add variable\" form are cleared and the \"add\" button is disabled \n\t- check that the added variable has a \"change\" icon present next to the variable value, and also that a \"delete\" icon is present next to the variable name \n\t- check that clicking the \"change\" icon makes the variable editable in a text field containing the value of the variable \n\t- check that, if you delete the content of the text field, the save button is\tdisabled\n\t- check that clicking on the \"delete\" button causes both the variable name and the variable value to be removed from the variables list", | ||
210 | "expected_results": "All mentioned elements should be present and functional." | ||
211 | } | ||
212 | }, | ||
213 | "summary": "Configuration_variables:_Test_UI_elements" | ||
214 | } | ||
215 | }, | ||
216 | { | ||
217 | "test": { | ||
218 | "@alias": "toaster.toaster.Project_builds:_Default_view", | ||
219 | "author": [ | ||
220 | { | ||
221 | "email": "stanciux.mihail@intel.com", | ||
222 | "name": "stanciux.mihail@intel.com" | ||
223 | } | ||
224 | ], | ||
225 | "execution": { | ||
226 | "1": { | ||
227 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
228 | "expected_results": "" | ||
229 | }, | ||
230 | "2": { | ||
231 | "action": "Click on the \"Builds\" , next to the \"Configuration\" Button. \n\n", | ||
232 | "expected_results": "" | ||
233 | }, | ||
234 | "3": { | ||
235 | "action": "Check that the page heading includes a counter with the number of builds run for the project(eg. \"Project builds (4)\"). \n\n", | ||
236 | "expected_results": "" | ||
237 | }, | ||
238 | "4": { | ||
239 | "action": "Check that the following table heads are visible by default: outcome, completed on, failed tasks, errors, warnings, image files. \n\n", | ||
240 | "expected_results": "" | ||
241 | }, | ||
242 | "5": { | ||
243 | "action": "Check that by default the table is sorted by \"Completed on\" in descending order", | ||
244 | "expected_results": "All mentioned elements should be present." | ||
245 | } | ||
246 | }, | ||
247 | "summary": "Project_builds:_Default_view" | ||
248 | } | ||
249 | }, | ||
250 | { | ||
251 | "test": { | ||
252 | "@alias": "toaster.toaster.Project_builds:_Sorting_the_project_builds_table", | ||
253 | "author": [ | ||
254 | { | ||
255 | "email": "stanciux.mihail@intel.com", | ||
256 | "name": "stanciux.mihail@intel.com" | ||
257 | } | ||
258 | ], | ||
259 | "execution": { | ||
260 | "1": { | ||
261 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
262 | "expected_results": "" | ||
263 | }, | ||
264 | "2": { | ||
265 | "action": "Click on the \"View all project builds\" link situated below the top-most \"Build\" button and text field, next to the \"View all targets\" link \n\n\n", | ||
266 | "expected_results": "" | ||
267 | }, | ||
268 | "3": { | ||
269 | "action": "Verify that, by default, the table is sorted by \"Completed on\" in descending order. \n\n", | ||
270 | "expected_results": "" | ||
271 | }, | ||
272 | "4": { | ||
273 | "action": "Activate all columns from the \"Edit columns\" table. \n\n", | ||
274 | "expected_results": "" | ||
275 | }, | ||
276 | "5": { | ||
277 | "action": "Check that the following columns are sortable, both in ascending and descending order: outcome, target, machine, started on, completed on, warning, project \n\n", | ||
278 | "expected_results": "" | ||
279 | }, | ||
280 | "6": { | ||
281 | "action": "Verify that hiding a column that is currently being used as the sorting criteria causes the sorting to reset to the default - i.e \"Completed on\" in descending order.", | ||
282 | "expected_results": "All mentioned elements should be present and functional." | ||
283 | } | ||
284 | }, | ||
285 | "summary": "Project_builds:_Sorting_the_project_builds_table" | ||
286 | } | ||
287 | }, | ||
288 | { | ||
289 | "test": { | ||
290 | "@alias": "toaster.toaster.Project_builds:_customize_the_columns_of_the_table", | ||
291 | "author": [ | ||
292 | { | ||
293 | "email": "stanciux.mihail@intel.com", | ||
294 | "name": "stanciux.mihail@intel.com" | ||
295 | } | ||
296 | ], | ||
297 | "execution": { | ||
298 | "1": { | ||
299 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
300 | "expected_results": "" | ||
301 | }, | ||
302 | "2": { | ||
303 | "action": "Click on the \"View all project builds\" link situated below the top-most \"Build\" button and text field, next to the \"View all targets\" link \n\n", | ||
304 | "expected_results": "" | ||
305 | }, | ||
306 | "3": { | ||
307 | "action": "Click on the \"Edit column\" menu and check that the selected columns match the columns currently being shown. \n\n", | ||
308 | "expected_results": "" | ||
309 | }, | ||
310 | "4": { | ||
311 | "action": "Check that the following columns cannot be removed from the shown columns: completed on, outcome, recipe \n\n", | ||
312 | "expected_results": "" | ||
313 | }, | ||
314 | "5": { | ||
315 | "action": "Check that unchecked items changed to checked immediately appear in the table and that checked items changed to unchecked immediately disappear from the table.", | ||
316 | "expected_results": "All mentioned elements should be present and functional." | ||
317 | } | ||
318 | }, | ||
319 | "summary": "Project_builds:_customize_the_columns_of_the_table" | ||
320 | } | ||
321 | }, | ||
322 | { | ||
323 | "test": { | ||
324 | "@alias": "toaster.toaster.Project_builds:_filter_the_contents_of_the_table", | ||
325 | "author": [ | ||
326 | { | ||
327 | "email": "stanciux.mihail@intel.com", | ||
328 | "name": "stanciux.mihail@intel.com" | ||
329 | } | ||
330 | ], | ||
331 | "execution": { | ||
332 | "1": { | ||
333 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
334 | "expected_results": "" | ||
335 | }, | ||
336 | "2": { | ||
337 | "action": "Click on the \"View all project builds\" link situated below the top-most \"Build\" button and text field, next to the \"View all targets\" link. \n\n", | ||
338 | "expected_results": "" | ||
339 | }, | ||
340 | "3": { | ||
341 | "action": "Make sure the following columns have filters: outcome, started on, completed on, failed tasks. \n\n", | ||
342 | "expected_results": "" | ||
343 | }, | ||
344 | "4": { | ||
345 | "action": "Filters are mutually exclusive. Click a filter button of a one column and a filter dialogue occurs. Select a filter item. The filter result would be showed. Then select another filter item of another column and the previously applied filter is overridden by the newly selected filter when a filter from a different column is applied to the table. This filter will override the current filter.\" \n\n", | ||
346 | "expected_results": "" | ||
347 | }, | ||
348 | "5": { | ||
349 | "action": "Filters are overridden by search. Run a search query and you can see previous filter results are overridden by the results of the search query.", | ||
350 | "expected_results": "All mentioned elements should be present and functional." | ||
351 | } | ||
352 | }, | ||
353 | "summary": "Project_builds:_filter_the_contents_of_the_table" | ||
354 | } | ||
355 | }, | ||
356 | { | ||
357 | "test": { | ||
358 | "@alias": "toaster.toaster.Project_builds:_search_the_contents_of_the_table", | ||
359 | "author": [ | ||
360 | { | ||
361 | "email": "stanciux.mihail@intel.com", | ||
362 | "name": "stanciux.mihail@intel.com" | ||
363 | } | ||
364 | ], | ||
365 | "execution": { | ||
366 | "1": { | ||
367 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n\n", | ||
368 | "expected_results": "" | ||
369 | }, | ||
370 | "2": { | ||
371 | "action": "Click on the \"View all project builds\" link situated below the top-most \"Build\" button and text field, next to the \"View all targets\" link. \n\n", | ||
372 | "expected_results": "" | ||
373 | }, | ||
374 | "3": { | ||
375 | "action": "When no search query has been entered, we have placeholder text saying: \"Search builds\". The placeholder text disappears when the first character is typed. \n\n", | ||
376 | "expected_results": "" | ||
377 | }, | ||
378 | "4": { | ||
379 | "action": "When a search query has been submitted and results returned: \n- We keep the search string in the text input field. \n- We provide a \"Clear search\" icon (icon-remove-sign). Click it to clear the search and display all packages. \n- We change the page heading to indicate the number of results returned by the search query. \n\n", | ||
380 | "expected_results": "" | ||
381 | }, | ||
382 | "5": { | ||
383 | "action": "If your search query returns no results, the page heading changes to \"No packages found\", and we show you an alert with a search form and an option to show all packages. \n\n", | ||
384 | "expected_results": "" | ||
385 | }, | ||
386 | "6": { | ||
387 | "action": "Searching does not change the state of the table: the same columns remain hidden and the same sorting applied. ", | ||
388 | "expected_results": "All mentioned elements should be present and functional." | ||
389 | } | ||
390 | }, | ||
391 | "summary": "Project_builds:_search_the_contents_of_the_table" | ||
392 | } | ||
393 | }, | ||
394 | { | ||
395 | "test": { | ||
396 | "@alias": "toaster.toaster.Layer_details_page:_Default_view", | ||
397 | "author": [ | ||
398 | { | ||
399 | "email": "stanciux.mihail@intel.com", | ||
400 | "name": "stanciux.mihail@intel.com" | ||
401 | } | ||
402 | ], | ||
403 | "execution": { | ||
404 | "1": { | ||
405 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
406 | "expected_results": "" | ||
407 | }, | ||
408 | "2": { | ||
409 | "action": "Click on the \"View compatible layers\" link situated in the \"Project configuration\" portion of the page, under \"Layers\" table. \n\n", | ||
410 | "expected_results": "" | ||
411 | }, | ||
412 | "3": { | ||
413 | "action": "Click on a layer (for example \"meta-aarch64\"). Notice that the page is divided into 2 columns: the left one is broken down into tabs; the right one provides information about the layer. \n\n", | ||
414 | "expected_results": "" | ||
415 | }, | ||
416 | "4": { | ||
417 | "action": "Check that breadcrumbs exist at the top of the page. Check that they work by clicking on them, then hitting back to return to the layer detail page. \n\n", | ||
418 | "expected_results": "" | ||
419 | }, | ||
420 | "5": { | ||
421 | "action": "Check that the page heading includes the layer branch name - it should look something like meta-aarch64(dizzy) if the dizzy branch was selected. The branch name should also be present in the breadcrumbs. \n\n", | ||
422 | "expected_results": "" | ||
423 | }, | ||
424 | "6": { | ||
425 | "action": "The \"About\" information: \nit shows summary, description in this order, if not empty. If an information item is empty (like the Summary in the example shown in this page), it does not display. \n \n\n", | ||
426 | "expected_results": "" | ||
427 | }, | ||
428 | "7": { | ||
429 | "action": "The tabs: \nCheck that there are 3 tabs: \"layer details\", \"recipes\", \"machines\" showing up in this order. \n\n", | ||
430 | "expected_results": "" | ||
431 | }, | ||
432 | "8": { | ||
433 | "action": "\"Layer details\" tab: \nCheck that the tab shows: \n- A button to add / remove the layer to / from the project. In this tab, the button labels are\"Add the $layer_name layer to your project\" \"Delete the $layer_name layer from your project\" \n- Some details about the layer: repository URL, repository subdirectory, revision (the branch) and the list of layer dependencies. If any of the above details is blank (most likely, the subdirectory) it does not display.The icons next to the repository and subdirectory information are links to their web instances. Those links should open in a new window. \n\n", | ||
434 | "expected_results": "" | ||
435 | }, | ||
436 | "9": { | ||
437 | "action": "The \"Recipes\" tab: \nCheck that it shows: \n\t", | ||
438 | "expected_results": "" | ||
439 | }, | ||
440 | "10": { | ||
441 | "action": "A counter in the tab label showing the total number of targets provided by the layer \n\t", | ||
442 | "expected_results": "" | ||
443 | }, | ||
444 | "11": { | ||
445 | "action": "A button to add / remove the layer to / from the project. In this tab, the button labels are \"Add the $layer_name layer to your project to enable these targets\"/\"Delete the $layer_name layer from your project\" \n\t", | ||
446 | "expected_results": "" | ||
447 | }, | ||
448 | "12": { | ||
449 | "action": "A recipes table with the following columns: \n \n- Recipe \n- Description: the value of the DESCRIPTION variable. If not set, then the value of the SUMMARY variable. \n- Build recipe, which shows a \"build recipe\" button. The \"build recipe\" button is disabled when the layer is not added to the project. \n\nThe recipes table is sorted by \"Recipe\" in ascending alphabetical order. \n\n1", | ||
450 | "expected_results": "" | ||
451 | }, | ||
452 | "13": { | ||
453 | "action": "The \"Machines\" tab: \n\t", | ||
454 | "expected_results": "" | ||
455 | }, | ||
456 | "14": { | ||
457 | "action": "A counter in the tab label showing the total number of machines provided by the layer \n\t", | ||
458 | "expected_results": "" | ||
459 | }, | ||
460 | "15": { | ||
461 | "action": "A button to add/remove the layer to/from the project. In this tab, the button labels are \"Add the $layer_name layer to your project to enable these machines\"/\"Delete the $layer_name layer from your project\" \n\t", | ||
462 | "expected_results": "" | ||
463 | }, | ||
464 | "16": { | ||
465 | "action": "A machines table with the following columns: \n \n- Machine. \n \n- Description: The value of the DESCRIPTION variable in the .conf file \n- Select machine, which shows a \"select\" button. The \"select\" button is disabled when the layer is not added to the project. \nThe machines table is sorted by \"Machine\" in ascending alphabetical order. \n", | ||
466 | "expected_results": "All mentioned elements should be present and functional." | ||
467 | } | ||
468 | }, | ||
469 | "summary": "Layer_details_page:_Default_view" | ||
470 | } | ||
471 | }, | ||
472 | { | ||
473 | "test": { | ||
474 | "@alias": "toaster.toaster.Layer_details_page:_UI_functionality", | ||
475 | "author": [ | ||
476 | { | ||
477 | "email": "stanciux.mihail@intel.com", | ||
478 | "name": "stanciux.mihail@intel.com" | ||
479 | } | ||
480 | ], | ||
481 | "execution": { | ||
482 | "1": { | ||
483 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
484 | "expected_results": "" | ||
485 | }, | ||
486 | "2": { | ||
487 | "action": "Click on the \"View compatible layers\" link situated in the \"Project configuration\" portion of the page, under \"Layers\" \n\n", | ||
488 | "expected_results": "" | ||
489 | }, | ||
490 | "3": { | ||
491 | "action": "Click on a layer (for example \"meta-aarch64\"). \n\n", | ||
492 | "expected_results": "" | ||
493 | }, | ||
494 | "4": { | ||
495 | "action": "Adding/removing a layer: \nClick on \"Add the $layer_name_here layer to your project\" and verify that the \"Add layer\" button turns into a red button with the label \"Delete the $layer_name_here layer from your project\" and that at the top of the page, below the header, you see a message \"You have added 1 layer to $project_name_here: $layer_name_here\". This message can be dismissed by clicking on the \"X\" at the top right side of the message. ", | ||
496 | "expected_results": "" | ||
497 | }, | ||
498 | "5": { | ||
499 | "action": "Click on the red \"Delete the $layer_name_here from your project\" button and verify that the \"Delete layer\" button turns back into a grey button with the label \"Add the $layer_name_here to your project\" and that at the top of the page, below the header, you see a message \"You have deleted 1 layer to $project_name_here: $layer_name_here\". This message can be dismissed by clicking on the \"X\" at the top right side of the message. \n\n", | ||
500 | "expected_results": "" | ||
501 | }, | ||
502 | "6": { | ||
503 | "action": "Dependencies window: \n For a layer that has dependencies( for example \"meta-ettus\"), once you click the \"Add layer\" button, verify that you get a message window that presents the dependencies for this layer with the message \"$layer_name_here depends on some layers that are not added to your project. Select the ones you want to add:\", a list with a checkbox for each one and 2 options: \"Add layers\" or \"Cancel\". \nClicking on \"Add layers\" adds all the dependencies and the current layer. Clicking on \"Cancel\" takes you back to the layer detail page without adding any of the layers. \n\n", | ||
504 | "expected_results": "" | ||
505 | }, | ||
506 | "7": { | ||
507 | "action": "\"Recipes\" table \nCheck that if the layer hasn't been added to the project, the \"Build recipe\" button(s) are disabled. After the project is added, check that the \"Build recipe\" button(s) become active and clicking on a button sends you to the main project page and starts a build. \n\n", | ||
508 | "expected_results": "" | ||
509 | }, | ||
510 | "8": { | ||
511 | "action": "\"Machines table\" \nCheck that if the layer hasn't been added to the project, the \"Select machine\" button(s) are disabled. After the project is added, check that the \"Build machine\" button(s) become active and clicking on a button sends you to the main project page and modifies the project machine to the one selected. ", | ||
512 | "expected_results": "All mentioned elements should be present and functional." | ||
513 | } | ||
514 | }, | ||
515 | "summary": "Layer_details_page:_UI_functionality" | ||
516 | } | ||
517 | }, | ||
518 | { | ||
519 | "test": { | ||
520 | "@alias": "toaster.toaster.Importing_new_layers", | ||
521 | "author": [ | ||
522 | { | ||
523 | "email": "stanciux.mihail@intel.com", | ||
524 | "name": "stanciux.mihail@intel.com" | ||
525 | } | ||
526 | ], | ||
527 | "execution": { | ||
528 | "1": { | ||
529 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
530 | "expected_results": "" | ||
531 | }, | ||
532 | "2": { | ||
533 | "action": "Click on the \"Import layer\" link situated in the \"Project configuration\" portion of the page, under \"Layers\" table. \n\n", | ||
534 | "expected_results": "" | ||
535 | }, | ||
536 | "3": { | ||
537 | "action": "Check that the import layer form is shown, with the following elements as text fields to be filled out: \nLayer name (example: meta-imported) \nGit repository URL (example: git://github.com/shr-distribution/meta-smartphone.git) \nRepository subdirectory (optional) (example: meta-acer) \nRevision (example: master) \n\nIn addition, a separate portion of the form will be the \"Layer dependencies\" portion, where you can add dependency layers for the layer you are importing. This portion will contain a list of dependencies already added, with a trashcan icon next to them that will delete them when pressed and a text field with a \"add layer\" button next to it for adding dependencies. (for example: meta-android, meta-oe) \n\n", | ||
538 | "expected_results": "" | ||
539 | }, | ||
540 | "4": { | ||
541 | "action": "At the bottom of the form, check that a button exists with the label \"Import and add to project\". Check that this button is inactive until the required fields are filled out. \nCheck that clicking on the \"Import button\" takes you back to the main project page and that the imported layer, along with any dependencies, were added in the project's layers. ", | ||
542 | "expected_results": "All mentioned elements should be present and functional." | ||
543 | } | ||
544 | }, | ||
545 | "summary": "Importing_new_layers" | ||
546 | } | ||
547 | }, | ||
548 | { | ||
549 | "test": { | ||
550 | "@alias": "toaster.toaster.Layer_details_page:_UI_functionality_for_imported_layers", | ||
551 | "author": [ | ||
552 | { | ||
553 | "email": "stanciux.mihail@intel.com", | ||
554 | "name": "stanciux.mihail@intel.com" | ||
555 | } | ||
556 | ], | ||
557 | "execution": { | ||
558 | "1": { | ||
559 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
560 | "expected_results": "" | ||
561 | }, | ||
562 | "2": { | ||
563 | "action": "Click on the \"View compatible layers\" link situated in the \"Project configuration\" portion of the page, under \"Layers\" table. \n\n", | ||
564 | "expected_results": "" | ||
565 | }, | ||
566 | "3": { | ||
567 | "action": "Select an imported layer (see in TC 1112 how to import a layer). \n\n", | ||
568 | "expected_results": "" | ||
569 | }, | ||
570 | "4": { | ||
571 | "action": "Page heading \nCheck that the page heading includes the branch, tag or commit as entered when importing the layer.\nIf it's a commit, Check that only the first 10 characters are shown followed by an ellipsis character. The full commit shows on hover.The branch, tag or commit information also shows in the breadcrumb. \n\n", | ||
572 | "expected_results": "" | ||
573 | }, | ||
574 | "5": { | ||
575 | "action": "The \"About\" information \nIt shows: \n- Summary \n- Description \nin this order. Those two items always show, independently of them being blank or not, since they can be edited by users. \n\nWhen an information item is empty, it shows as \"not set\" with a \"change\" icon. Click on the icon to add a value. \n\nFor \"Summary\" and \"Description\" clicking the \"change\" icon shows the selected information item in its editable state. It consists of a text area, set to 2 rows for the \"Summary\" and to 6 rows for the \"Description\", plus 'save' and 'cancel' buttons. \nThe 'save' buttons only activate when there is at least one character in the text area. \n\n", | ||
576 | "expected_results": "" | ||
577 | }, | ||
578 | "6": { | ||
579 | "action": "The tabs \nCheck that the tabs shown are: \n- \"Layer details\" \n- \"Recipes\" \n- \"Machines\" \nThe tabs should show in the order in which they are listed above. \n\n\"Layer details\" tab: \nIn not-editable pages, the tab shows: \n- A button to add / remove the layer to / from the project. In this tab, the button labels are: \n\t- \"Add the $layer_name layer to your project\" \n\t- \"Delete the $layer_name layer from your project\" \n\n- Some details about the layer: repository URL, repository subdirectory, revision (branch / tag / commit) and the list of layer dependencies. This is the information required from users when importing a layer. The subdirectory and the layer dependencies can be blank.", | ||
580 | "expected_results": "" | ||
581 | }, | ||
582 | "7": { | ||
583 | "action": "If blank, they show as \"not set\". \n\nEditing the \"Repository URL\" \nThe \"Git repository URL\" cannot be blank. Therefore, we show only a \"change\" icon next to it. When you click the icon, the text input field is set to the current value. If you delete the value from the input field, we disable the \"save\" button. We enable it again when you type something in the field. \n\nEditing the \"Repository subdirectory\" \nThe \"Repository subdirectory\" can be blank. Therefore, we show both \"change\" and \"delete\" icons. When you click the \"delete\" icon, we \nshow the label \"Not set\".", | ||
584 | "expected_results": "" | ||
585 | }, | ||
586 | "8": { | ||
587 | "action": "\nWhen you click the \"change\" icon, the text input field is set \nto the current value. \nIf you delete the value from the input field, we disable the \"save\" button. We enable it again when you type something in the field. \n \n\nEditing the \"Revision\" \nThe \"Revision\" cannot be blank. Therefore, we show only a \"change\" icon next to it. When you click the icon, the text input field is set to the current value. If you delete the value from the input field, we disable the \"save\" button. We enable it again when you type something in the field. \n\nThe \"Recipes\" tab \nIt shows: \n1: A counter in the tab label showing the total number of targets provided by the layer \n2: A button to add/remove the layer to/from the project. ", | ||
588 | "expected_results": "" | ||
589 | }, | ||
590 | "9": { | ||
591 | "action": "In this tab, the button labels are \n \n\"Add the $layer_name layer to your project to enable \nthese targets\" \n\"Delete the $layer_name layer from your project\" \n\n3: A \"Recipes\" table with the following columns: \n \n- Recipe \n- Description: the value of the DESCRIPTION variable. If not set, then the value of the SUMMARY variable. \n- Build recipe, which shows a \"build recipe\" button. The \"build recipe\" button is disabled when the layer is not added to the project. \nThe recipes table is sorted by \"Recipe\" in ascending alphabetical order. \n\nThe \"Machines\" tab: \nIt shows: \n1: A counter in the tab label showing the total number of machines provided by the layer \n2: A button to add/remove the layer to/from the project.", | ||
592 | "expected_results": "" | ||
593 | }, | ||
594 | "10": { | ||
595 | "action": "In this tab, the button labels are \n \n\t- \"Add the $layer_name layer to your project to enable these machines\" \n\t- \"Delete the $layer_name layer from your project\" \n3: A \"machines\" table with the following columns: \n- Machine. \n \n- Description: The value of the DESCRIPTION variable in the .conf file \n- Select machine, which shows a \"select\" button. The \"select\" button is disabled when the layer is not added to the project. \nThe machines table is sorted by \"Machine\" in ascending alphabetical order. ", | ||
596 | "expected_results": "All mentioned elements should be present and functional." | ||
597 | } | ||
598 | }, | ||
599 | "summary": "Layer_details_page:_UI_functionality_for_imported_layers" | ||
600 | } | ||
601 | }, | ||
602 | { | ||
603 | "test": { | ||
604 | "@alias": "toaster.toaster.Multiple_build_directories", | ||
605 | "author": [ | ||
606 | { | ||
607 | "email": "stanciux.mihail@intel.com", | ||
608 | "name": "stanciux.mihail@intel.com" | ||
609 | } | ||
610 | ], | ||
611 | "execution": { | ||
612 | "1": { | ||
613 | "action": "after starting Toaster for the first time, go to http://[localhost]:8000/admin/ and login with the admin user you created during setup. Click on the Build environments section, and on the BuildEnvironment object. \n\n\n\nNote: you can create a superuser to enter as admin with ... poky/bitbake/lib/toaster/manage.py createsuperuser \n\n\n", | ||
614 | "expected_results": "" | ||
615 | }, | ||
616 | "2": { | ||
617 | "action": "make note of the \"sourcedir\" and \"builddir\" values. The build dir will be something like \"/home/user/path/build\" \n\n", | ||
618 | "expected_results": "" | ||
619 | }, | ||
620 | "3": { | ||
621 | "action": " click \"back\", and click on the \"Add build environment\" button in the upper right corner. \n\n", | ||
622 | "expected_results": "" | ||
623 | }, | ||
624 | "4": { | ||
625 | "action": "enter Address \"2\", Betype: \"local\", \"sourcedir\" is to be set to whatever the original build env is set, and \"builddir\" is ANOTHER path at the same level as the original builddir - e.g. \"/home/user/path/build2\" \n\n", | ||
626 | "expected_results": "" | ||
627 | }, | ||
628 | "5": { | ||
629 | "action": "Click save \n\n", | ||
630 | "expected_results": "" | ||
631 | }, | ||
632 | "6": { | ||
633 | "action": "Execute command : /poky$ source oe-init-build-env build2 \n\n", | ||
634 | "expected_results": "" | ||
635 | }, | ||
636 | "7": { | ||
637 | "action": "Create new project \n\n", | ||
638 | "expected_results": "" | ||
639 | }, | ||
640 | "8": { | ||
641 | "action": "issue 2 build (e.g. core-image-minimal core-image-sato)\n\n\n\n\n\n", | ||
642 | "expected_results": "Both build commands should run simultaneously." | ||
643 | } | ||
644 | }, | ||
645 | "summary": "Multiple_build_directories" | ||
646 | } | ||
647 | }, | ||
648 | { | ||
649 | "test": { | ||
650 | "@alias": "toaster.toaster.Run_again_button_from_all_builds_page_must_run_the_specified_task", | ||
651 | "author": [ | ||
652 | { | ||
653 | "email": "alexandru.costinx.roman@intel.com", | ||
654 | "name": "alexandru.costinx.roman@intel.com" | ||
655 | } | ||
656 | ], | ||
657 | "execution": { | ||
658 | "1": { | ||
659 | "action": "Start Toaster.", | ||
660 | "expected_results": "Toaster starts. \n" | ||
661 | }, | ||
662 | "2": { | ||
663 | "action": "Click on new project button.", | ||
664 | "expected_results": " Open create a new project page. \n" | ||
665 | }, | ||
666 | "3": { | ||
667 | "action": "Enter a project name, select a release and click on create project or select an existing project.", | ||
668 | "expected_results": " Project Created. \n" | ||
669 | }, | ||
670 | "4": { | ||
671 | "action": "Build a image task (ex: core-image-minimal:clean) and wait until build finish.\nfrom all build page.", | ||
672 | "expected_results": " Build task finishes successfully. \n" | ||
673 | }, | ||
674 | "5": { | ||
675 | "action": "Click on rebuild button from all build page.", | ||
676 | "expected_results": "Specified task will run again. \n" | ||
677 | }, | ||
678 | "6": { | ||
679 | "action": "Click on the build and verify if the number of tasks executed = 1.", | ||
680 | "expected_results": "Only the specified task is executed. \n" | ||
681 | }, | ||
682 | "7": { | ||
683 | "action": "From project builds page click on run again button.", | ||
684 | "expected_results": "Specified task will run again.\n" | ||
685 | }, | ||
686 | "8": { | ||
687 | "action": "Click on the build and verify if the number of tasks executed = 1.", | ||
688 | "expected_results": "" | ||
689 | } | ||
690 | }, | ||
691 | "summary": "Run_again_button_from_all_builds_page_must_run_the_specified_task" | ||
692 | } | ||
693 | }, | ||
694 | { | ||
695 | "test": { | ||
696 | "@alias": "toaster.toaster.Intel_layers_builds", | ||
697 | "author": [ | ||
698 | { | ||
699 | "email": "alexandru.costinx.roman@intel.com", | ||
700 | "name": "alexandru.costinx.roman@intel.com" | ||
701 | } | ||
702 | ], | ||
703 | "execution": { | ||
704 | "1": { | ||
705 | "action": "Start Toaster.", | ||
706 | "expected_results": "Toaster starts. \n" | ||
707 | }, | ||
708 | "2": { | ||
709 | "action": "Click on new project button.", | ||
710 | "expected_results": "Open create a new project page. \n" | ||
711 | }, | ||
712 | "3": { | ||
713 | "action": "Enter a project name, select a release and click on create project.", | ||
714 | "expected_results": "Project Created. \n" | ||
715 | }, | ||
716 | "4": { | ||
717 | "action": "Click on layers tab.", | ||
718 | "expected_results": "Open compatible layers page. \n" | ||
719 | }, | ||
720 | "5": { | ||
721 | "action": "Search for intel.", | ||
722 | "expected_results": "Return results \n" | ||
723 | }, | ||
724 | "6": { | ||
725 | "action": "Add intel layers like: meta-intel, meta-intel-quark.", | ||
726 | "expected_results": "Layers added to project. \n" | ||
727 | }, | ||
728 | "7": { | ||
729 | "action": "Click on the added layer.", | ||
730 | "expected_results": "Open layer page. \n" | ||
731 | }, | ||
732 | "8": { | ||
733 | "action": "From machine tab, select a machine.", | ||
734 | "expected_results": "Machine has changed. \n" | ||
735 | }, | ||
736 | "9": { | ||
737 | "action": "Build a recipe(core-image-minimal) or a recipe from recipe tab.", | ||
738 | "expected_results": "Build finishes successfully." | ||
739 | } | ||
740 | }, | ||
741 | "summary": "Intel_layers_builds" | ||
742 | } | ||
743 | }, | ||
744 | { | ||
745 | "test": { | ||
746 | "@alias": "toaster.toaster.Download_other_artifacts", | ||
747 | "author": [ | ||
748 | { | ||
749 | "email": "alexandru.costinx.roman@intel.com", | ||
750 | "name": "alexandru.costinx.roman@intel.com" | ||
751 | } | ||
752 | ], | ||
753 | "execution": { | ||
754 | "1": { | ||
755 | "action": "Delete the build/tmp folder. (to make sure the rootfs task runs and other artifacts are generated for the build)", | ||
756 | "expected_results": "" | ||
757 | }, | ||
758 | "2": { | ||
759 | "action": "Start Toaster.", | ||
760 | "expected_results": "Toaster starts. \n\t" | ||
761 | }, | ||
762 | "3": { | ||
763 | "action": "Click on new project button.", | ||
764 | "expected_results": "Open create a new project page. \n\t" | ||
765 | }, | ||
766 | "4": { | ||
767 | "action": "Enter a project name, select a release and click on create project.", | ||
768 | "expected_results": "Project Created. \n\t" | ||
769 | }, | ||
770 | "5": { | ||
771 | "action": "Build an image recipe (ex: core-image-minimal) and wait until build finish.", | ||
772 | "expected_results": "Build finishes successfully. \n\t" | ||
773 | }, | ||
774 | "6": { | ||
775 | "action": "Click on the built recipe.", | ||
776 | "expected_results": "Open build summary page. \n\t" | ||
777 | }, | ||
778 | "7": { | ||
779 | "action": "From other artifacts tab click on a link.", | ||
780 | "expected_results": "You can download other artifacts." | ||
781 | } | ||
782 | }, | ||
783 | "summary": "Download_other_artifacts" | ||
784 | } | ||
785 | }, | ||
786 | { | ||
787 | "test": { | ||
788 | "@alias": "toaster.toaster.Download_licence_manifest", | ||
789 | "author": [ | ||
790 | { | ||
791 | "email": "alexandru.costinx.roman@intel.com", | ||
792 | "name": "alexandru.costinx.roman@intel.com" | ||
793 | } | ||
794 | ], | ||
795 | "execution": { | ||
796 | "1": { | ||
797 | "action": "Delete the build/tmp folder. (to make sure license manifest is generated)", | ||
798 | "expected_results": "" | ||
799 | }, | ||
800 | "2": { | ||
801 | "action": "Start Toaster \n\n", | ||
802 | "expected_results": "Toaster starts. \n" | ||
803 | }, | ||
804 | "3": { | ||
805 | "action": "Click on new project button. \n\n", | ||
806 | "expected_results": "Open create a new project page. \n" | ||
807 | }, | ||
808 | "4": { | ||
809 | "action": "Enter a project name, select a release and click on create project. \n\n", | ||
810 | "expected_results": "Project Created. \n" | ||
811 | }, | ||
812 | "5": { | ||
813 | "action": "Build an image recipe (ex: core-image-minimal) and wait until build finish. \n\n", | ||
814 | "expected_results": "Build finishes successfully. \n" | ||
815 | }, | ||
816 | "6": { | ||
817 | "action": "Click on the built recipe. \n\n", | ||
818 | "expected_results": "Open build summary page. \n" | ||
819 | }, | ||
820 | "7": { | ||
821 | "action": "From Image tab click on \"Download\" button for License manifest.", | ||
822 | "expected_results": "You can download license manifest." | ||
823 | } | ||
824 | }, | ||
825 | "summary": "Download_licence_manifest" | ||
826 | } | ||
827 | }, | ||
828 | { | ||
829 | "test": { | ||
830 | "@alias": "toaster.toaster.Test_dependencies_layers", | ||
831 | "author": [ | ||
832 | { | ||
833 | "email": "alexandru.costinx.roman@intel.com", | ||
834 | "name": "alexandru.costinx.roman@intel.com" | ||
835 | } | ||
836 | ], | ||
837 | "execution": { | ||
838 | "1": { | ||
839 | "action": "Start Toaster.", | ||
840 | "expected_results": "Toaster starts. \n" | ||
841 | }, | ||
842 | "2": { | ||
843 | "action": "Click on new project button.", | ||
844 | "expected_results": "Open create a new project page. \n" | ||
845 | }, | ||
846 | "3": { | ||
847 | "action": "Enter a project name, select a release and click on create project.", | ||
848 | "expected_results": "Project Created. \n" | ||
849 | }, | ||
850 | "4": { | ||
851 | "action": "Click on Layers.", | ||
852 | "expected_results": "Open compatible layers page. \n" | ||
853 | }, | ||
854 | "5": { | ||
855 | "action": "Add a layer with multi-level dependencies. (ex: meta-acer) \nThis layer depends on meta-networking, which in turn depends on meta-android. \n \n", | ||
856 | "expected_results": "The selected layer and dependencies were added to project. \n" | ||
857 | }, | ||
858 | "6": { | ||
859 | "action": "Check if meta-python appears in the dependencies list, and add the layers to project.", | ||
860 | "expected_results": "" | ||
861 | }, | ||
862 | "7": { | ||
863 | "action": "Delete a dependency layer.", | ||
864 | "expected_results": "Layer removed from project. \n \n" | ||
865 | }, | ||
866 | "8": { | ||
867 | "action": "Build a recipe (ex: core-image-minimal) and wait until build finish.\n", | ||
868 | "expected_results": "Build will fail with an error.\n\n\t" | ||
869 | } | ||
870 | }, | ||
871 | "summary": "Test_dependencies_layers" | ||
872 | } | ||
873 | }, | ||
874 | { | ||
875 | "test": { | ||
876 | "@alias": "toaster.toaster.Test_build_recipe_button_from_recipes_page", | ||
877 | "author": [ | ||
878 | { | ||
879 | "email": "alexandru.costinx.roman@intel.com", | ||
880 | "name": "alexandru.costinx.roman@intel.com" | ||
881 | } | ||
882 | ], | ||
883 | "execution": { | ||
884 | "1": { | ||
885 | "action": "Start Toaster.", | ||
886 | "expected_results": "Toaster starts. \n" | ||
887 | }, | ||
888 | "2": { | ||
889 | "action": "Click on new project button.", | ||
890 | "expected_results": "Open create a new project page. \n" | ||
891 | }, | ||
892 | "3": { | ||
893 | "action": "Enter a project name, select a release and click on create project.", | ||
894 | "expected_results": "Project Created. \n" | ||
895 | }, | ||
896 | "4": { | ||
897 | "action": "Click on software recipes / image recipes.", | ||
898 | "expected_results": "Open compatible software recipes page. \n" | ||
899 | }, | ||
900 | "5": { | ||
901 | "action": "Select a recipe and click on 'add layer' button.", | ||
902 | "expected_results": "Layer added to project and the 'add layer' button becomes 'build recipe'. \n" | ||
903 | }, | ||
904 | "6": { | ||
905 | "action": "Click on \"Build recipe\" button for one recipe (ex : core-image-minimal / busybox).", | ||
906 | "expected_results": "Build finishes successfully." | ||
907 | }, | ||
908 | "7": { | ||
909 | "action": "Test this for software and image recipes tables.", | ||
910 | "expected_results": "" | ||
911 | } | ||
912 | }, | ||
913 | "summary": "Test_build_recipe_button_from_recipes_page" | ||
914 | } | ||
915 | }, | ||
916 | { | ||
917 | "test": { | ||
918 | "@alias": "toaster.toaster.Test_compatible_machines", | ||
919 | "author": [ | ||
920 | { | ||
921 | "email": "alexandru.costinx.roman@intel.com", | ||
922 | "name": "alexandru.costinx.roman@intel.com" | ||
923 | } | ||
924 | ], | ||
925 | "execution": { | ||
926 | "1": { | ||
927 | "action": "Start Toaster.", | ||
928 | "expected_results": "Toaster starts. \n" | ||
929 | }, | ||
930 | "2": { | ||
931 | "action": "Click on new project button.", | ||
932 | "expected_results": "Open create a new project page. \n" | ||
933 | }, | ||
934 | "3": { | ||
935 | "action": "Enter a project name, select a master release and click on create project.", | ||
936 | "expected_results": "Project Created. \n" | ||
937 | }, | ||
938 | "4": { | ||
939 | "action": "Go to machines page.", | ||
940 | "expected_results": "Open compatible machines page. \n" | ||
941 | }, | ||
942 | "5": { | ||
943 | "action": "Choose a machine and click on add layer for it. (intel-core2-32)", | ||
944 | "expected_results": "Layers added to project and add layer button becomes select machine. \n" | ||
945 | }, | ||
946 | "6": { | ||
947 | "action": "Click on select machine.", | ||
948 | "expected_results": "Machine has changed. \n" | ||
949 | }, | ||
950 | "7": { | ||
951 | "action": "Go to layer page that generate the machine. (meta-intel)", | ||
952 | "expected_results": "Open layer page \n" | ||
953 | }, | ||
954 | "8": { | ||
955 | "action": "Build a recipe generated by that layer.", | ||
956 | "expected_results": "Build finishes successfully." | ||
957 | } | ||
958 | }, | ||
959 | "summary": "Test_compatible_machines" | ||
960 | } | ||
961 | }, | ||
962 | { | ||
963 | "test": { | ||
964 | "@alias": "toaster.toaster.Builds_with_different_machines", | ||
965 | "author": [ | ||
966 | { | ||
967 | "email": "alexandru.costinx.roman@intel.com", | ||
968 | "name": "alexandru.costinx.roman@intel.com" | ||
969 | } | ||
970 | ], | ||
971 | "execution": { | ||
972 | "1": { | ||
973 | "action": "Start Toaster.", | ||
974 | "expected_results": "Toaster starts. \n" | ||
975 | }, | ||
976 | "2": { | ||
977 | "action": "Click on new project button.", | ||
978 | "expected_results": "Open create a new project page. \n" | ||
979 | }, | ||
980 | "3": { | ||
981 | "action": "Enter a project name, select a master release and click on create project.", | ||
982 | "expected_results": "Project Created. \n" | ||
983 | }, | ||
984 | "4": { | ||
985 | "action": "Select a machine (ex: qemux86-64)", | ||
986 | "expected_results": "The machine has changed. \n" | ||
987 | }, | ||
988 | "5": { | ||
989 | "action": "Build a recipe (ex: core-image-minimal) and wait until buid finish.", | ||
990 | "expected_results": "Build finishes successfully. \n" | ||
991 | }, | ||
992 | "6": { | ||
993 | "action": "Go to project page and change the machine (ex: qemumips)", | ||
994 | "expected_results": "The machine has changed. \n" | ||
995 | }, | ||
996 | "7": { | ||
997 | "action": "Build a recipe (ex: core-image-sato) and wait until build finish.", | ||
998 | "expected_results": "Build finishes successfully. \n\nYou can build recipes with different machines." | ||
999 | }, | ||
1000 | "8": { | ||
1001 | "action": "Check on build summary page that the machine match the machine selected.", | ||
1002 | "expected_results": "" | ||
1003 | } | ||
1004 | }, | ||
1005 | "summary": "Builds_with_different_machines" | ||
1006 | } | ||
1007 | }, | ||
1008 | { | ||
1009 | "test": { | ||
1010 | "@alias": "toaster.toaster.Test_bitbake_variables_-_IMAGE_FSTYPES", | ||
1011 | "author": [ | ||
1012 | { | ||
1013 | "email": "alexandru.costinx.roman@intel.com", | ||
1014 | "name": "alexandru.costinx.roman@intel.com" | ||
1015 | } | ||
1016 | ], | ||
1017 | "execution": { | ||
1018 | "1": { | ||
1019 | "action": "Start Toaster.", | ||
1020 | "expected_results": "Toaster starts. \n" | ||
1021 | }, | ||
1022 | "2": { | ||
1023 | "action": "Click on new project button.", | ||
1024 | "expected_results": "Open create a new project page. \n" | ||
1025 | }, | ||
1026 | "3": { | ||
1027 | "action": "Enter a project name, select release and click on create project.", | ||
1028 | "expected_results": "Project Created. \n" | ||
1029 | }, | ||
1030 | "4": { | ||
1031 | "action": "Go to Configuration --> BitBake variables", | ||
1032 | "expected_results": "Open Bitbake variables page. \n" | ||
1033 | }, | ||
1034 | "5": { | ||
1035 | "action": "Change IMAGE_FSTYPES variable, add some image types like: hddimg, ext4, etc.", | ||
1036 | "expected_results": "Image types were added. \n" | ||
1037 | }, | ||
1038 | "6": { | ||
1039 | "action": "Build a recipe (ex: core-image-minimal) and wait until build finish.", | ||
1040 | "expected_results": "Build finishes successfully. \n" | ||
1041 | }, | ||
1042 | "7": { | ||
1043 | "action": "Verify in the build summary page if the image types selected were built.", | ||
1044 | "expected_results": "All the image types selected appears in the build summary page." | ||
1045 | } | ||
1046 | }, | ||
1047 | "summary": "Test_bitbake_variables_-_IMAGE_FSTYPES" | ||
1048 | } | ||
1049 | }, | ||
1050 | { | ||
1051 | "test": { | ||
1052 | "@alias": "toaster.toaster.Software_recipes:_default_view", | ||
1053 | "author": [ | ||
1054 | { | ||
1055 | "email": "alexandru.costinx.roman@intel.com", | ||
1056 | "name": "alexandru.costinx.roman@intel.com" | ||
1057 | } | ||
1058 | ], | ||
1059 | "execution": { | ||
1060 | "1": { | ||
1061 | "action": " Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n\n", | ||
1062 | "expected_results": "" | ||
1063 | }, | ||
1064 | "2": { | ||
1065 | "action": " If no images exist in the project, build an image by inserting \"core-image-minimal\" in the \"Recipes\" field and press the \"Build\" button. Wait for the image to finish building. \n\n", | ||
1066 | "expected_results": "" | ||
1067 | }, | ||
1068 | "3": { | ||
1069 | "action": "On the project page click on the \"Software Recipes\" link situated in the left-handed side of the page, under the \"Project configuration\" menus, in the \"COMPATIBLE METADATA\" table. \n\n\n", | ||
1070 | "expected_results": "" | ||
1071 | }, | ||
1072 | "4": { | ||
1073 | "action": "Check that \"Compatible software recipes\" table is populated. \n\n", | ||
1074 | "expected_results": "" | ||
1075 | }, | ||
1076 | "5": { | ||
1077 | "action": "Check that the following columns are shown by default: \n\n\t\tSoftware recipe \n\t\tDescription \n \n\t\tLayer \n\t\tBuild \n\t\t Version ", | ||
1078 | "expected_results": "" | ||
1079 | } | ||
1080 | }, | ||
1081 | "summary": "Software_recipes:_default_view" | ||
1082 | } | ||
1083 | }, | ||
1084 | { | ||
1085 | "test": { | ||
1086 | "@alias": "toaster.toaster.Software_recipes:_sorting_the_content_of_the_software_recipes_table", | ||
1087 | "author": [ | ||
1088 | { | ||
1089 | "email": "alexandru.costinx.roman@intel.com", | ||
1090 | "name": "alexandru.costinx.roman@intel.com" | ||
1091 | } | ||
1092 | ], | ||
1093 | "execution": { | ||
1094 | "1": { | ||
1095 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
1096 | "expected_results": "" | ||
1097 | }, | ||
1098 | "2": { | ||
1099 | "action": "Navigate to the \"Software Recipes\" page. \n\n", | ||
1100 | "expected_results": "" | ||
1101 | }, | ||
1102 | "3": { | ||
1103 | "action": "Make sure the table is sorted on the \"Software Recipe\" column by default in ascending order. \n\n", | ||
1104 | "expected_results": "" | ||
1105 | }, | ||
1106 | "4": { | ||
1107 | "action": "Activate all columns from the \"Edit column\" drop-down menu. Check that \"Build\" and \"Software Recipe\" columns cannot be unchecked. \n\n", | ||
1108 | "expected_results": "" | ||
1109 | }, | ||
1110 | "5": { | ||
1111 | "action": "Check that \"Software Recipe\", \"Section\", \"License\", \"Layer\" are the only sortable table heads. \n\n", | ||
1112 | "expected_results": "" | ||
1113 | }, | ||
1114 | "6": { | ||
1115 | "action": "Sort the table by \"Layer\" and then navigate away by selecting a layer(such as meta-yocto). When you click \"back\" button in web-browser to go back to the \"Compatible image recipes\" table it should still be sorted by \"Layer\". \n\n", | ||
1116 | "expected_results": "" | ||
1117 | }, | ||
1118 | "7": { | ||
1119 | "action": "Sorting and \"Edit columns\" \nIf you use the \"Edit columns\" menu to hide the column with the applied sorting, we revert the sorting to the default sorting (i.e. \"Recipe\"). The default sorting always uses one of the core columns, which cannot be hidden using the \"Edit columns\" menu. \n\n", | ||
1120 | "expected_results": "" | ||
1121 | }, | ||
1122 | "8": { | ||
1123 | "action": "Sorting and search \nSearching should have no impact on the applied sorting. Any results returned should be sorted by the sorting criteria selected when the search query was submitted. \nSort recipes by \"Layer\" column heading. Input a string (such as \"meta\") in search box and click search button. Make sure results returned are sorted by \"Layer\".", | ||
1124 | "expected_results": "" | ||
1125 | } | ||
1126 | }, | ||
1127 | "summary": "Software_recipes:_sorting_the_content_of_the_software_recipes_table" | ||
1128 | } | ||
1129 | }, | ||
1130 | { | ||
1131 | "test": { | ||
1132 | "@alias": "toaster.toaster.Software_recipes:_Searching_the_content_of_the_software_recipes_table", | ||
1133 | "author": [ | ||
1134 | { | ||
1135 | "email": "alexandru.costinx.roman@intel.com", | ||
1136 | "name": "alexandru.costinx.roman@intel.com" | ||
1137 | } | ||
1138 | ], | ||
1139 | "execution": { | ||
1140 | "1": { | ||
1141 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table. \n\n", | ||
1142 | "expected_results": "" | ||
1143 | }, | ||
1144 | "2": { | ||
1145 | "action": "Navigate to the \"Software Recipes\" page. \n\n", | ||
1146 | "expected_results": "" | ||
1147 | }, | ||
1148 | "3": { | ||
1149 | "action": "Check that the search is made of a text input field and a \"Search\" button in a toolbar above the table. \n\n", | ||
1150 | "expected_results": "" | ||
1151 | }, | ||
1152 | "4": { | ||
1153 | "action": "When no search query has been entered, we have placeholder text saying: \"Search compatible software recipes\". \n\n", | ||
1154 | "expected_results": "" | ||
1155 | }, | ||
1156 | "5": { | ||
1157 | "action": "Input \"core\" in the text input field. The placeholder text disappears when the first character is typed. Click search button. \n\n", | ||
1158 | "expected_results": "" | ||
1159 | }, | ||
1160 | "6": { | ||
1161 | "action": " \n(1) returned results \nThe search string is kept in the text input field. The results returned occur. Click \"Clear search\" icon to clear the search and display the compatible recipes. \n(2) no results returned \nIf your search query returns no results, the page heading changes to \"No recipes found\", and we show you an alert with a search form and an option to show all targets. Check that \"show compatible recipes\" button is available. \n\n", | ||
1162 | "expected_results": "" | ||
1163 | }, | ||
1164 | "7": { | ||
1165 | "action": "When I run a search, the search happens against the following columns (independently of they being shown or hidden):\n- Software Recipe\n- Recipe version\n- Description\n- Recipe file\n- Section\n- License\n- Layer\n- Revision\nInput a string to search for the above column headings separately to make sure that the search happens against the columns. \n", | ||
1166 | "expected_results": "" | ||
1167 | }, | ||
1168 | "8": { | ||
1169 | "action": "Search, sorting and \"Edit columns\" \nSearching does not change the state of the table: the same columns remain hidden and the same sorting applied when search results are displayed, but filters are cleared by the search results.\nSearch a string and make sure that the same columns remain hidden and the same sorting applied. \n\n", | ||
1170 | "expected_results": "" | ||
1171 | }, | ||
1172 | "9": { | ||
1173 | "action": "Search and filters \nThe scope of the filters is the content currently on the table (this means all table pages, not only the one displayed). The scope of the search is always the content of the database. \n\nIf I run a search query, any filter applied afterwards will filter the content returned by the search query. \n\nIf I run a search query while a filter is applied, the filter is cleared by the results of the search query (i.e. we display the results of the search query and clear the filter applied beforehand). The same happens if I click the \"Clear search\" icon when a filter is applied to a set of search results (both search results and applied filter are cleared, and the table shows all the targets). ", | ||
1174 | "expected_results": "" | ||
1175 | } | ||
1176 | }, | ||
1177 | "summary": "Software_recipes:_Searching_the_content_of_the_software_recipes_table" | ||
1178 | } | ||
1179 | }, | ||
1180 | { | ||
1181 | "test": { | ||
1182 | "@alias": "toaster.toaster.Software_recipes:_Filter_the_contents_of_the_software_recipes_table", | ||
1183 | "author": [ | ||
1184 | { | ||
1185 | "email": "alexandru.costinx.roman@intel.com", | ||
1186 | "name": "alexandru.costinx.roman@intel.com" | ||
1187 | } | ||
1188 | ], | ||
1189 | "execution": { | ||
1190 | "1": { | ||
1191 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All builds\" table.", | ||
1192 | "expected_results": "" | ||
1193 | }, | ||
1194 | "2": { | ||
1195 | "action": "Navigate to the \"Software Recipes\" page.", | ||
1196 | "expected_results": "" | ||
1197 | }, | ||
1198 | "3": { | ||
1199 | "action": "Make sure the following table column has filters: \n- Build", | ||
1200 | "expected_results": "" | ||
1201 | }, | ||
1202 | "4": { | ||
1203 | "action": "Filters are mutually exclusive. Click a filter button of a one column and a filter dialogue occurs. Select a filter item. The filter result would be showed. Then select another filter item of another column and the previously applied filter is overridden by the newly selected filter when a filter from a different column is applied to the table. In this state, we show some help text next to the \"Apply\" button, saying \"You can only apply one filter to the table. This filter will override the current filter.\"", | ||
1204 | "expected_results": "" | ||
1205 | }, | ||
1206 | "5": { | ||
1207 | "action": "Filters are overridden by search. Run a search query and you can see previous filter results are overridden by the results of the search query.", | ||
1208 | "expected_results": "" | ||
1209 | } | ||
1210 | }, | ||
1211 | "summary": "Software_recipes:_Filter_the_contents_of_the_software_recipes_table" | ||
1212 | } | ||
1213 | }, | ||
1214 | { | ||
1215 | "test": { | ||
1216 | "@alias": "toaster.toaster.Test_the_packages_included_in_the_image", | ||
1217 | "author": [ | ||
1218 | { | ||
1219 | "email": "alexandru.costinx.roman@intel.com", | ||
1220 | "name": "alexandru.costinx.roman@intel.com" | ||
1221 | } | ||
1222 | ], | ||
1223 | "execution": { | ||
1224 | "1": { | ||
1225 | "action": "Start Toaster.", | ||
1226 | "expected_results": "Toaster starts. \n" | ||
1227 | }, | ||
1228 | "2": { | ||
1229 | "action": " Click on new project button.", | ||
1230 | "expected_results": " Open create a new project page. \n" | ||
1231 | }, | ||
1232 | "3": { | ||
1233 | "action": " Enter a project name, select a release and click on create project.", | ||
1234 | "expected_results": " Project Created. \n" | ||
1235 | }, | ||
1236 | "4": { | ||
1237 | "action": " Build a recipe (ex: core-image-minimal) and wait until build finish.", | ||
1238 | "expected_results": " Build finishes successfully. \n" | ||
1239 | }, | ||
1240 | "5": { | ||
1241 | "action": " Click on the built recipe.", | ||
1242 | "expected_results": " Open build summary page. \n" | ||
1243 | }, | ||
1244 | "6": { | ||
1245 | "action": " Under IMAGES tab click on the recipe built.", | ||
1246 | "expected_results": "Image page open. \n" | ||
1247 | }, | ||
1248 | "7": { | ||
1249 | "action": "Click on a package name.", | ||
1250 | "expected_results": "Open the package page. \n" | ||
1251 | }, | ||
1252 | "8": { | ||
1253 | "action": "Under file title click on the link to file.", | ||
1254 | "expected_results": "You are redirected to directory structure and you can see where the file is located." | ||
1255 | } | ||
1256 | }, | ||
1257 | "summary": "Test_the_packages_included_in_the_image" | ||
1258 | } | ||
1259 | }, | ||
1260 | { | ||
1261 | "test": { | ||
1262 | "@alias": "toaster.toaster.Test_the_filters_from_a_image_page", | ||
1263 | "author": [ | ||
1264 | { | ||
1265 | "email": "alexandru.costinx.roman@intel.com", | ||
1266 | "name": "alexandru.costinx.roman@intel.com" | ||
1267 | } | ||
1268 | ], | ||
1269 | "execution": { | ||
1270 | "1": { | ||
1271 | "action": " Start Toaster.", | ||
1272 | "expected_results": "Toaster starts. \n" | ||
1273 | }, | ||
1274 | "2": { | ||
1275 | "action": " Click on new project button.", | ||
1276 | "expected_results": " Open create a new project page. \n" | ||
1277 | }, | ||
1278 | "3": { | ||
1279 | "action": " Enter a project name, select a release and click on create project.", | ||
1280 | "expected_results": " Project Created. \n" | ||
1281 | }, | ||
1282 | "4": { | ||
1283 | "action": " Build a recipe (ex: core-image-minimal) and wait until build finish.", | ||
1284 | "expected_results": " Build finishes successfully. \n" | ||
1285 | }, | ||
1286 | "5": { | ||
1287 | "action": " Click on the built recipe.", | ||
1288 | "expected_results": " Open build summary page. \n" | ||
1289 | }, | ||
1290 | "6": { | ||
1291 | "action": "Click on Configuration - Bitbake Variables.", | ||
1292 | "expected_results": "Open bitbake variables page. \n" | ||
1293 | }, | ||
1294 | "7": { | ||
1295 | "action": "Test Description filter. ", | ||
1296 | "expected_results": "Filter works ok. (filter returns only items that match the selected criteria) " | ||
1297 | } | ||
1298 | }, | ||
1299 | "summary": "Test_the_filters_from_a_image_page" | ||
1300 | } | ||
1301 | }, | ||
1302 | { | ||
1303 | "test": { | ||
1304 | "@alias": "toaster.toaster.Test_dependencies_link", | ||
1305 | "author": [ | ||
1306 | { | ||
1307 | "email": "alexandru.costinx.roman@intel.com", | ||
1308 | "name": "alexandru.costinx.roman@intel.com" | ||
1309 | } | ||
1310 | ], | ||
1311 | "execution": { | ||
1312 | "1": { | ||
1313 | "action": " Start Toaster.", | ||
1314 | "expected_results": "Toaster starts. \n" | ||
1315 | }, | ||
1316 | "2": { | ||
1317 | "action": " Click on new project button.", | ||
1318 | "expected_results": " Open create a new project page. \n" | ||
1319 | }, | ||
1320 | "3": { | ||
1321 | "action": " Enter a project name, select a release and click on create project.", | ||
1322 | "expected_results": " Project Created. \n" | ||
1323 | }, | ||
1324 | "4": { | ||
1325 | "action": " Build a recipe (ex: core-image-minimal) and wait until build finish.", | ||
1326 | "expected_results": " Build finishes successfully. \n" | ||
1327 | }, | ||
1328 | "5": { | ||
1329 | "action": " Click on the built recipe.", | ||
1330 | "expected_results": " Open build summary page. \n" | ||
1331 | }, | ||
1332 | "6": { | ||
1333 | "action": "Click on recipes tab.", | ||
1334 | "expected_results": "Open recipes page. \n" | ||
1335 | }, | ||
1336 | "7": { | ||
1337 | "action": "Click on edit columns and select Dependencies.", | ||
1338 | "expected_results": "Dependencies column is shown in the table. \n" | ||
1339 | }, | ||
1340 | "8": { | ||
1341 | "action": "Click on a number of dependencies.", | ||
1342 | "expected_results": "A pop up with dependencies will appear. \n" | ||
1343 | }, | ||
1344 | "9": { | ||
1345 | "action": "Click on a dependency. ", | ||
1346 | "expected_results": "Open recipe dependency page. " | ||
1347 | } | ||
1348 | }, | ||
1349 | "summary": "Test_dependencies_link" | ||
1350 | } | ||
1351 | }, | ||
1352 | { | ||
1353 | "test": { | ||
1354 | "@alias": "toaster.toaster.Test_recipe_file_link", | ||
1355 | "author": [ | ||
1356 | { | ||
1357 | "email": "alexandru.costinx.roman@intel.com", | ||
1358 | "name": "alexandru.costinx.roman@intel.com" | ||
1359 | } | ||
1360 | ], | ||
1361 | "execution": { | ||
1362 | "1": { | ||
1363 | "action": "Start Toaster. \n\n\t", | ||
1364 | "expected_results": "Toaster starts. \n\n\t" | ||
1365 | }, | ||
1366 | "2": { | ||
1367 | "action": " Click on new project button. \n\n\t", | ||
1368 | "expected_results": " Open create a new project page. \n\n\t" | ||
1369 | }, | ||
1370 | "3": { | ||
1371 | "action": " Enter a project name, select a release (ex: master) and click on create project. \n\n\t", | ||
1372 | "expected_results": " Project Created. \n\n\t" | ||
1373 | }, | ||
1374 | "4": { | ||
1375 | "action": "Click on Image recipes tab. \n\n\t", | ||
1376 | "expected_results": "Open Compatible image recipes table. \n\n\t" | ||
1377 | }, | ||
1378 | "5": { | ||
1379 | "action": "Click on edit columns and select recipe file. \n\n\t", | ||
1380 | "expected_results": "Recipe file column appears in the table. \n\n\t" | ||
1381 | }, | ||
1382 | "6": { | ||
1383 | "action": "Click on the blue button near a recipe file. \n\n\t", | ||
1384 | "expected_results": "" | ||
1385 | }, | ||
1386 | "7": { | ||
1387 | "action": "Repet steps - 4 to 6 for software recipes.", | ||
1388 | "expected_results": "" | ||
1389 | } | ||
1390 | }, | ||
1391 | "summary": "Test_recipe_file_link" | ||
1392 | } | ||
1393 | }, | ||
1394 | { | ||
1395 | "test": { | ||
1396 | "@alias": "toaster.toaster.See_packages_size", | ||
1397 | "author": [ | ||
1398 | { | ||
1399 | "email": "alexandru.costinx.roman@intel.com", | ||
1400 | "name": "alexandru.costinx.roman@intel.com" | ||
1401 | } | ||
1402 | ], | ||
1403 | "execution": { | ||
1404 | "1": { | ||
1405 | "action": "Start Toaster. \n\n\t", | ||
1406 | "expected_results": " Toaster starts. \n\n\t" | ||
1407 | }, | ||
1408 | "2": { | ||
1409 | "action": " Click on new project button. \n\n\t", | ||
1410 | "expected_results": " Open create a new project page. \n\n\t" | ||
1411 | }, | ||
1412 | "3": { | ||
1413 | "action": " Enter a project name, select a release and click on create project. \n\n\t", | ||
1414 | "expected_results": " Project Created. \n\n\t" | ||
1415 | }, | ||
1416 | "4": { | ||
1417 | "action": " Build a recipe (ex: core-image-minimal) and wait until build finish. \n\n\t", | ||
1418 | "expected_results": " Build finishes successfully. \n\n\t" | ||
1419 | }, | ||
1420 | "5": { | ||
1421 | "action": " Click on the built recipe. \n\n\t", | ||
1422 | "expected_results": " Open build summary page. \n\n\t" | ||
1423 | }, | ||
1424 | "6": { | ||
1425 | "action": "Click on packages tab. \n\n\t", | ||
1426 | "expected_results": "Open packages page. \n\n\t" | ||
1427 | }, | ||
1428 | "7": { | ||
1429 | "action": "Click on size to sort the table. ", | ||
1430 | "expected_results": "You can check the size of each package. \n\nWhen you click on 'Size' the first time, the correct sorting is the inverse one (biggest package on top). Clicking a second time will invert the sorting (you'll see packages with 0 B size on top)." | ||
1431 | } | ||
1432 | }, | ||
1433 | "summary": "See_packages_size" | ||
1434 | } | ||
1435 | }, | ||
1436 | { | ||
1437 | "test": { | ||
1438 | "@alias": "toaster.toaster.Build_multiple_recipes", | ||
1439 | "author": [ | ||
1440 | { | ||
1441 | "email": "alexandru.costinx.roman@intel.com", | ||
1442 | "name": "alexandru.costinx.roman@intel.com" | ||
1443 | } | ||
1444 | ], | ||
1445 | "execution": { | ||
1446 | "1": { | ||
1447 | "action": " Start Toaster. \n\n\t", | ||
1448 | "expected_results": " Toaster starts. \n\n\t" | ||
1449 | }, | ||
1450 | "2": { | ||
1451 | "action": " Click on new project button. \n\n\t", | ||
1452 | "expected_results": " Open create a new project page. \n\n\t" | ||
1453 | }, | ||
1454 | "3": { | ||
1455 | "action": " Enter a project name, select a release and click on create project. \n\n\t", | ||
1456 | "expected_results": " Project Created. \n\n\t" | ||
1457 | }, | ||
1458 | "4": { | ||
1459 | "action": " Build a multiple recipes (ex: \"core-image-minimal core-image-sato\") and wait until build finish. ", | ||
1460 | "expected_results": "Builds finishes successfully. \n\nYou can build multiple recipes with toaster" | ||
1461 | } | ||
1462 | }, | ||
1463 | "summary": "Build_multiple_recipes" | ||
1464 | } | ||
1465 | }, | ||
1466 | { | ||
1467 | "test": { | ||
1468 | "@alias": "toaster.toaster.Build_a_recipe_with_different_distro", | ||
1469 | "author": [ | ||
1470 | { | ||
1471 | "email": "alexandru.costinx.roman@intel.com", | ||
1472 | "name": "alexandru.costinx.roman@intel.com" | ||
1473 | } | ||
1474 | ], | ||
1475 | "execution": { | ||
1476 | "1": { | ||
1477 | "action": " Start Toaster. \n\n\t", | ||
1478 | "expected_results": " Toaster starts. \n\n\t" | ||
1479 | }, | ||
1480 | "2": { | ||
1481 | "action": " Click on new project button. \n\n\t", | ||
1482 | "expected_results": " Open create a new project page. \n\n\t" | ||
1483 | }, | ||
1484 | "3": { | ||
1485 | "action": " Enter a project name, select a release and click on create project. \n\n\t", | ||
1486 | "expected_results": " Project Created. \n\n\t" | ||
1487 | }, | ||
1488 | "4": { | ||
1489 | "action": "From project page click on Bitbake variables tab. \n\n\t", | ||
1490 | "expected_results": "Open Bitbake variables page. \n\n\t" | ||
1491 | }, | ||
1492 | "5": { | ||
1493 | "action": "Click on change button for distro. \n\n\t", | ||
1494 | "expected_results": "A type in form appears. \n\n\t" | ||
1495 | }, | ||
1496 | "6": { | ||
1497 | "action": "Change distro (ex: poky-lsb). \n\n\t", | ||
1498 | "expected_results": "Distro has changed. \n\n\t" | ||
1499 | }, | ||
1500 | "7": { | ||
1501 | "action": "Add specific layers for distro (meta-qt3, meta-qt4) \n\t\n\t", | ||
1502 | "expected_results": "Layers added to the project \n\n\t" | ||
1503 | }, | ||
1504 | "8": { | ||
1505 | "action": " Build a recipe (ex: core-image-minimal) and wait until build finish.", | ||
1506 | "expected_results": "Build finishes successfully. \n\nThe 'success' criteria for this one should be that the build is reported as using the poky-lsb distro in the build summary page, and that the DISTRO variable value in the bitbake variables table is set to the value specified in toaster (poky-lsb again)." | ||
1507 | } | ||
1508 | }, | ||
1509 | "summary": "Build_a_recipe_with_different_distro" | ||
1510 | } | ||
1511 | }, | ||
1512 | { | ||
1513 | "test": { | ||
1514 | "@alias": "toaster.toaster.Test_package_format_-_ipk_rpm_deb", | ||
1515 | "author": [ | ||
1516 | { | ||
1517 | "email": "alexandru.costinx.roman@intel.com", | ||
1518 | "name": "alexandru.costinx.roman@intel.com" | ||
1519 | } | ||
1520 | ], | ||
1521 | "execution": { | ||
1522 | "1": { | ||
1523 | "action": " Start Toaster. \n\n\t", | ||
1524 | "expected_results": " Toaster starts. \n\n\t" | ||
1525 | }, | ||
1526 | "2": { | ||
1527 | "action": " Click on new project button. \n\n\t", | ||
1528 | "expected_results": " Open create a new project page. \n\n\t" | ||
1529 | }, | ||
1530 | "3": { | ||
1531 | "action": " Enter a project name, select a release and click on create project. \n\n\t", | ||
1532 | "expected_results": " Project Created. \n\n\t" | ||
1533 | }, | ||
1534 | "4": { | ||
1535 | "action": "From the project page click on bitbake variables tab. \n\n\t", | ||
1536 | "expected_results": "Open bitbake variables page. \n\n\t" | ||
1537 | }, | ||
1538 | "5": { | ||
1539 | "action": "Click on change button near PACKAGE_CLASSES and select all the package formats (rpm, deb, ipk). \n\n\t", | ||
1540 | "expected_results": "Package classes selected. \n\n\t" | ||
1541 | }, | ||
1542 | "6": { | ||
1543 | "action": "Build a recipe (ex: core-image-minimal) and wait until build finish.", | ||
1544 | "expected_results": "Build finishes successfully.\nYou can see the package classes in the build summary page." | ||
1545 | } | ||
1546 | }, | ||
1547 | "summary": "Test_package_format_-_ipk_rpm_deb" | ||
1548 | } | ||
1549 | }, | ||
1550 | { | ||
1551 | "test": { | ||
1552 | "@alias": "toaster.toaster.Test_IMAGE_INSTALL_append_variable", | ||
1553 | "author": [ | ||
1554 | { | ||
1555 | "email": "alexandru.costinx.roman@intel.com", | ||
1556 | "name": "alexandru.costinx.roman@intel.com" | ||
1557 | } | ||
1558 | ], | ||
1559 | "execution": { | ||
1560 | "1": { | ||
1561 | "action": "Start Toaster. \n\n", | ||
1562 | "expected_results": " Toaster starts. \n\n\t" | ||
1563 | }, | ||
1564 | "2": { | ||
1565 | "action": " Click on new project button. \n\n", | ||
1566 | "expected_results": " Open create a new project page. \n\n\t" | ||
1567 | }, | ||
1568 | "3": { | ||
1569 | "action": " Enter a project name, select a release and click on create project. \n\n", | ||
1570 | "expected_results": " Project Created. \n\n\t" | ||
1571 | }, | ||
1572 | "4": { | ||
1573 | "action": "From the project page click on bitbake variables tab. \n\n", | ||
1574 | "expected_results": "Open bitbake variables page. \n\n\t" | ||
1575 | }, | ||
1576 | "5": { | ||
1577 | "action": "Click on change button for IMAGE_INSTALL_append and add a variable (ex: acpid). \n\n", | ||
1578 | "expected_results": "Variable added. \n\n\t" | ||
1579 | }, | ||
1580 | "6": { | ||
1581 | "action": "Build a recipe (ex: core-image-minimal) and wait until build finish. \n\n", | ||
1582 | "expected_results": "Build finishes successfully. \n\n\t" | ||
1583 | }, | ||
1584 | "7": { | ||
1585 | "action": "After build finishes go to build page. \n\n", | ||
1586 | "expected_results": "Open build summary page. \n\n\t" | ||
1587 | }, | ||
1588 | "8": { | ||
1589 | "action": "Go to package tab and search for acpid.", | ||
1590 | "expected_results": "You should get results for ssh packages." | ||
1591 | } | ||
1592 | }, | ||
1593 | "summary": "Test_IMAGE_INSTALL_append_variable" | ||
1594 | } | ||
1595 | }, | ||
1596 | { | ||
1597 | "test": { | ||
1598 | "@alias": "toaster.toaster.New_custom_image:_default_view", | ||
1599 | "author": [ | ||
1600 | { | ||
1601 | "email": "alexandru.costinx.roman@intel.com", | ||
1602 | "name": "alexandru.costinx.roman@intel.com" | ||
1603 | } | ||
1604 | ], | ||
1605 | "execution": { | ||
1606 | "1": { | ||
1607 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All projects\" table. \n\n\n", | ||
1608 | "expected_results": "" | ||
1609 | }, | ||
1610 | "2": { | ||
1611 | "action": "On the project page click on the \"New custom image\" link situated on the left-hand side, near Configuration, builds, import layer \n\n\n", | ||
1612 | "expected_results": "" | ||
1613 | }, | ||
1614 | "3": { | ||
1615 | "action": "Check that the table is populated with the list of image recipes (eg. core-image minimal, core-image-lsb) \n\n\n", | ||
1616 | "expected_results": "" | ||
1617 | }, | ||
1618 | "4": { | ||
1619 | "action": " Check that by default the following columns are shown: Image recipe, Version, Description, Layer, Customise \n\n\n", | ||
1620 | "expected_results": "" | ||
1621 | }, | ||
1622 | "5": { | ||
1623 | "action": "From the \"Edit columns\" menu, activate the: Recipe file, Section, License, Git revision \n\n\n", | ||
1624 | "expected_results": "" | ||
1625 | }, | ||
1626 | "6": { | ||
1627 | "action": "Check that the \"Git revision\" entries match the release entry from the main project page, in the project details section. \n\n\n", | ||
1628 | "expected_results": "" | ||
1629 | }, | ||
1630 | "7": { | ||
1631 | "action": "Check that the image recipes provided by layers added to the project show a 'customise' button, while image recipes provided by layers not added to the project show an 'add layer' button ", | ||
1632 | "expected_results": "" | ||
1633 | } | ||
1634 | }, | ||
1635 | "summary": "New_custom_image:_default_view" | ||
1636 | } | ||
1637 | }, | ||
1638 | { | ||
1639 | "test": { | ||
1640 | "@alias": "toaster.toaster.New_custom_image:_sorting_the_content_of_new_custom_image_table", | ||
1641 | "author": [ | ||
1642 | { | ||
1643 | "email": "alexandru.costinx.roman@intel.com", | ||
1644 | "name": "alexandru.costinx.roman@intel.com" | ||
1645 | } | ||
1646 | ], | ||
1647 | "execution": { | ||
1648 | "1": { | ||
1649 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All projects\" table. \n\n", | ||
1650 | "expected_results": "" | ||
1651 | }, | ||
1652 | "2": { | ||
1653 | "action": "On the project page click on the \"New custom image\" link situated on the left-hand side, near Configuration, builds, import layer \n\n", | ||
1654 | "expected_results": "" | ||
1655 | }, | ||
1656 | "3": { | ||
1657 | "action": "Make sure that the table is sorted on the ‘Image recipe’ column by default in ascending order. \n\n", | ||
1658 | "expected_results": "" | ||
1659 | }, | ||
1660 | "4": { | ||
1661 | "action": "Clicking on Image recipe should revert the sorting. (from 'a to z' changes to 'z to a') \n\n", | ||
1662 | "expected_results": "" | ||
1663 | }, | ||
1664 | "5": { | ||
1665 | "action": "From the \"Edit columns\" menu activate all the columns. Check that ‘Image recipe’ and ‘Customise’ columns cannot be unchecked. \n\n", | ||
1666 | "expected_results": "" | ||
1667 | }, | ||
1668 | "6": { | ||
1669 | "action": "Check that Image recipe, Section, Layer and License are the only sortable table heads. \n\n", | ||
1670 | "expected_results": "" | ||
1671 | }, | ||
1672 | "7": { | ||
1673 | "action": "Sort the table by \"Layer\" and then navigate away by selecting an image (such as core-image-lsb). When you click the \"back\" button in the web-browser to go back, the \"New custom image\" table should still be sorted by \"Layer\". \nThis should apply also by navigating back to the page by any other means. \n\n", | ||
1674 | "expected_results": "" | ||
1675 | }, | ||
1676 | "8": { | ||
1677 | "action": "Sorting and \"Edit columns\" menu: If you use the \"Edit columns\" menu to hide the column with the applied sorting, we revert the sorting to the default sorting (i.e. \"Image recipe\"). The default sorting always uses one of the core columns, which cannot be hidden using the \"Edit columns\" menu \n\n", | ||
1678 | "expected_results": "" | ||
1679 | }, | ||
1680 | "9": { | ||
1681 | "action": "Sorting and search: Searching should have no impact on the applied sorting. Any results returned should be sorted by the sorting criteria selected when the search query was submitted. Sort recipes by \"Layer\" column heading. Input a string (such as \"core-image\") in search box and click search button. Make sure results returned are sorted by \"Layer\".", | ||
1682 | "expected_results": "N/A" | ||
1683 | } | ||
1684 | }, | ||
1685 | "summary": "New_custom_image:_sorting_the_content_of_new_custom_image_table" | ||
1686 | } | ||
1687 | }, | ||
1688 | { | ||
1689 | "test": { | ||
1690 | "@alias": "toaster.toaster.New_custom_image:_searching_the_content_of_new_custom_image_table", | ||
1691 | "author": [ | ||
1692 | { | ||
1693 | "email": "alexandru.costinx.roman@intel.com", | ||
1694 | "name": "alexandru.costinx.roman@intel.com" | ||
1695 | } | ||
1696 | ], | ||
1697 | "execution": { | ||
1698 | "1": { | ||
1699 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All projects\" table. \n \n\n\n", | ||
1700 | "expected_results": "" | ||
1701 | }, | ||
1702 | "2": { | ||
1703 | "action": "On the project page click on the \"New custom image\" link situated on the left-hand side, near Configuration, builds, import layer \n \n\n\n", | ||
1704 | "expected_results": "" | ||
1705 | }, | ||
1706 | "3": { | ||
1707 | "action": "Check that the search is made of a text input field and a \"Search\" button in a toolbar above the table. When no search query has been entered, the text input field should show the following placeholder text: \"Search select the image recipe you want to customise\" \n \n\n\n", | ||
1708 | "expected_results": "" | ||
1709 | }, | ||
1710 | "4": { | ||
1711 | "action": "Input \"core\" in the text input field. The placeholder text disappears when the first character is typed. Click search button. \n \n\n\n", | ||
1712 | "expected_results": "" | ||
1713 | }, | ||
1714 | "5": { | ||
1715 | "action": "The search string is kept in the text input field. The results returned occur. Click \"Clear search\" icon to clear the search and display the image recipes. If your search query returns no results, we show you an alert with a search form and an option to show all image recipes. Check that \"show all\" link is available. \n\n\n", | ||
1716 | "expected_results": "" | ||
1717 | }, | ||
1718 | "6": { | ||
1719 | "action": "Search, sorting and \"Edit columns\": Searching does not change the state of the table: the same columns remain hidden and the same sorting applied when search results are displayed, but filters are cleared by the search results. Search a string and make sure that the same columns remain hidden and the same sorting applied. \n\n\n", | ||
1720 | "expected_results": "" | ||
1721 | }, | ||
1722 | "7": { | ||
1723 | "action": "Search and filters \n \n\t•\tThe scope of the filters is the content currently on the table (this means all table pages, not only the one displayed). The scope of the search is always the content of the database. \n\n\n", | ||
1724 | "expected_results": "" | ||
1725 | }, | ||
1726 | "8": { | ||
1727 | "action": "If I run a search query, any filter applied afterwards will filter the content returned by the search query. \tIf I run a search query while a filter is applied, the filter is cleared by the results of the search query (i.e. we display the results of the search query and clear the filter applied beforehand). The same happens if I click the \"Clear search\" icon when a filter is applied to a set of search results (both search results and applied filter are cleared, and the table shows all the targets). ", | ||
1728 | "expected_results": "\n \n" | ||
1729 | } | ||
1730 | }, | ||
1731 | "summary": "New_custom_image:_searching_the_content_of_new_custom_image_table" | ||
1732 | } | ||
1733 | }, | ||
1734 | { | ||
1735 | "test": { | ||
1736 | "@alias": "toaster.toaster.New_custom_image:_Filter_the_contents_of_the_new_custom_image_table", | ||
1737 | "author": [ | ||
1738 | { | ||
1739 | "email": "alexandru.costinx.roman@intel.com", | ||
1740 | "name": "alexandru.costinx.roman@intel.com" | ||
1741 | } | ||
1742 | ], | ||
1743 | "execution": { | ||
1744 | "1": { | ||
1745 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All projects\" table. \n\n\n", | ||
1746 | "expected_results": "" | ||
1747 | }, | ||
1748 | "2": { | ||
1749 | "action": "On the project page click on the \"New custom image\" link situated on the left-hand side, near Configuration, builds, import layer \n\n\n", | ||
1750 | "expected_results": "" | ||
1751 | }, | ||
1752 | "3": { | ||
1753 | "action": "Make sure the following table column has filters: Customise \n\n\n", | ||
1754 | "expected_results": "" | ||
1755 | }, | ||
1756 | "4": { | ||
1757 | "action": "Click the filter button in the \"Customise\" column and a filter dialogue comes up. Select a filter option. The filter results should be showed. \n\n\n", | ||
1758 | "expected_results": "" | ||
1759 | }, | ||
1760 | "5": { | ||
1761 | "action": "Filters are overridden by search. Run a search query and you can see previous filter results are overridden by the results of the search query.", | ||
1762 | "expected_results": "N/A" | ||
1763 | } | ||
1764 | }, | ||
1765 | "summary": "New_custom_image:_Filter_the_contents_of_the_new_custom_image_table" | ||
1766 | } | ||
1767 | }, | ||
1768 | { | ||
1769 | "test": { | ||
1770 | "@alias": "toaster.toaster.Create_new_custom_image", | ||
1771 | "author": [ | ||
1772 | { | ||
1773 | "email": "alexandru.costinx.roman@intel.com", | ||
1774 | "name": "alexandru.costinx.roman@intel.com" | ||
1775 | } | ||
1776 | ], | ||
1777 | "execution": { | ||
1778 | "1": { | ||
1779 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All projects\" table. \n \n\n\n", | ||
1780 | "expected_results": "" | ||
1781 | }, | ||
1782 | "2": { | ||
1783 | "action": "On the project page click on the \"New custom image\" link situated on the left-hand side, near Configuration, builds, import layer \n\n\n", | ||
1784 | "expected_results": "" | ||
1785 | }, | ||
1786 | "3": { | ||
1787 | "action": "Search for rpi-basic-image, click on 'add layer' button. Make sure a \"layer added\" notification shows and a \"customise\" button is displayed. Click the \"customise\" button, type a name for you new custom image and click on create custom image. \n\n", | ||
1788 | "expected_results": "" | ||
1789 | }, | ||
1790 | "4": { | ||
1791 | "action": "Verify that image was created: when you create the custom image you will be redirected to the custom image details page, and a notification at the top of the page should tell you: ‘Your custom image X has been created. You can now add or remove packages as needed. \n\n", | ||
1792 | "expected_results": "" | ||
1793 | }, | ||
1794 | "5": { | ||
1795 | "action": "If you select an image that has not been built beforehand you should not see the 'add / remove' packages table until you build the image. \n\n", | ||
1796 | "expected_results": "" | ||
1797 | }, | ||
1798 | "6": { | ||
1799 | "action": "If you select an image that has been built beforehand you should see the 'add / remove' packages table when you create the custom image. ", | ||
1800 | "expected_results": "N/A" | ||
1801 | } | ||
1802 | }, | ||
1803 | "summary": "Create_new_custom_image" | ||
1804 | } | ||
1805 | }, | ||
1806 | { | ||
1807 | "test": { | ||
1808 | "@alias": "toaster.toaster.Custom_image_page_details", | ||
1809 | "author": [ | ||
1810 | { | ||
1811 | "email": "alexandru.costinx.roman@intel.com", | ||
1812 | "name": "alexandru.costinx.roman@intel.com" | ||
1813 | } | ||
1814 | ], | ||
1815 | "execution": { | ||
1816 | "1": { | ||
1817 | "action": "After you create a new custom image go to the custom image page, by clicking on the custom image. \n\n", | ||
1818 | "expected_results": "" | ||
1819 | }, | ||
1820 | "2": { | ||
1821 | "action": "Breadcrumbs \n \n\t * Observe that the 3 breadcrumbs at the top left are: \n \n\t\ta live link that will take you back to the project page \n\t\tCustom images: a live link that will take you back to the custom images table \n\t\timage name(toaster-custom-images): the name of the current custom image (not a link) \n \n\n\n", | ||
1822 | "expected_results": "" | ||
1823 | }, | ||
1824 | "3": { | ||
1825 | "action": "Observe the 2 buttons build Custom image and Download recipe file \n \n\ti.\tTest this 2 buttons \n\tii.\tYou should always be able to build the custom image, but you only should be able to download the recipe file when the package content of the custom image is known. When you cannot download the recipe file, the 'download' button at the top of the page is disabled, and the right hand column does not show information about the recipe file. \n\n", | ||
1826 | "expected_results": "" | ||
1827 | }, | ||
1828 | "4": { | ||
1829 | "action": "Observe that there is a right-hand box, with information about the images \n \n\ti.\tThere is a number of packages included in the custom image \n\tii.\tApprox package size \n \n\tiii.\tLayer \n \n\tiv.\tImage based on \n \n\tv.\tRecipe file (only when you can download it_ \n\tvi.\tVersion \n \n\tvii.\tLicense \n\n", | ||
1830 | "expected_results": "" | ||
1831 | }, | ||
1832 | "5": { | ||
1833 | "action": "Observe that the page includes a table with packages and you can add or remove packages from the custom image. The packages table only appears when: \n\na) the image recipe you chose as your base image when creating the custom image has been built within the project \n\nb) the custom image itself has been built \n\nIf no packages table shows, you see a notification with a build button instead. ", | ||
1834 | "expected_results": "N/A" | ||
1835 | } | ||
1836 | }, | ||
1837 | "summary": "Custom_image_page_details" | ||
1838 | } | ||
1839 | }, | ||
1840 | { | ||
1841 | "test": { | ||
1842 | "@alias": "toaster.toaster.Custom_image_page_–_Add_|_Remove_packages_table", | ||
1843 | "author": [ | ||
1844 | { | ||
1845 | "email": "alexandru.costinx.roman@intel.com", | ||
1846 | "name": "alexandru.costinx.roman@intel.com" | ||
1847 | } | ||
1848 | ], | ||
1849 | "execution": { | ||
1850 | "1": { | ||
1851 | "action": "After you create a new custom image go to the custom image page, by clicking on the custom image. \n\n\n", | ||
1852 | "expected_results": "" | ||
1853 | }, | ||
1854 | "2": { | ||
1855 | "action": "Make sure that the table is sorted on the ‘Package’ column by default in ascending order. \n\n\n", | ||
1856 | "expected_results": "" | ||
1857 | }, | ||
1858 | "3": { | ||
1859 | "action": "Check that by default the following columns are shown: Package, Package Version, Approx Size \n\n\n", | ||
1860 | "expected_results": "" | ||
1861 | }, | ||
1862 | "4": { | ||
1863 | "action": "From the \"Edit columns\" menu, activate the: License, Recipe, Recipe version and Reverse dependencies columns \n\n", | ||
1864 | "expected_results": "" | ||
1865 | }, | ||
1866 | "5": { | ||
1867 | "action": "Check that ‘Package’, Approx Size, License, Recipe are the only sortable table heads. \n\n", | ||
1868 | "expected_results": "" | ||
1869 | }, | ||
1870 | "6": { | ||
1871 | "action": "Sorting and \"Edit columns\": If you use the \"Edit columns\" menu to hide the column with the applied sorting, we revert the sorting to the default sorting (i.e. \"Package\"). The default sorting always uses one of the core columns, which cannot be hidden using the \"Edit columns\" menu \n\n", | ||
1872 | "expected_results": "" | ||
1873 | }, | ||
1874 | "7": { | ||
1875 | "action": "Sorting and search: Searching should have no impact on the applied sorting. Any results returned should be sorted by the sorting criteria selected when the search query was submitted. Sort recipes by \"Recipe\" column heading. Input a string (such as \"acl\") in search box and click search button. Make sure results returned are still sorted by \"Recipe\". \n\n", | ||
1876 | "expected_results": "" | ||
1877 | }, | ||
1878 | "8": { | ||
1879 | "action": "Click \"Clear search\" icon to clear the search and display the Packages. \n\n", | ||
1880 | "expected_results": "" | ||
1881 | }, | ||
1882 | "9": { | ||
1883 | "action": "Make sure the following table column has filters: Add | Remove (Click on 'Edit custom image' in the left pane of the custom image) \n\n1", | ||
1884 | "expected_results": "" | ||
1885 | }, | ||
1886 | "10": { | ||
1887 | "action": "Click the filter button: a filter dialogue displays. Select a filter option. The filter results should be showed. \n\n1", | ||
1888 | "expected_results": "" | ||
1889 | }, | ||
1890 | "11": { | ||
1891 | "action": "Filters are overridden by search. Run a search query and you can see previous filter results are overridden by the results of the search query. \n\n1", | ||
1892 | "expected_results": "" | ||
1893 | }, | ||
1894 | "12": { | ||
1895 | "action": "This page needs a special no results message for the search. You can see in the doc attached to\nhttps://bugzilla.yoctoproject.org/show_bug.cgi?id=9154 \n\nTo test it, enter a random string in the search input field (something like \"bbb\") and click the 'search' button. The special no results message includes the following: \n\na) instructions about searching and building recipes in order to generate new packages \n\nb) a search text input field with the search string you typed, a 'clear' icon and a search button. Click the 'clear' icon: the search field should be cleared and the full list of packages should be shown. \n\nc) a 'show all packages' link. Click the link: the search field should be cleared and the full list of packages should be shown. ", | ||
1896 | "expected_results": "N/A" | ||
1897 | } | ||
1898 | }, | ||
1899 | "summary": "Custom_image_page_–_Add_|_Remove_packages_table" | ||
1900 | } | ||
1901 | }, | ||
1902 | { | ||
1903 | "test": { | ||
1904 | "@alias": "toaster.toaster.Adding_packages_without_dependencies_from_custom_images", | ||
1905 | "author": [ | ||
1906 | { | ||
1907 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
1908 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
1909 | } | ||
1910 | ], | ||
1911 | "execution": { | ||
1912 | "1": { | ||
1913 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All projects\" table. \n\n ", | ||
1914 | "expected_results": "" | ||
1915 | }, | ||
1916 | "2": { | ||
1917 | "action": "On the project page click on the \"New custom image\" link situated on the left-hand side, near Configuration, builds, import layer \n\n\n ", | ||
1918 | "expected_results": " " | ||
1919 | }, | ||
1920 | "3": { | ||
1921 | "action": "Choose an image recipe example:(core-image-sato) and click on the customise button on the far right (note if that layer is not added the button will say +Add layer, add it and then customise) \n\n\n ", | ||
1922 | "expected_results": " A pop out should appear and you should get to give the new image a customized name. Then you will be redirected to a page of Add|Remove Packages. If this image has not been build it will not have packages.\n\n" | ||
1923 | }, | ||
1924 | "4": { | ||
1925 | "action": "Build the new image if it has not been build, else start adding packages without dependencies example: attr-doc \n\n \n ", | ||
1926 | "expected_results": "You should get a message in blue that says \"You have added 1 package to $image-custom-name: $package-name\" " | ||
1927 | }, | ||
1928 | "5": { | ||
1929 | "action": "Build the image again.\n", | ||
1930 | "expected_results": "Expected Result on step 5: the packages you have added should be installed in the image." | ||
1931 | } | ||
1932 | }, | ||
1933 | "summary": "Adding_packages_without_dependencies_from_custom_images" | ||
1934 | } | ||
1935 | }, | ||
1936 | { | ||
1937 | "test": { | ||
1938 | "@alias": "toaster.toaster.Removing_packages_without_and_with_dependencies__from_custom_images", | ||
1939 | "author": [ | ||
1940 | { | ||
1941 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
1942 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
1943 | } | ||
1944 | ], | ||
1945 | "execution": { | ||
1946 | "1": { | ||
1947 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All projects\" table. \n\n ", | ||
1948 | "expected_results": "" | ||
1949 | }, | ||
1950 | "2": { | ||
1951 | "action": "On the project page click on the \"New custom image\" link situated on the left-hand side, near Configuration, builds, import layer \n\n\n\n ", | ||
1952 | "expected_results": " A pop out should appear and you should get to give the new image a customized name. Then you will be redirected to a page of Add|Remove Packages. If this image has not been build it will not have packages. \n\n" | ||
1953 | }, | ||
1954 | "3": { | ||
1955 | "action": "Choose an image recipe example:(core-image-sato) and click on the customise button on the far right (note if that layer is not added the button will say +Add layer, add it and then customise) \n\n\n\n ", | ||
1956 | "expected_results": "A pop out should appear and you should get to give the new image a customized name. Then you will be redirected to a page of Add|Remove Packages. If this image has not been build it will not have packages.\n\n" | ||
1957 | }, | ||
1958 | "4": { | ||
1959 | "action": "Build the new image if it has not been build else start removing a packages (click on 'Edit custom image' in the left pane of the custom image) that have dependencies and packages that have no dependencies that are already included by clicking on the red button \"Remove Package\" \n\n\n \n ", | ||
1960 | "expected_results": "You should get a message in blue that says \"You have removed 1 package to $image-custom-name: $package-name\" " | ||
1961 | }, | ||
1962 | "5": { | ||
1963 | "action": "Build the image again.", | ||
1964 | "expected_results": "the packages you have removed should not be installed in the image." | ||
1965 | } | ||
1966 | }, | ||
1967 | "summary": "Removing_packages_without_and_with_dependencies__from_custom_images" | ||
1968 | } | ||
1969 | }, | ||
1970 | { | ||
1971 | "test": { | ||
1972 | "@alias": "toaster.toaster.Adding_packages_with_dependencies", | ||
1973 | "author": [ | ||
1974 | { | ||
1975 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
1976 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
1977 | } | ||
1978 | ], | ||
1979 | "execution": { | ||
1980 | "1": { | ||
1981 | "action": "Access a project page, either by creating a new project or accessing an existing project from the \"All projects\" table. \n\n ", | ||
1982 | "expected_results": "" | ||
1983 | }, | ||
1984 | "2": { | ||
1985 | "action": "On the project page click on the \"New custom image\" link situated on the left-hand side, near Configuration, builds, import layer \n\n\n ", | ||
1986 | "expected_results": " " | ||
1987 | }, | ||
1988 | "3": { | ||
1989 | "action": "Choose an image recipe example:(core-image-sato) and click on the customise button on the far right (note if that layer is not added the button will say +Add layer, add it and then customise) \n\n\n ", | ||
1990 | "expected_results": "A pop out should appear and you should get to give the new image a customized name. Then you will be redirected to a page of Add|Remove Packages. If this image has not been build it will not have packages." | ||
1991 | }, | ||
1992 | "4": { | ||
1993 | "action": "Build the new image if it has not been build else start adding packages that have dependencies ( you will be able to see in the dependencies column a little square with a number, that tells you the dependencies it holds) example: libattr this holds 2 dependencies( bash and glibc) ", | ||
1994 | "expected_results": " You should get a pop-out that that say \"$package_name dependencies\" then it should list the dependencies. Once clicked on the add packages button it should add the packages listed in the pop-out." | ||
1995 | }, | ||
1996 | "5": { | ||
1997 | "action": "Build the image again.", | ||
1998 | "expected_results": "" | ||
1999 | } | ||
2000 | }, | ||
2001 | "summary": "Adding_packages_with_dependencies" | ||
2002 | } | ||
2003 | }, | ||
2004 | { | ||
2005 | "test": { | ||
2006 | "@alias": "toaster.toaster.Create_Project", | ||
2007 | "author": [ | ||
2008 | { | ||
2009 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2010 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2011 | } | ||
2012 | ], | ||
2013 | "execution": { | ||
2014 | "1": { | ||
2015 | "action": "Start toaster", | ||
2016 | "expected_results": "" | ||
2017 | }, | ||
2018 | "2": { | ||
2019 | "action": "Create a toaster project by issuing a name and selecting a release version.", | ||
2020 | "expected_results": "Once project is created it should redirect you to a new project configuration page" | ||
2021 | }, | ||
2022 | "3": { | ||
2023 | "action": "Check that the h1 page title is set to the name the user typed in the new project form. ", | ||
2024 | "expected_results": "" | ||
2025 | } | ||
2026 | }, | ||
2027 | "summary": "Create_Project" | ||
2028 | } | ||
2029 | }, | ||
2030 | { | ||
2031 | "test": { | ||
2032 | "@alias": "toaster.toaster.Verify_project_detail_page_left_bar_menu", | ||
2033 | "author": [ | ||
2034 | { | ||
2035 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2036 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2037 | } | ||
2038 | ], | ||
2039 | "execution": { | ||
2040 | "1": { | ||
2041 | "action": "Start toaster", | ||
2042 | "expected_results": "" | ||
2043 | }, | ||
2044 | "2": { | ||
2045 | "action": "Create a toaster project \n \n", | ||
2046 | "expected_results": "Once project is created it should redirect you to a new project configuration page. \n\n" | ||
2047 | }, | ||
2048 | "3": { | ||
2049 | "action": "Check the page contains the tabs \n Configuration ---> selected by default \n Compatible Metadata (separation label) \n Custom images \n Image recipes \n Software recipes \n Machines \n Layers \n Extra Configuration (separation label) \n BitBake variables \n\n", | ||
2050 | "expected_results": " All elements are present. \n\n" | ||
2051 | }, | ||
2052 | "4": { | ||
2053 | "action": "Click on each element to see if the h2 title is changing to the respective link clicked. Example if clicked on \"Custom Images\" then the h2 title should change to \"Custom images\"", | ||
2054 | "expected_results": "All elements are clickable and h2 title changes to the corresponding title.." | ||
2055 | } | ||
2056 | }, | ||
2057 | "summary": "Verify_project_detail_page_left_bar_menu" | ||
2058 | } | ||
2059 | }, | ||
2060 | { | ||
2061 | "test": { | ||
2062 | "@alias": "toaster.toaster.Configuration_information_of_Project_Detail_page", | ||
2063 | "author": [ | ||
2064 | { | ||
2065 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2066 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2067 | } | ||
2068 | ], | ||
2069 | "execution": { | ||
2070 | "1": { | ||
2071 | "action": "Clone Poky and start toaster \n\n", | ||
2072 | "expected_results": "" | ||
2073 | }, | ||
2074 | "2": { | ||
2075 | "action": "Create a master toaster project \n \n", | ||
2076 | "expected_results": "Once project is created it should redirect you to a new project configuration page \n\n" | ||
2077 | }, | ||
2078 | "3": { | ||
2079 | "action": "Check that the configuration button on the left side bar is selected by default \n\n", | ||
2080 | "expected_results": " Expected result step 3 & 4: The configuration link next to the build link should be selected see attachment. \n\n\n\n" | ||
2081 | }, | ||
2082 | "4": { | ||
2083 | "action": "The configuration details should include canvas: \n Machine \n Most built recipes \n Layers \n Project Release ", | ||
2084 | "expected_results": "Expected result step 4: A machine must always be set. \n\nThe default layers specified in the Toaster configuration must always be listed in the layer section (in our case, for the poky configuration we should have openembedded-core, meta-poky and meta-yocto-bsp)" | ||
2085 | } | ||
2086 | }, | ||
2087 | "summary": "Configuration_information_of_Project_Detail_page" | ||
2088 | } | ||
2089 | }, | ||
2090 | { | ||
2091 | "test": { | ||
2092 | "@alias": "toaster.toaster.Verify_Machine_information_of_project_detail_page", | ||
2093 | "author": [ | ||
2094 | { | ||
2095 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2096 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2097 | } | ||
2098 | ], | ||
2099 | "execution": { | ||
2100 | "1": { | ||
2101 | "action": "Start toaster", | ||
2102 | "expected_results": "" | ||
2103 | }, | ||
2104 | "2": { | ||
2105 | "action": "Create a toaster project \n \n", | ||
2106 | "expected_results": "Expected result step 2: Once project is created it should redirect you to a new project Configuration page \n\n" | ||
2107 | }, | ||
2108 | "3": { | ||
2109 | "action": "The configuration details should include a label in bold font that says: \n Machine: this canvas should have the machine label type under it and an editing button on the side ", | ||
2110 | "expected_results": "Expected result step 3: Compare to the attached snapshot. The machine must always be set." | ||
2111 | } | ||
2112 | }, | ||
2113 | "summary": "Verify_Machine_information_of_project_detail_page" | ||
2114 | } | ||
2115 | }, | ||
2116 | { | ||
2117 | "test": { | ||
2118 | "@alias": "toaster.toaster.Verify_most_built_recipes_information_of_the_project_detail_page", | ||
2119 | "author": [ | ||
2120 | { | ||
2121 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2122 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2123 | } | ||
2124 | ], | ||
2125 | "execution": { | ||
2126 | "1": { | ||
2127 | "action": "Start toaster ", | ||
2128 | "expected_results": "" | ||
2129 | }, | ||
2130 | "2": { | ||
2131 | "action": "Create a toaster project \n \n", | ||
2132 | "expected_results": "Expected result step 2: Once project is created it should redirect you to a new project configuration page " | ||
2133 | }, | ||
2134 | "3": { | ||
2135 | "action": "The configuration details should include a label in bold font that says: \n Most built recipes: In this canvas one of the following information should show: \n\n a) If there has been no built recipes it should have a label that says: \n \"You haven't built any recipes yet, choose a recipe to build\" \n\n b) Else it should have a list of built recipes and a check box in front of it. So that it could be selected and built again ", | ||
2136 | "expected_results": "Expected result step a: See ProjectDetailPage2.png attachment.\n\nExpected result step b: See ProjectDetailPage.png attachment." | ||
2137 | } | ||
2138 | }, | ||
2139 | "summary": "Verify_most_built_recipes_information_of_the_project_detail_page" | ||
2140 | } | ||
2141 | }, | ||
2142 | { | ||
2143 | "test": { | ||
2144 | "@alias": "toaster.toaster.Verify_project_release_information_on_project_detail_page", | ||
2145 | "author": [ | ||
2146 | { | ||
2147 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2148 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2149 | } | ||
2150 | ], | ||
2151 | "execution": { | ||
2152 | "1": { | ||
2153 | "action": "Start toaster", | ||
2154 | "expected_results": "" | ||
2155 | }, | ||
2156 | "2": { | ||
2157 | "action": "Create a toaster project \n \n", | ||
2158 | "expected_results": "Expected result step 2: Once project is created it should redirect you to a new project configuration page. " | ||
2159 | }, | ||
2160 | "3": { | ||
2161 | "action": "The configuration details should include a label in bold font that says: \n Project release: this canvas should also have a label that show the release project you chose at the beginning.", | ||
2162 | "expected_results": "Expected result step 3: See attachment ProjectDetailPage.jnp." | ||
2163 | } | ||
2164 | }, | ||
2165 | "summary": "Verify_project_release_information_on_project_detail_page" | ||
2166 | } | ||
2167 | }, | ||
2168 | { | ||
2169 | "test": { | ||
2170 | "@alias": "toaster.toaster.Verify_layer_information_of_the_project_detail_page", | ||
2171 | "author": [ | ||
2172 | { | ||
2173 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2174 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2175 | } | ||
2176 | ], | ||
2177 | "execution": { | ||
2178 | "1": { | ||
2179 | "action": "Clone the poky environment git clone http://git.yoctoproject.org/git/poky", | ||
2180 | "expected_results": "" | ||
2181 | }, | ||
2182 | "2": { | ||
2183 | "action": "Start toaster", | ||
2184 | "expected_results": "Expected result step 2: Once project is created it should redirect you to a new project configuration page. \n\n" | ||
2185 | }, | ||
2186 | "3": { | ||
2187 | "action": "Create a toaster project \n \n", | ||
2188 | "expected_results": "Expected result step 3: See attachment of layerCanvas.png\n" | ||
2189 | }, | ||
2190 | "4": { | ||
2191 | "action": "The configuration details should include a label with bold font that says: \n Layer: this canvas should have 3 layers listed by default (openembedded-core, meta-poky, and meta-yocto-bsp). \n Each layer should have a trashcan icon at the side that can be used to erase the label from the project. \n The layer canvas should have a text box with the text \"type a layer name\" a button \"Add layer\" next to it. \n just underneath a \"view compatible layer | import layer\" link. ", | ||
2192 | "expected_results": "" | ||
2193 | } | ||
2194 | }, | ||
2195 | "summary": "Verify_layer_information_of_the_project_detail_page" | ||
2196 | } | ||
2197 | }, | ||
2198 | { | ||
2199 | "test": { | ||
2200 | "@alias": "toaster.toaster.Verify_project_detail_links", | ||
2201 | "author": [ | ||
2202 | { | ||
2203 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2204 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2205 | } | ||
2206 | ], | ||
2207 | "execution": { | ||
2208 | "1": { | ||
2209 | "action": "Start toaster ", | ||
2210 | "expected_results": "" | ||
2211 | }, | ||
2212 | "2": { | ||
2213 | "action": "Create a toaster project \n\n", | ||
2214 | "expected_results": "Expected result step 2: Once project is created it should redirect you to a new project configuration page. \n\n" | ||
2215 | }, | ||
2216 | "3": { | ||
2217 | "action": "The configuration details should include \n 4 links, starting in the upper left side the Configuration link, Builds(#) link, Import layer link, and the New custom image link. \n\n ", | ||
2218 | "expected_results": "Expected result step 3: All links should be clickable and should have information or tables, or forms. see attachment projectDetailLinks.png" | ||
2219 | } | ||
2220 | }, | ||
2221 | "summary": "Verify_project_detail_links" | ||
2222 | } | ||
2223 | }, | ||
2224 | { | ||
2225 | "test": { | ||
2226 | "@alias": "toaster.toaster.Verify_build_texbox_exists_and_works", | ||
2227 | "author": [ | ||
2228 | { | ||
2229 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2230 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2231 | } | ||
2232 | ], | ||
2233 | "execution": { | ||
2234 | "1": { | ||
2235 | "action": "Start toaster", | ||
2236 | "expected_results": "" | ||
2237 | }, | ||
2238 | "2": { | ||
2239 | "action": "Create a toaster project \n \n", | ||
2240 | "expected_results": " Once project is created it should redirect you to a new project configuration page. \n\n\n" | ||
2241 | }, | ||
2242 | "3": { | ||
2243 | "action": "The configuration details should include \n After the 4 links (Configuration, Build(#), Import layer & New custom image) at the far right there should be a textbox with the label that says....\"Type the recipe you want to build\" and a button \"Build\" \n\n", | ||
2244 | "expected_results": "See attachment buildTXT.png, The build button should be disabled whenever the text input field is empty, so that you cannot start a build with a blank target \n\n" | ||
2245 | }, | ||
2246 | "4": { | ||
2247 | "action": "Type in the textbox an image you would like to build example (core-image-minimal) and click the build button.\n\n", | ||
2248 | "expected_results": " Image starts building. Whenever there is information in the image recipes and software recipes tables, the text input field should present suggestions from the list of recipes provided by the layers in the \"layers\" list. The suggestions contain the string typed in the input field, and update as you type. They appear on typing the second character. A maximum of 8 suggestions can be shown. They are sorted as follows: first recipes starting with the string, in alphabetical order; then recipes containing the string, also in alphabetical order \n\n\nWhen you click the build button you are brought to the \"Builds\" tab, and a new build in progress appears at the top of the \"Latest project builds\" section" | ||
2249 | } | ||
2250 | }, | ||
2251 | "summary": "Verify_build_texbox_exists_and_works." | ||
2252 | } | ||
2253 | }, | ||
2254 | { | ||
2255 | "test": { | ||
2256 | "@alias": "toaster.toaster.Veryfing_the_builds_link_show_proper_information", | ||
2257 | "author": [ | ||
2258 | { | ||
2259 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2260 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2261 | } | ||
2262 | ], | ||
2263 | "execution": { | ||
2264 | "1": { | ||
2265 | "action": "Start toaster", | ||
2266 | "expected_results": "" | ||
2267 | }, | ||
2268 | "2": { | ||
2269 | "action": "Create a toaster project \n \n", | ||
2270 | "expected_results": " Once project is created it should redirect you to a new project configuration page. \n\n\n" | ||
2271 | }, | ||
2272 | "3": { | ||
2273 | "action": "The configuration details should include \n A builds tab that when clicking on, it should display one of the following: \n \n\n a) A label that says \"Latest project builds\" then a label with \"All project builds\" \n If you have a finished build or there is an ongoing builds then: \n You should see a progress bar of the ongoing builds in the project. \n You should see a table with the already done builds in the project. \n\n\n b) \"All project builds\" and a search textbox with a button nothing else only if there are no builds done in the project \n ", | ||
2274 | "expected_results": "Expected result for step a): See ExistingBuilds.png attachment. \n\n\nExpected result for step b): See ZeroBuilds.png attachment. " | ||
2275 | } | ||
2276 | }, | ||
2277 | "summary": "Veryfing_the_builds_link_show_proper_information" | ||
2278 | } | ||
2279 | }, | ||
2280 | { | ||
2281 | "test": { | ||
2282 | "@alias": "toaster.toaster.Verify_that_the_Import_layer_link_shows_the_form", | ||
2283 | "author": [ | ||
2284 | { | ||
2285 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2286 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2287 | } | ||
2288 | ], | ||
2289 | "execution": { | ||
2290 | "1": { | ||
2291 | "action": "Start toaster", | ||
2292 | "expected_results": "" | ||
2293 | }, | ||
2294 | "2": { | ||
2295 | "action": "Create a toaster project \n\n", | ||
2296 | "expected_results": " Once project is created it should redirect you to a new project configuration page. \n\n\n" | ||
2297 | }, | ||
2298 | "3": { | ||
2299 | "action": "The configuration details should include \n An Import layer link that when clicking on, it should display: \n A label that says \"Layer repository information\" \n A label that says \"The layer you are importing must be compatible with Yocto Project master, which is the release you are using in this project.\" \n Form composed of the following elements: \n Layer name : textbox \n Git repository URL : textbox \n Repository subdirectory (optional) : textbox \n Git revision : textbox \n Layer dependencies (optional) : \"openembedded-core\" link and (trash icon), textbox and \"Add layer\" button \n Import and add to project : button", | ||
2300 | "expected_results": " See attachment ImportLayerForm.png" | ||
2301 | } | ||
2302 | }, | ||
2303 | "summary": "Verify_that_the_Import_layer_link_shows_the_form" | ||
2304 | } | ||
2305 | }, | ||
2306 | { | ||
2307 | "test": { | ||
2308 | "@alias": "toaster.toaster.Verify_that_New_Custom_Image_link_works_and_shows_information", | ||
2309 | "author": [ | ||
2310 | { | ||
2311 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2312 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2313 | } | ||
2314 | ], | ||
2315 | "execution": { | ||
2316 | "1": { | ||
2317 | "action": "Start toaster", | ||
2318 | "expected_results": "" | ||
2319 | }, | ||
2320 | "2": { | ||
2321 | "action": "Create a toaster project \n\n", | ||
2322 | "expected_results": " Once project is created it should redirect you to a new project configuration page \n\n\n" | ||
2323 | }, | ||
2324 | "3": { | ||
2325 | "action": "The configuration details should include \n A \"New custom image\" tab that when clicking on, it should display: \n a Title label that says: \"Select the image recipe you want to customise(#number_or_recipes_available)\" \n A search textbox with the label of: \"Search and select the image recipe you want to customise\" \n A \"Search button\" \n A \"Edit columns\" button \n A table that will display the customise images available ", | ||
2326 | "expected_results": "See attachment CustomImage.png" | ||
2327 | } | ||
2328 | }, | ||
2329 | "summary": "Verify_that_New_Custom_Image_link_works_and_shows_information" | ||
2330 | } | ||
2331 | }, | ||
2332 | { | ||
2333 | "test": { | ||
2334 | "@alias": "toaster.toaster.Verify_most_built_recipe_shows_a_maximum_of_5_recipes", | ||
2335 | "author": [ | ||
2336 | { | ||
2337 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2338 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2339 | } | ||
2340 | ], | ||
2341 | "execution": { | ||
2342 | "1": { | ||
2343 | "action": "Start toaster", | ||
2344 | "expected_results": "" | ||
2345 | }, | ||
2346 | "2": { | ||
2347 | "action": "Create a toaster project", | ||
2348 | "expected_results": "" | ||
2349 | }, | ||
2350 | "3": { | ||
2351 | "action": "Build 6 recipes example (core-image-sato, core-image-minimal, core-image-base, core-image-lsb, core-image-clutter) to name a few. ", | ||
2352 | "expected_results": " All recipes are built correctly \n\n" | ||
2353 | }, | ||
2354 | "4": { | ||
2355 | "action": "Wait for the recipes to finish ", | ||
2356 | "expected_results": "" | ||
2357 | }, | ||
2358 | "5": { | ||
2359 | "action": "Go to the configuration details.", | ||
2360 | "expected_results": " You should see 5 of the 6 recipes that were build. If you order the recipes in alphabetical order you should see that the first 5 made the list. " | ||
2361 | } | ||
2362 | }, | ||
2363 | "summary": "Verify_most_built_recipe_shows_a_maximum_of_5_recipes" | ||
2364 | } | ||
2365 | }, | ||
2366 | { | ||
2367 | "test": { | ||
2368 | "@alias": "toaster.toaster.Verify_order_sequence_of_listing_in_Most_build_recipes", | ||
2369 | "author": [ | ||
2370 | { | ||
2371 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2372 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2373 | } | ||
2374 | ], | ||
2375 | "execution": { | ||
2376 | "1": { | ||
2377 | "action": "Start toaster", | ||
2378 | "expected_results": "" | ||
2379 | }, | ||
2380 | "2": { | ||
2381 | "action": "Create a toaster project", | ||
2382 | "expected_results": "" | ||
2383 | }, | ||
2384 | "3": { | ||
2385 | "action": "Build 6 recipes example (core-image-sato, core-image-minimal, core-image-base, core-image-lsb, core-image-clutter) to name a few. \n\n", | ||
2386 | "expected_results": "All recipes are built correctly \n\n" | ||
2387 | }, | ||
2388 | "4": { | ||
2389 | "action": "Wait for the recipes to finish \n\n", | ||
2390 | "expected_results": "" | ||
2391 | }, | ||
2392 | "5": { | ||
2393 | "action": "Go to the configuration details. \n\n", | ||
2394 | "expected_results": " If you order the recipes in alphabetical order you should see that the first 5 made the list. Only 5 out of the 6 should make the list. \n\n" | ||
2395 | }, | ||
2396 | "6": { | ||
2397 | "action": "Select the 6th recipe that did not make the list and build it again. ", | ||
2398 | "expected_results": " Since the 6th recipe is now built twice it should make the list and the recipe in the 5th place should not appear." | ||
2399 | } | ||
2400 | }, | ||
2401 | "summary": "Verify_order_sequence_of_listing_in_Most_build_recipes" | ||
2402 | } | ||
2403 | }, | ||
2404 | { | ||
2405 | "test": { | ||
2406 | "@alias": "toaster.toaster.Verify_Most_build_recipes_multiple_selection", | ||
2407 | "author": [ | ||
2408 | { | ||
2409 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2410 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2411 | } | ||
2412 | ], | ||
2413 | "execution": { | ||
2414 | "1": { | ||
2415 | "action": "Start toaster", | ||
2416 | "expected_results": "" | ||
2417 | }, | ||
2418 | "2": { | ||
2419 | "action": "Create a toaster project", | ||
2420 | "expected_results": "" | ||
2421 | }, | ||
2422 | "3": { | ||
2423 | "action": "Build 4 recipes example (core-image-sato, core-image-minimal, core-image-base, core-image-lsb, core-image-clutter) to name a few. \n\n", | ||
2424 | "expected_results": " All recipes are built correctly \n\n" | ||
2425 | }, | ||
2426 | "4": { | ||
2427 | "action": "Wait for the recipes to finish. \n\n", | ||
2428 | "expected_results": "" | ||
2429 | }, | ||
2430 | "5": { | ||
2431 | "action": "Go to the configuration details. \n\n", | ||
2432 | "expected_results": " You should see the 4 recipes in alphabetical order. You should also note that the Build button on the upper right hand corner is disabled since no recipe has been selected. \n\n" | ||
2433 | }, | ||
2434 | "6": { | ||
2435 | "action": "Select 1 of the recipes in the most built recipes section. \n\n", | ||
2436 | "expected_results": "The build button is automatically enabled. \n\n" | ||
2437 | }, | ||
2438 | "7": { | ||
2439 | "action": "Select multiple (example 2 or 3) recipes in the most built recipes section. \n\n", | ||
2440 | "expected_results": " The build button is enabled. \n\n" | ||
2441 | }, | ||
2442 | "8": { | ||
2443 | "action": "Click on the build button to start building the recipes.", | ||
2444 | "expected_results": "One recipe start to build and the others are on queue." | ||
2445 | } | ||
2446 | }, | ||
2447 | "summary": "Verify_Most_build_recipes_multiple_selection" | ||
2448 | } | ||
2449 | }, | ||
2450 | { | ||
2451 | "test": { | ||
2452 | "@alias": "toaster.toaster.Verify_layer_addition_functionality", | ||
2453 | "author": [ | ||
2454 | { | ||
2455 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2456 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2457 | } | ||
2458 | ], | ||
2459 | "execution": { | ||
2460 | "1": { | ||
2461 | "action": "Clone the poky environment git clone http://git.yoctoproject.org/git/poky", | ||
2462 | "expected_results": "" | ||
2463 | }, | ||
2464 | "2": { | ||
2465 | "action": "Start toaster", | ||
2466 | "expected_results": " Once project is created it should redirect you to a new project configuration page. \n\n" | ||
2467 | }, | ||
2468 | "3": { | ||
2469 | "action": "Create a toaster project with master release \n \n\n", | ||
2470 | "expected_results": " See attachment of layerCanvas.png \n\n\n" | ||
2471 | }, | ||
2472 | "4": { | ||
2473 | "action": "Add layers by typing the name in the \"Type a layer name\" input box and adding by clicking the button. \n\n", | ||
2474 | "expected_results": " A list of layers with similar name to the one you are typing should appear, giving you the choice to add it. The default text \"Type a layer name\" should disappear as soon as you start typing. \n\n" | ||
2475 | }, | ||
2476 | "5": { | ||
2477 | "action": "Add layers by clicking on the View compatible layers link just bellow the input text box. \n\n", | ||
2478 | "expected_results": "This should redirect you to the compatible layers page where a list of compatible layers should appear and allow you to Add layers to the project. \n\n" | ||
2479 | }, | ||
2480 | "6": { | ||
2481 | "action": "Add a layer by importing a layer clicking in the Import layer", | ||
2482 | "expected_results": "This link should redirect you to the import layer form where you will be able to add layers from git repository or a local directory. \n\n\n" | ||
2483 | } | ||
2484 | }, | ||
2485 | "summary": "Verify_layer_addition_functionality" | ||
2486 | } | ||
2487 | }, | ||
2488 | { | ||
2489 | "test": { | ||
2490 | "@alias": "toaster.toaster.Verify_delete_layer_functionality", | ||
2491 | "author": [ | ||
2492 | { | ||
2493 | "email": "libertad.gonzalez.de.la.cruz@intel.com", | ||
2494 | "name": "libertad.gonzalez.de.la.cruz@intel.com" | ||
2495 | } | ||
2496 | ], | ||
2497 | "execution": { | ||
2498 | "1": { | ||
2499 | "action": "Clone the poky environment git clone http://git.yoctoproject.org/git/poky\n", | ||
2500 | "expected_results": "" | ||
2501 | }, | ||
2502 | "2": { | ||
2503 | "action": "Start toaster", | ||
2504 | "expected_results": " Once project is created it should redirect you to a new project configuration page.\n\n" | ||
2505 | }, | ||
2506 | "3": { | ||
2507 | "action": "Create a toaster project master release \n \n", | ||
2508 | "expected_results": "See attachment of layerCanvas.png \n\n" | ||
2509 | }, | ||
2510 | "4": { | ||
2511 | "action": "Remove openembedded-core layer from the project by clicking the trash icon next to it. \n\n", | ||
2512 | "expected_results": "The layer should disappear from the list and a notification should appear at the top of the page saying: \"You have removed 1 layer from your project: \". The layer_name should be a link to the corresponding layer detail page. The layer counter next to the \"layers\" heading should decrease by one. \n" | ||
2513 | }, | ||
2514 | "5": { | ||
2515 | "action": "Remove all the layers from the project", | ||
2516 | "expected_results": " you should see a message that reads: \n\nYou need to add some layers. For that you can: \n\n-View all layers compatible with this project \n\n-Import a layer \n\n-Read about layers in the documentation \n\nOr type a layer name below. \n\n\n The \"Choose from the layers compatible with this project\" link should go to the compatible layers page The \"Import a layer\" link should go to the import layer page The \"Read about layers in the documentation\" link should open in a new window and bring you to http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#understanding-and-creating-layers" | ||
2517 | } | ||
2518 | }, | ||
2519 | "summary": "Verify_delete_layer_functionality" | ||
2520 | } | ||
2521 | }, | ||
2522 | { | ||
2523 | "test": { | ||
2524 | "@alias": "toaster.toaster.Download_task_log", | ||
2525 | "author": [ | ||
2526 | { | ||
2527 | "email": "alexandru.costinx.roman@intel.com", | ||
2528 | "name": "alexandru.costinx.roman@intel.com" | ||
2529 | } | ||
2530 | ], | ||
2531 | "execution": { | ||
2532 | "1": { | ||
2533 | "action": "Start Toaster. ", | ||
2534 | "expected_results": "Toaster starts." | ||
2535 | }, | ||
2536 | "2": { | ||
2537 | "action": "Click on new project button.\n\n", | ||
2538 | "expected_results": "Open create a new project page." | ||
2539 | }, | ||
2540 | "3": { | ||
2541 | "action": " Enter a project name, select a release and click on create project or select an existing project. \n\n", | ||
2542 | "expected_results": "Project Created." | ||
2543 | }, | ||
2544 | "4": { | ||
2545 | "action": "Build a recipe (ex: core-image-minimal). \n\n", | ||
2546 | "expected_results": "Build finish." | ||
2547 | }, | ||
2548 | "5": { | ||
2549 | "action": "Click on the built recipe. \n\n", | ||
2550 | "expected_results": "Open build summary page." | ||
2551 | }, | ||
2552 | "6": { | ||
2553 | "action": "Click on tasks tab. \n\n", | ||
2554 | "expected_results": "Open tasks page." | ||
2555 | }, | ||
2556 | "7": { | ||
2557 | "action": "Click on a task executed successfully. \n\n", | ||
2558 | "expected_results": "Open task page." | ||
2559 | }, | ||
2560 | "8": { | ||
2561 | "action": "Click on \"Download task log\" button. \n", | ||
2562 | "expected_results": "You can download the task log. \n" | ||
2563 | }, | ||
2564 | "9": { | ||
2565 | "action": "Click on a failed task. \n", | ||
2566 | "expected_results": "Open task page, not appear download task \n" | ||
2567 | } | ||
2568 | }, | ||
2569 | "summary": "Download_task_log" | ||
2570 | } | ||
2571 | } | ||
2572 | ] \ No newline at end of file | ||