diff options
author | Yeoh Ee Peng <ee.peng.yeoh@intel.com> | 2018-12-28 14:54:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-18 22:59:58 +0000 |
commit | aeb87d01397f6769095a784415f6f8b58d2c8eb9 (patch) | |
tree | e97b840a8a843774f5d2cb6db3880396e74c3ae7 /meta/lib/oeqa | |
parent | 66c4001422192a8120d8b43964d9c7cb19ea4a77 (diff) | |
download | poky-aeb87d01397f6769095a784415f6f8b58d2c8eb9.tar.gz |
oeqa/manual/toaster: transfer manual toaster test cases to oeqa
As part of the solution to replace Testopia, manual test cases
need to be migrated to OEQA. These manual test case json files
will serve two use cases.
Use case#1: as input to the future commandline-based manual test
runner script, where this script will display actions and expected
result information in user friendly text, then it will capture
user input for test result and log, finally it will write test
result and log into existing standardize test result json format
from OEQA framework for automated tests.
Use case#2: QA will open and read these json file manually for
planning manual test execution. Any reader interested in
understanding manual test cases will open and read these files.
(From OE-Core rev: fbeecb059d9c006f50a2a11bed5a42740722e3e8)
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
-rw-r--r-- | meta/lib/oeqa/manual/toaster-managed-mode.json | 2572 | ||||
-rw-r--r-- | meta/lib/oeqa/manual/toaster-unmanaged-mode.json | 1170 |
2 files changed, 3742 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 | ||
diff --git a/meta/lib/oeqa/manual/toaster-unmanaged-mode.json b/meta/lib/oeqa/manual/toaster-unmanaged-mode.json new file mode 100644 index 0000000000..e614b1486b --- /dev/null +++ b/meta/lib/oeqa/manual/toaster-unmanaged-mode.json | |||
@@ -0,0 +1,1170 @@ | |||
1 | [ | ||
2 | { | ||
3 | "test": { | ||
4 | "@alias": "toaster.toaster.Create_a_Yocto_project_and_start_the_Toaster", | ||
5 | "author": [ | ||
6 | { | ||
7 | "email": "Yuan.Sun2@windriver.com", | ||
8 | "name": "Yuan.Sun2@windriver.com" | ||
9 | } | ||
10 | ], | ||
11 | "execution": { | ||
12 | "1": { | ||
13 | "action": "Set up yocto project and toaster test environment. \ncd ${installdir} \ngit clone git://git.yoctoproject.org/poky \n\n", | ||
14 | "expected_results": "NA \n\n" | ||
15 | }, | ||
16 | "2": { | ||
17 | "action": "Start up toaster. \ncd ${installdir} \nsource poky/oe-init-build-env \nsource toaster start \n\n", | ||
18 | "expected_results": " \nlog: \nThe system will start. \nSyncing... \nCreating tables ... \nCreating table south_migrationhistory \nInstalling custom SQL ... \nInstalling indexes ... \nInstalled 0 object(s) from 0 fixture(s) \n > south \n\nNot synced (use migrations): \n - orm \n(use ./manage.py migrate to migrate these) \nRunning migrations for orm: \n - Migrating forwards to 0004_auto__add_field_package_installed_name. \n > orm:0001_initial \n > orm:0002_auto__add_field_build_timespent \n > orm:0003_timespent \n - Migration 'orm:0003_timespent' is marked for no-dry-run. \n > orm:0004_auto__add_field_package_installed_name \n - Loading initial data for orm. \nInstalled 0 object(s) from 0 fixture(s) \nserver address: 127.0.0.1, server port: 8200 \nSuccessful start." | ||
19 | }, | ||
20 | "3": { | ||
21 | "action": "Build the yocto project. \nbitbake core-image-minimal \n\n", | ||
22 | "expected_results": "Build successfully. \n" | ||
23 | }, | ||
24 | "4": { | ||
25 | "action": "Use a default web brower to see project build process. \nxdg-open http://localhost:8000/ \nWait for build completion. \n", | ||
26 | "expected_results": "You can open http://localhost:8000/ in a default browser. The build process is showed. " | ||
27 | } | ||
28 | }, | ||
29 | "summary": "Create_a_Yocto_project_and_start_the_Toaster." | ||
30 | } | ||
31 | }, | ||
32 | { | ||
33 | "test": { | ||
34 | "@alias": "toaster.toaster.Sort_the_content_of_the_builds_table", | ||
35 | "author": [ | ||
36 | { | ||
37 | "email": "Yuan.Sun2@windriver.com", | ||
38 | "name": "Yuan.Sun2@windriver.com" | ||
39 | } | ||
40 | ], | ||
41 | "execution": { | ||
42 | "1": { | ||
43 | "action": "Start up toaster.", | ||
44 | "expected_results": "Succeed to start up toaster. " | ||
45 | }, | ||
46 | "2": { | ||
47 | "action": "Create 2 builds, such as \"bitbake core-image-minimal\" and \"bitbake core-image-sato\". Wait for successful builds and then run: http://localhost:8000/", | ||
48 | "expected_results": "Succeed to build the targets. " | ||
49 | }, | ||
50 | "3": { | ||
51 | "action": "Enter \"All build\" table in web browser.", | ||
52 | "expected_results": "NA " | ||
53 | }, | ||
54 | "4": { | ||
55 | "action": "Click \"Completed on\" component to sort.", | ||
56 | "expected_results": "Build targets are sorted out by the \"Completed on\". " | ||
57 | }, | ||
58 | "5": { | ||
59 | "action": "Click \"Completed on\" component again to invert the sorting .", | ||
60 | "expected_results": "The sorting is inverted. " | ||
61 | }, | ||
62 | "6": { | ||
63 | "action": "Have a sort try in other columns. outcome, machine, started on, completed on, errors, warnings, project.", | ||
64 | "expected_results": "See item 4 and 5." | ||
65 | } | ||
66 | }, | ||
67 | "summary": "Sort_the_content_of_the_builds_table." | ||
68 | } | ||
69 | }, | ||
70 | { | ||
71 | "test": { | ||
72 | "@alias": "toaster.toaster.Search_the_content_of_the_builds_table", | ||
73 | "author": [ | ||
74 | { | ||
75 | "email": "Yuan.Sun2@windriver.com", | ||
76 | "name": "Yuan.Sun2@windriver.com" | ||
77 | } | ||
78 | ], | ||
79 | "execution": { | ||
80 | "1": { | ||
81 | "action": "Start up toaster.", | ||
82 | "expected_results": "NA " | ||
83 | }, | ||
84 | "2": { | ||
85 | "action": "Create 2 builds, such as \"bitbake core-image-minimal\" and \"bitbake core-image-sato\". Wait for successful builds and then run: xdg-open http://localhost:8000/", | ||
86 | "expected_results": "NA " | ||
87 | }, | ||
88 | "3": { | ||
89 | "action": "Enter \"All build\" table in web browser.", | ||
90 | "expected_results": "NA " | ||
91 | }, | ||
92 | "4": { | ||
93 | "action": "Input a string in search component and click search.", | ||
94 | "expected_results": "Show returned search results. When no search query has been entered, we have placeholder text saying: \"Search builds\". The placeholder text disappears when the first character is typed. " | ||
95 | }, | ||
96 | "5": { | ||
97 | "action": "See returned search results.", | ||
98 | "expected_results": "If your search query returns no results, the section heading changes to \"No builds found\", and we show you an alert with a search form and an option to show all builds. " | ||
99 | }, | ||
100 | "6": { | ||
101 | "action": "Click \"Clear search\" icon (icon-remove-sign). Observe all builds are showed. ", | ||
102 | "expected_results": "Click it to clear the search and display all builds." | ||
103 | } | ||
104 | }, | ||
105 | "summary": "Search_the_content_of_the_builds_table." | ||
106 | } | ||
107 | }, | ||
108 | { | ||
109 | "test": { | ||
110 | "@alias": "toaster.toaster.Filter_the_content_of_the_builds_table", | ||
111 | "author": [ | ||
112 | { | ||
113 | "email": "Yuan.Sun2@windriver.com", | ||
114 | "name": "Yuan.Sun2@windriver.com" | ||
115 | } | ||
116 | ], | ||
117 | "execution": { | ||
118 | "1": { | ||
119 | "action": "Start up toaster.", | ||
120 | "expected_results": "" | ||
121 | }, | ||
122 | "2": { | ||
123 | "action": "Create 2 builds, such as \"bitbake core-image-minimal\" and \"bitbake core-image-sato\". Wait for successful builds and then run: xdg-open http://localhost:8000/.", | ||
124 | "expected_results": "" | ||
125 | }, | ||
126 | "3": { | ||
127 | "action": "Enter \"All build\" table in web browser.", | ||
128 | "expected_results": "" | ||
129 | }, | ||
130 | "4": { | ||
131 | "action": "Make sure the following table columns have filters. \n- Outcome \n-- Started on \n- Completed on \n- Failed tasks", | ||
132 | "expected_results": "" | ||
133 | }, | ||
134 | "5": { | ||
135 | "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.\"", | ||
136 | "expected_results": "" | ||
137 | }, | ||
138 | "6": { | ||
139 | "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.", | ||
140 | "expected_results": "" | ||
141 | }, | ||
142 | "7": { | ||
143 | "action": "Have a try in filters of the following table columns. \n- Outcome \n- Started on \n- Completed on \n- Failed tasks \n", | ||
144 | "expected_results": "NA" | ||
145 | } | ||
146 | }, | ||
147 | "summary": "Filter_the_content_of_the_builds_table." | ||
148 | } | ||
149 | }, | ||
150 | { | ||
151 | "test": { | ||
152 | "@alias": "toaster.toaster.Tasks_in_toaster_UI", | ||
153 | "author": [ | ||
154 | { | ||
155 | "email": "Yuan.Sun2@windriver.com", | ||
156 | "name": "Yuan.Sun2@windriver.com" | ||
157 | } | ||
158 | ], | ||
159 | "execution": { | ||
160 | "1": { | ||
161 | "action": " === TOASTER: Test Instructions for \"Tasks\", \"Time\", \"CPU Usage\", and \"Disk I/O\" pages === \n \nNOTE TO TESTERS: The three pages \"Time\", \"CPU Usage\", and \"Disk I/O\" are simple variations on the \"Tasks\" page. Those test instructions will demonstrate the respective unique parts. \n \n \n", | ||
162 | "expected_results": "" | ||
163 | }, | ||
164 | "2": { | ||
165 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
166 | "expected_results": "" | ||
167 | }, | ||
168 | "3": { | ||
169 | "action": "In Toaster, select the build, and select the \"Tasks\" link in the left sidebar \n \n", | ||
170 | "expected_results": "" | ||
171 | }, | ||
172 | "4": { | ||
173 | "action": "Breadcrumbs \n \n * Observe that the 4 breadcrumbs at the top left are: \n \n : a live link that will take you back to the project page \n \t: a live link that will take you back to the project Builds page \n : a live link that will take you back to the image dashboard page \n \"Tasks\" \n \n * Test the breadcrumb live links, return to this page \n \n \n", | ||
174 | "expected_results": "" | ||
175 | }, | ||
176 | "5": { | ||
177 | "action": "General Layout \n \n * Observe the left-hand box with links to the other pages of the build \n \n * Observe the title of the table is \"Tasks\", in bold \n \n * Observe the search/filter bar above the table \n \n * Observe the number of table rows in each page matches the number selected in the \"Show rows\" dropdown menu \n \n * Observe at the bottom of the page the \"Showing XX to XX out of xxx entries\", the page selection links, and the \"Show Rows\" selection. \n \n \n", | ||
178 | "expected_results": "" | ||
179 | }, | ||
180 | "6": { | ||
181 | "action": "Columns \n \nNote: to restore the default columns in your browser, for example in Firefox, select \"Tools > Privacy > remove individual cookies\", find the cookies for the IP address of the Toaster engine (for example \"localhost\"), and remove each sub-cookie with the prefix \"_displaycols_*\" (or the whole cookie if those are the only sub-cookies). \n \n * Observe that the default columns are: \n \n \"Order, Recipe, Task, Executed, Outcome, Cache attempt\" \n \n * Click the \"Edit Columns\" button. ", | ||
182 | "expected_results": "" | ||
183 | }, | ||
184 | "7": { | ||
185 | "action": "Observe that the fields are sorted as follows (with the indicated items greyed) \n \n [ ] CPU usage \n [x] Cache attempt \n [ ] Disk I/O (ms) \n [x] Executed \n [x] Order {greyed} \n [x] Outcome \n [x] Recipe {greyed} \n [ ] Recipe version \n [x] Task {greyed} \n [ ] Time (secs) \n \n * For each of the greyed items, attempt to click them. Observe that they do not change. \n \n * For each of the non-greyed items, attempt to click them. Observe that the respective column dynamically appears when checked and disappears when un-checked. ", | ||
186 | "expected_results": "" | ||
187 | }, | ||
188 | "8": { | ||
189 | "action": "Search \n \n * Observe that the search text box background text is \"Search tasks\". \n \n * Set the search text to \"busybox\" and click \"Search\". Observe that only the busybox tasks are listed (about 16). \n \n * Click the \"X\" next to the search text box. Observe that all of the tasks re-appear. \n \n \n", | ||
190 | "expected_results": "" | ||
191 | }, | ||
192 | "9": { | ||
193 | "action": "Column sorts \n \n * Enable all of the columns. \n \n * Observe that by default the \"Order\" column header is in bold, it has a down-arrow icon, and that the table is sorted by this column in ascending order. \n \n * Observe that the columns are in this order, and are sortable only if indicated: \n \n Order {sortable} \n Recipe {sortable} \n Recipe version \n Task {sortable} \n Executed {sortable} \n Outcome {sortable} \n Cache attempt {sortable} \n Time (secs) {sortable} \n CPU usage {sortable} \n Disk I/O (ms) {sortable} ", | ||
194 | "expected_results": "" | ||
195 | }, | ||
196 | "10": { | ||
197 | "action": " Test that each of the sortable columns do sort, ascending and descending \n \n * Observe that each of the column headers have a question mark icon, and that hovering over it provides help text.", | ||
198 | "expected_results": "" | ||
199 | }, | ||
200 | "11": { | ||
201 | "action": "\"Executed\" Filter \n \n * Observe that the \"Executed\" column has the filter icon. Click on it and observe these values, where \"All Tasks\" is the default \n \n (*) All Tasks \n ( ) Executed Tasks \n ( ) Not Executed Tasks \n \n * Click on \"Executed Tasks\" and observe that only rows with the value \"Executed\" are displayed. \n \n * Click on \"Not Executed Tasks\" and observe that only rows with the value \"Not Executed\" are displayed. \n \n * Click on \"All Tasks\" and observe that all rows are displayed. \n \n \n", | ||
202 | "expected_results": "" | ||
203 | }, | ||
204 | "12": { | ||
205 | "action": "\"Outcome\" Filter \n \n * Observe that the \"Outcome\" column has the filter icon. Click on it and observe these values, where \"All Tasks\" is the default \n \n (*) All Tasks \n ( ) Succeeded Tasks \n ( ) Failed Tasks \n ( ) Cached Tasks \n ( ) Prebuilt Tasks \n ( ) Covered Tasks \n ( ) Empty Tasks \n \n * Click on each of the filter selections, and observe that the resulting row \"Outcome\" values match the selection. \n \n * Click on \"All Tasks\" and observe that all rows are displayed. \n \n \n1", | ||
206 | "expected_results": "" | ||
207 | }, | ||
208 | "13": { | ||
209 | "action": "\"Cache attempt\" Filter \n \n * Observe that the \"Cache attempt\" column has the filter icon. Click on it and observe these values, where \"All Tasks\" is the default \n \n (*) All Tasks \n ( ) Tasks with cache attempts \n ( ) Tasks with 'File not in cache' attempts \n ( ) Tasks with 'Failed' cache attempts \n ( ) Tasks with 'Succeeded' cache attempts \n \n * Click on each of the filter selections, and observe that the resulting row \"Outcome\" values match the selection. \n \n Note the with a clean build, only the \"All Tasks\" and \"Tasks with cache attempts\" will return rows. \n \n * Click on \"All Tasks\" and observe that all rows are displayed. \n \n \n1", | ||
210 | "expected_results": "" | ||
211 | }, | ||
212 | "14": { | ||
213 | "action": "Order, Task, Executed, Outcome, Cache attempt links \n \n * Observe that for a given row, the above values are live links that will both take you to the respective task detail page. Click the back button to return. \n\n * Observe that for a given row the values in \"Recipe\" and \"Recipe version\" are live links that will both take you to the respective recipe details page. Click the back button to return \n \n \n1", | ||
214 | "expected_results": "" | ||
215 | }, | ||
216 | "15": { | ||
217 | "action": "Time Page \n \n * \"In Toaster, select the build, and select the \"Time\" link in the left sidebar \n \n * Observe that the default columns are: \n \n \"Recipe\", \"Task\", \"Executed\", \" Outcome\", \"Time (secs)\" \n \n * Observe that the default sort is \"Time (secs)\", in descending order. \n \n * In the \"Edit Columns\" button, turn on all of the columns. \n \n * Observe that the page now matches the \"Tasks\" page, and passes the same tests. \n \n \n1", | ||
218 | "expected_results": "" | ||
219 | }, | ||
220 | "16": { | ||
221 | "action": "CPU Usage Page \n \n * \"In Toaster, select the build, and select the \"CPU Usage\" link in the left sidebar \n \n * Observe that the default columns are: \n \n \"Recipe\", \"Task\", \"Executed\", \"Outcome\", \"CPU Usage\" \n \n * Observe that the default sort is \"CPU Usage\", in descending order. \n \n * In the \"Edit Columns\" button, turn on all of the columns. \n \n * Observe that the page now matches the \"Tasks\" page, and passes the same tests. \n \n \n1", | ||
222 | "expected_results": "" | ||
223 | }, | ||
224 | "17": { | ||
225 | "action": "Disk I/O Page \n \n * \"In Toaster, select the build, and select the \"Disk I/O\" link in the left sidebar \n \n * Observe that the default columns are: \n \n \"Recipe\", \"Task\", \"Executed\", \"Outcome\", \"Disk I/O (ms)\" \n \n * Observe that the default sort is \"Disk I/O (ms)\", in descending order. \n \n * In the \"Edit Columns\" button, turn on all of the columns. \n \n * Observe that the page now matches the \"Tasks\" page, and passes the same tests. ", | ||
226 | "expected_results": "NA" | ||
227 | } | ||
228 | }, | ||
229 | "summary": "Tasks_in_toaster_UI" | ||
230 | } | ||
231 | }, | ||
232 | { | ||
233 | "test": { | ||
234 | "@alias": "toaster.toaster.package_detail_in_toaster_UI", | ||
235 | "author": [ | ||
236 | { | ||
237 | "email": "Yuan.Sun2@windriver.com", | ||
238 | "name": "Yuan.Sun2@windriver.com" | ||
239 | } | ||
240 | ], | ||
241 | "execution": { | ||
242 | "1": { | ||
243 | "action": "TOASTER: Test Instructions for \"Package Detail\" page \n \n", | ||
244 | "expected_results": "" | ||
245 | }, | ||
246 | "2": { | ||
247 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". ", | ||
248 | "expected_results": "" | ||
249 | }, | ||
250 | "3": { | ||
251 | "action": "In Toaster, select the build, and select the \"Packages\" link in the left sidebar.", | ||
252 | "expected_results": "" | ||
253 | }, | ||
254 | "4": { | ||
255 | "action": "Select a package from the \"Package\" column.", | ||
256 | "expected_results": "" | ||
257 | }, | ||
258 | "5": { | ||
259 | "action": "Breadcrumbs \n * Observe that the 3 breadcrumbs at the top left are: \n : a live link that will take you back to the image dashboard page \n \"Packages\": a live link that will take you back to the Packages page \n \"bash\": the name of the current package (not a link) \n * Test the breadcrumb live links, return to this page ", | ||
260 | "expected_results": "" | ||
261 | }, | ||
262 | "6": { | ||
263 | "action": "General Layout \n * Click on any package \n * Observe that there is no the left-hand box \n * Observe that there is a right-hand box, with information about the package \n * Observe the title is the package name and version, in bold \n * Observe that, if the package is installed in an image, there is a link to the image(s) the package appears in \n * Observe that, if the package is not installed in the image, there are two tab buttons below the title ", | ||
264 | "expected_results": "" | ||
265 | }, | ||
266 | "7": { | ||
267 | "action": "Observe that the tab buttons are: \n Generated files (2) {highlighted} \n Runtime dependencies (4) \n", | ||
268 | "expected_results": "" | ||
269 | }, | ||
270 | "8": { | ||
271 | "action": "Generated files tab \n * Click the \"Generated files\" tab (which should be selected by default) \n * Observe that the number of files in the table matches the number in parenthesis after the \"Generated files\" tab title. \n * Observe that the columns in the table are \"File\" and \"Size\" \n * Observe that the table is sorted by \"File\" in ascending alphabetical order (A to Z). ", | ||
272 | "expected_results": "" | ||
273 | }, | ||
274 | "9": { | ||
275 | "action": "Runtime dependencies tab \n * Click the \"Runtime dependencies\" tab \n * Observe that the number of dependencies in the table matches the number in parenthesis after the \"Runtime dependencies\" tab title. \n * Observe that the columns in the table are: \n \"Package, Version, Size\" \n * Observe that the table is sorted by Package in ascending alphabetical order (A to Z) \n * Observe that the package name values are live links to the respective package details page. ", | ||
276 | "expected_results": "The information icon was eliminated on the columns that where self explanatory. " | ||
277 | }, | ||
278 | "10": { | ||
279 | "action": "Package information box \n * Observe that there is a right-hand box, with information about the package, including in this example the fields: \n \"Size, License, Recipe, Recipe version, Layer, Layer branch, Layer commit\" \n * Observe that each of the field has a question mark icon, and that hovering will provide help text. \n * Observe that none of the values in the right-hand box are blank \n * Observe that the \"Recipe\" value is a live link to the respective recipe detail page. ", | ||
280 | "expected_results": "" | ||
281 | } | ||
282 | }, | ||
283 | "summary": "package_detail_in_toaster_UI" | ||
284 | } | ||
285 | }, | ||
286 | { | ||
287 | "test": { | ||
288 | "@alias": "toaster.toaster.recipes:_Sort_the_content_of_the_recipes_table", | ||
289 | "author": [ | ||
290 | { | ||
291 | "email": "Yuan.Sun2@windriver.com", | ||
292 | "name": "Yuan.Sun2@windriver.com" | ||
293 | } | ||
294 | ], | ||
295 | "execution": { | ||
296 | "1": { | ||
297 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
298 | "expected_results": "" | ||
299 | }, | ||
300 | "2": { | ||
301 | "action": "In Toaster, select the build, and select the \"Recipes\" link in the left sidebar. \n\n", | ||
302 | "expected_results": "" | ||
303 | }, | ||
304 | "3": { | ||
305 | "action": "Make sure that by default the \"Recipes\" table is sorted by \"Recipe\" in ascending alphabetical order (A to Z). \n\n", | ||
306 | "expected_results": "" | ||
307 | }, | ||
308 | "4": { | ||
309 | "action": "Sort my \"Recipes\" table by \"Section\" and then navigate away by selecting a recipe(such as click busybox recipe). When you click \"back\" button in web-browser to go back to the \"Recipes\" table it should still be sorted by \"Section\". \n\n", | ||
310 | "expected_results": "" | ||
311 | }, | ||
312 | "5": { | ||
313 | "action": "Make sure all column headings are sortable, except \"Recipe version\", \"Dependencies\", \"Reverse dependencies\" and \"Layer commit\". \n\n", | ||
314 | "expected_results": "" | ||
315 | }, | ||
316 | "6": { | ||
317 | "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. \nSort recipes by \"section\" column heading. Then hide \"Section\" column by \"Edit columns\". Make sure that the \"Recipes\" table is sorted by \"Recipe\" in ascending alphabetical order (A to Z). \nNOTE: Bug 5919 is filed against the issue. \n\n", | ||
318 | "expected_results": "" | ||
319 | }, | ||
320 | "7": { | ||
321 | "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 \"section\" column heading. Input a string (such as \"lib\") in search box and click search button. Make sure results returned should be sorted by \"section\". \n", | ||
322 | "expected_results": "NA" | ||
323 | } | ||
324 | }, | ||
325 | "summary": "recipes:_Sort_the_content_of_the_recipes_table." | ||
326 | } | ||
327 | }, | ||
328 | { | ||
329 | "test": { | ||
330 | "@alias": "toaster.toaster.recipes:_Search_the_content_of_the_recipes_table", | ||
331 | "author": [ | ||
332 | { | ||
333 | "email": "Yuan.Sun2@windriver.com", | ||
334 | "name": "Yuan.Sun2@windriver.com" | ||
335 | } | ||
336 | ], | ||
337 | "execution": { | ||
338 | "1": { | ||
339 | "action": "recipes: Search the content of the recipes table \n\n", | ||
340 | "expected_results": "" | ||
341 | }, | ||
342 | "2": { | ||
343 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
344 | "expected_results": "" | ||
345 | }, | ||
346 | "3": { | ||
347 | "action": "In Toaster, select the build, and select the \"Recipes\" link in the left sidebar. \n\n", | ||
348 | "expected_results": "" | ||
349 | }, | ||
350 | "4": { | ||
351 | "action": "Observe the search is made of a text input field and a \"Search\" button in a toolbar above the table. \n\n", | ||
352 | "expected_results": "" | ||
353 | }, | ||
354 | "5": { | ||
355 | "action": "When no search query has been entered, we have placeholder text saying: \"Search recipes\". \n\n", | ||
356 | "expected_results": "" | ||
357 | }, | ||
358 | "6": { | ||
359 | "action": "Input \"lib\" in the text input field. The placeholder text disappears when the first character is typed. Click search button. \n\n", | ||
360 | "expected_results": "" | ||
361 | }, | ||
362 | "7": { | ||
363 | "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 all 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 recipes. Observe \"show all recipes\" button is available. \n\n", | ||
364 | "expected_results": "" | ||
365 | }, | ||
366 | "8": { | ||
367 | "action": "When I run a search, the search happens against the following columns (independently of they being shown or hidden): \n- Recipe \n- Recipe version \n- Recipe file \n- Section \n- License \n- Layer \n- Layer branch \n- Layer commit \n\nInput a string to search for the above 8 column headings separately to make sure that the search happens against the columns. \n\n \n\n", | ||
368 | "expected_results": "" | ||
369 | }, | ||
370 | "9": { | ||
371 | "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. Since filter feature of recipes (4296) is obsolete, we don't have to test filter. \n\n", | ||
372 | "expected_results": "" | ||
373 | }, | ||
374 | "10": { | ||
375 | "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.\nSince filter feature of recipes (4296) is obsolete, we don't have to test filter. \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).", | ||
376 | "expected_results": "NA" | ||
377 | }, | ||
378 | "11": { | ||
379 | "action": " 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 tasks). \nSince filter feature of recipes (4296) is obsolete, we don't have to test filter. \n\n", | ||
380 | "expected_results": "NA" | ||
381 | } | ||
382 | }, | ||
383 | "summary": "recipes:_Search_the_content_of_the_recipes_table." | ||
384 | } | ||
385 | }, | ||
386 | { | ||
387 | "test": { | ||
388 | "@alias": "toaster.toaster.recipes:_Customise_the_columns_of_the_recipes_table", | ||
389 | "author": [ | ||
390 | { | ||
391 | "email": "Yuan.Sun2@windriver.com", | ||
392 | "name": "Yuan.Sun2@windriver.com" | ||
393 | } | ||
394 | ], | ||
395 | "execution": { | ||
396 | "1": { | ||
397 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
398 | "expected_results": "" | ||
399 | }, | ||
400 | "2": { | ||
401 | "action": "In Toaster, select the build, and select the \"Recipes\" link in the left sidebar. \n\n", | ||
402 | "expected_results": "" | ||
403 | }, | ||
404 | "3": { | ||
405 | "action": "* Observe that the default columns are: \n \"Recipe, Recipe version, Recipe file, Section , License, Layer\" \n \n * Click the \"Edit Columns\" button. \n * Observe that the fields are sorted as follows (with the indicated items greyed) \n [ ] Dependencies \n [x] Layer \n [ ] Layer branch \n [ ] Layer commit \n [x] License \n [x] Recipe {greyed} \n [x] Recipe file \n [x] Recipe version {greyed} \n [ ] Reverse dependencies \n [x] Section \n \n * For each of the greyed items, attempt to click them. Observe that they do not change. \n * For each of the non-greyed items, attempt to click them. Observe that the respective column dynamically appears when checked and disappears when un-checked.\n", | ||
406 | "expected_results": "NA" | ||
407 | } | ||
408 | }, | ||
409 | "summary": "recipes:_Customise_the_columns_of_the_recipes_table." | ||
410 | } | ||
411 | }, | ||
412 | { | ||
413 | "test": { | ||
414 | "@alias": "toaster.toaster.recipes:_View_a_table_with_all_the_recipes_included_in_an_image_recipe", | ||
415 | "author": [ | ||
416 | { | ||
417 | "email": "Yuan.Sun2@windriver.com", | ||
418 | "name": "Yuan.Sun2@windriver.com" | ||
419 | } | ||
420 | ], | ||
421 | "execution": { | ||
422 | "1": { | ||
423 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
424 | "expected_results": "" | ||
425 | }, | ||
426 | "2": { | ||
427 | "action": "In Toaster, select the build, and select the \"Recipes\" link in the left sidebar. \n\n", | ||
428 | "expected_results": "" | ||
429 | }, | ||
430 | "3": { | ||
431 | "action": "By default, the all recipes table displays the following columns in this order: \n(1) Recipe (2) Recipe version: the target version and revision (3) Dependencies (4)Reverse Dependencies (5) License: the value of the target's LICENSE variable (6) Layer: the name of the layer providing the target \n\n", | ||
432 | "expected_results": "" | ||
433 | }, | ||
434 | "4": { | ||
435 | "action": "In the \"Edit columns\" menu, table columns appear listed alphabetically. \nIn the table itself, the default order of columns is as follows: \n(1) Dependencies (2) Layer (3) Layer branch (4) Layer commit (5) License (6) Recipe (7) Recipe file (8) Reverse dependencies (9) Section (10) Version \n\nThe minimum table is made of the 2 columns that provide the information needed to identify a target: Recipe and Recipe version.", | ||
436 | "expected_results": "NA" | ||
437 | } | ||
438 | }, | ||
439 | "summary": "recipes:_View_a_table_with_all_the_recipes_included_in_an_image_recipe" | ||
440 | } | ||
441 | }, | ||
442 | { | ||
443 | "test": { | ||
444 | "@alias": "toaster.toaster.recipes:_View_detailed_information_about_a_recipe。", | ||
445 | "author": [ | ||
446 | { | ||
447 | "email": "Yuan.Sun2@windriver.com", | ||
448 | "name": "Yuan.Sun2@windriver.com" | ||
449 | } | ||
450 | ], | ||
451 | "execution": { | ||
452 | "1": { | ||
453 | "action": "Create a default Yocto project (qemux86), and start the Toaster. \n \n $ source poky/oe-init-build-env \n $ source toaster start \n $ bitbake core-image-minimal \n $ http://localhost:8000/ \n \n", | ||
454 | "expected_results": "" | ||
455 | }, | ||
456 | "2": { | ||
457 | "action": "Select the \"core-image-minimal\" build link \n \n", | ||
458 | "expected_results": "" | ||
459 | }, | ||
460 | "3": { | ||
461 | "action": "Select the \"Recipes\" link in the left sidebar \n \nObserve that the recipes are listed in a table, and that each recipe name is a live URL link. \n \n", | ||
462 | "expected_results": "" | ||
463 | }, | ||
464 | "4": { | ||
465 | "action": "Observe that \"Packages\" link. It should have an appended value like \"(4)\". Now click on this link. \n \nObserve: \n a) The number of packages matches the previous number in parenthesis. \n \n b) Each package has a version and a size. The size may be zero. \n \n c) Note that if you hover on a package name, it will reveal a URL of the following form. This link should take you to the corresponding package detail page. \n \n localhost:8000/gui/build//package/ \n \n", | ||
466 | "expected_results": "" | ||
467 | }, | ||
468 | "5": { | ||
469 | "action": "Observe that recipes of \"Build Dependencies\" link has an appended value like \"(0)\". Now click on this link. \n \nObserve: \n a) No dependencies appear, and you get a message of the form: \n \n \"$RECIPE_NAME_VERSION has no build dependencies.\" \n \n", | ||
470 | "expected_results": "" | ||
471 | }, | ||
472 | "6": { | ||
473 | "action": "Observe that \"Reverse build dependencies\" link has an appended value like \"(1)\". Now click on this link. \n \nObserve: \n a) The number of packages matches the previous number in parenthesis. \n \n b) The recipe dependency should be \"packagegroup-core-boot\", \n \n c) There should be a respective version displayed, for example \"1.0-r11\" \n \n d) If you hover on the recipe name, it will reveal a URL of the following form. This link should take you to the corresponding recipe detail page. \n \n localhost:8000/gui/build//recipe/ \n \n", | ||
474 | "expected_results": "" | ||
475 | }, | ||
476 | "7": { | ||
477 | "action": "Click the breadcrumb \"Recipes\" at the top, locate the \"gdbm\" recipe, and select it. \n \n", | ||
478 | "expected_results": "" | ||
479 | }, | ||
480 | "8": { | ||
481 | "action": "Observe that \"Packages\" link. It should have an appended value like \"(0)\". Now click on this link. \n \nObserve: \n a) No packages appear, and you get a message of the form: \n \n \"$PACKAGE_NAME_VERSION does not build any packages.\" \n \n", | ||
482 | "expected_results": "" | ||
483 | }, | ||
484 | "9": { | ||
485 | "action": "Observe that \"Build dependencies\" link. It should have an appended value like \"(2)\". Now click on this link. \n \nObserve: \n a) The number of build dependencies matches the previous number in parenthesis. \n \n b) The recipe dependency should have values like \"gettext-native\" and \"libtool-cross\". \n \n c) There should be a respective versions displayed for each dependency. \n \n d) If you hover on a recipe name, it will reveal a URL of the following form. This link should take you to the corresponding recipe detail page. \n \n localhost:8000/gui/build//recipe/ \n \n1", | ||
486 | "expected_results": "" | ||
487 | }, | ||
488 | "10": { | ||
489 | "action": "Observe that \"Reverse build dependencies\" link. It should have an appended value like \"(0)\". Now click on this link. \n \nObserve: \n a) No reverse dependencies appear, and you get a message of the form: \n \n \"$RECIPE_NAME_VERSION does not build any packages.", | ||
490 | "expected_results": "NA" | ||
491 | } | ||
492 | }, | ||
493 | "summary": "recipes:_View_detailed_information_about_a_recipe。" | ||
494 | } | ||
495 | }, | ||
496 | { | ||
497 | "test": { | ||
498 | "@alias": "toaster.toaster.variables:_Search_the_content_of_the_bitbake_variables_table", | ||
499 | "author": [ | ||
500 | { | ||
501 | "email": "Yuan.Sun2@windriver.com", | ||
502 | "name": "Yuan.Sun2@windriver.com" | ||
503 | } | ||
504 | ], | ||
505 | "execution": { | ||
506 | "1": { | ||
507 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
508 | "expected_results": "" | ||
509 | }, | ||
510 | "2": { | ||
511 | "action": "In Toaster, select the build, and select the \"Configuration\" link in the left sidebar. Then click \"BitBake variables\" tab. \n\n", | ||
512 | "expected_results": "" | ||
513 | }, | ||
514 | "3": { | ||
515 | "action": "When no search query has been entered, we have placeholder text saying: \"Search BitBake variables\". \n\n", | ||
516 | "expected_results": "" | ||
517 | }, | ||
518 | "4": { | ||
519 | "action": "Input \"lib\" in text input field. The placeholder text disappears when the first character is typed. Click search button. \n\n", | ||
520 | "expected_results": "" | ||
521 | }, | ||
522 | "5": { | ||
523 | "action": "Observe \"4 variables found\" is showed. (It may be other number.) \n If your search query returns no results, we display an alert with: \n - A h3 heading saying: \"No variables found\" \n - A search box \n - The search query is showed in the text input shield. \n - A link to show all variables. we show the variables table. \n\n", | ||
524 | "expected_results": "" | ||
525 | }, | ||
526 | "6": { | ||
527 | "action": "We provide a \"Clear search\" icon (icon-remove-sign). Click it to clear the search and display all variables. Check that the \"Clear search\" icon cannot be accessed using the tab key. \n\n", | ||
528 | "expected_results": "" | ||
529 | }, | ||
530 | "7": { | ||
531 | "action": "Verify search scope. \nWhen I run a search, the search happens against the following columns (independently of they being shown or hidden): \n- Variable \n- Value \n- Set in file \n- Description \n\n", | ||
532 | "expected_results": "" | ||
533 | }, | ||
534 | "8": { | ||
535 | "action": "Verify \"search, sorting and 'Edit columns'\" \nSearching does not change the state of the table: the same columns remain hidden and the same sorting applied \nwhen search results are displayed, but filters are cleared by the search results. \n\n", | ||
536 | "expected_results": "" | ||
537 | }, | ||
538 | "9": { | ||
539 | "action": "Search and filters \nIf I run a search query, any filter applied afterwards will filter the content returned by the search query. \nIf I run a search query while a filter is applied, the filter is cleared by the results of the search query. \n", | ||
540 | "expected_results": "NA" | ||
541 | } | ||
542 | }, | ||
543 | "summary": "variables:_Search_the_content_of_the_bitbake_variables_table" | ||
544 | } | ||
545 | }, | ||
546 | { | ||
547 | "test": { | ||
548 | "@alias": "toaster.toaster.variables:_Sort_the_content_of_the_bitbake_variables_table", | ||
549 | "author": [ | ||
550 | { | ||
551 | "email": "Yuan.Sun2@windriver.com", | ||
552 | "name": "Yuan.Sun2@windriver.com" | ||
553 | } | ||
554 | ], | ||
555 | "execution": { | ||
556 | "1": { | ||
557 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
558 | "expected_results": "" | ||
559 | }, | ||
560 | "2": { | ||
561 | "action": "In Toaster, select the build, and select the \"Configuration\" link in the left sidebar. Then click \"BitBake variables\" tab. \n\n", | ||
562 | "expected_results": "" | ||
563 | }, | ||
564 | "3": { | ||
565 | "action": "By default, the \"variables\" table is sorted by \"Variable\" in ascending alphabetical order (A to Z). \n\n", | ||
566 | "expected_results": "" | ||
567 | }, | ||
568 | "4": { | ||
569 | "action": "Make sure that \"Variable\" column is sortable (Developers have disabled sort function of all other columns to avoid bug 6004) \n\n", | ||
570 | "expected_results": "" | ||
571 | }, | ||
572 | "5": { | ||
573 | "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.", | ||
574 | "expected_results": "NA" | ||
575 | } | ||
576 | }, | ||
577 | "summary": "variables:_Sort_the_content_of_the_bitbake_variables_table." | ||
578 | } | ||
579 | }, | ||
580 | { | ||
581 | "test": { | ||
582 | "@alias": "toaster.toaster.builds:_View_a_table_of_all_the_builds_run_for_a_certain_build_directory", | ||
583 | "author": [ | ||
584 | { | ||
585 | "email": "Yuan.Sun2@windriver.com", | ||
586 | "name": "Yuan.Sun2@windriver.com" | ||
587 | } | ||
588 | ], | ||
589 | "execution": { | ||
590 | "1": { | ||
591 | "action": "Start up toaster and open localhost:8000. ", | ||
592 | "expected_results": "" | ||
593 | }, | ||
594 | "2": { | ||
595 | "action": "You can see 'Latest builds' section lists. - Builds in progress, sorted by inverse start time (last one starting at the top). - 3 latest completed builds, as long as they are less than 24 hours old. If there are no builds in progress or builds completed within the last 24 hours we don't display it: the page shows only the 'All builds' section. ", | ||
596 | "expected_results": "" | ||
597 | }, | ||
598 | "3": { | ||
599 | "action": "You can see the following column headings. You can see the their description in https://bugzilla.yoctoproject.org/attachment.cgi?id=1617. outcome, recipe, machine, started on, completed on, failed tasks, errors, warnings, time, image files, project", | ||
600 | "expected_results": "NA" | ||
601 | } | ||
602 | }, | ||
603 | "summary": "builds:_View_a_table_of_all_the_builds_run_for_a_certain_build_directory" | ||
604 | } | ||
605 | }, | ||
606 | { | ||
607 | "test": { | ||
608 | "@alias": "toaster.toaster.builds:_Customise_the_columns_of_the_builds_table", | ||
609 | "author": [ | ||
610 | { | ||
611 | "email": "Yuan.Sun2@windriver.com", | ||
612 | "name": "Yuan.Sun2@windriver.com" | ||
613 | } | ||
614 | ], | ||
615 | "execution": { | ||
616 | "1": { | ||
617 | "action": "Start up toaster.", | ||
618 | "expected_results": "" | ||
619 | }, | ||
620 | "2": { | ||
621 | "action": "Create 2 builds, such as \"bitbake core-image-minimal\" and \"bitbake core-image-sato\". Wait for successful builds and then run: xdg-open http://localhost:8000/", | ||
622 | "expected_results": "" | ||
623 | }, | ||
624 | "3": { | ||
625 | "action": "Enter \"All build\" table in web browser.", | ||
626 | "expected_results": "" | ||
627 | }, | ||
628 | "4": { | ||
629 | "action": "Select a few item in \"Edit columns\" to show or hide them in all builds.", | ||
630 | "expected_results": "Unchecked items changed to checked should immediately appear in the table. Checked items changed to unchecked should immediately disappear from the table. If you uncheck the column with the applied sorting, when you close the \"Edit columns\" menu the applied sorting should revert to the table default sorting. Bug 5919 is filed for the function." | ||
631 | } | ||
632 | }, | ||
633 | "summary": "builds:_Customise_the_columns_of_the_builds_table" | ||
634 | } | ||
635 | }, | ||
636 | { | ||
637 | "test": { | ||
638 | "@alias": "toaster.toaster.packages:_View_a_table_with_all_the_packages_built_for_an_image_recipe", | ||
639 | "author": [ | ||
640 | { | ||
641 | "email": "Yuan.Sun2@windriver.com", | ||
642 | "name": "Yuan.Sun2@windriver.com" | ||
643 | } | ||
644 | ], | ||
645 | "execution": { | ||
646 | "1": { | ||
647 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". ", | ||
648 | "expected_results": "" | ||
649 | }, | ||
650 | "2": { | ||
651 | "action": "In Toaster, select the build, and select the \"Packages\" link in the left sidebar. ", | ||
652 | "expected_results": "" | ||
653 | }, | ||
654 | "3": { | ||
655 | "action": "By default, the built packages table displays the following columns in this order: Package, Package version, Size ", | ||
656 | "expected_results": "" | ||
657 | }, | ||
658 | "4": { | ||
659 | "action": "Apart from the columns shown by default, the following additional columns are also available to users via the \"Edit columns\" menu: Layer, Layer branch, Layer commit, License, Recipe version ", | ||
660 | "expected_results": "" | ||
661 | }, | ||
662 | "5": { | ||
663 | "action": "Enable these columns and observe that table columns appear listed alphabetically in the \"Edit columns\" menu (1)Package (2)Package version (3)Size (4)License (5)Recipe (6)Recipe version (7)Layer (8)Layer branch (9)Layer commit ", | ||
664 | "expected_results": "" | ||
665 | }, | ||
666 | "6": { | ||
667 | "action": "The minimum table is made of the 2 columns that provide the information needed to identify a package: Package and Package version. Their corresponding checkboxes in the \"Edit columns\" menu appear always selected and are in an inactive state. ", | ||
668 | "expected_results": "NA" | ||
669 | } | ||
670 | }, | ||
671 | "summary": "packages:_View_a_table_with_all_the_packages_built_for_an_image_recipe" | ||
672 | } | ||
673 | }, | ||
674 | { | ||
675 | "test": { | ||
676 | "@alias": "toaster.toaster.packages:_Sort_the_content_of_the_packages_table", | ||
677 | "author": [ | ||
678 | { | ||
679 | "email": "Yuan.Sun2@windriver.com", | ||
680 | "name": "Yuan.Sun2@windriver.com" | ||
681 | } | ||
682 | ], | ||
683 | "execution": { | ||
684 | "1": { | ||
685 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". ", | ||
686 | "expected_results": "" | ||
687 | }, | ||
688 | "2": { | ||
689 | "action": "In Toaster, select the build, and select the \"Packages\" link in the left sidebar. ", | ||
690 | "expected_results": "" | ||
691 | }, | ||
692 | "3": { | ||
693 | "action": "Observe that by default the \"built packages\" table is sorted by \"Package\" in ascending alphabetical order (A to Z). ", | ||
694 | "expected_results": "" | ||
695 | }, | ||
696 | "4": { | ||
697 | "action": "Click \"Size\" column heading to sort my \"built packages\" table by \"Size\". Then navigate away by selecting a package and you can see the package page. After click \"go back\" button in browser to return to the \"built packages\" table it should still be sorted by \"Size\". ", | ||
698 | "expected_results": "" | ||
699 | }, | ||
700 | "5": { | ||
701 | "action": "Observe that all except \"Package version\", \"Recipe version\", \"Layer commit\" are sortable. ", | ||
702 | "expected_results": "" | ||
703 | }, | ||
704 | "6": { | ||
705 | "action": "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. Bug 5919 is filed for the issue. ", | ||
706 | "expected_results": "" | ||
707 | }, | ||
708 | "7": { | ||
709 | "action": "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 packages by size and search a string. Observe that results returned should be sorted by size. ", | ||
710 | "expected_results": "" | ||
711 | }, | ||
712 | "8": { | ||
713 | "action": "In Toaster, select the build, and select the \"core-image*\" link in the left sidebar. Observe that by default the \"built packages\" table is sorted by \"Package\" in ascending alphabetical order (A to Z). ", | ||
714 | "expected_results": "" | ||
715 | }, | ||
716 | "9": { | ||
717 | "action": "If choose to sort my \"included packages\" table by \"Size\" and then navigate away by selecting a package, when I go back to the \"included packages\" table it should still be sorted by \"Size\". ", | ||
718 | "expected_results": "" | ||
719 | }, | ||
720 | "10": { | ||
721 | "action": "Enable all columns by \"Edit columns\". All except \"Package version\", \"Recipe version\", \"Dependencies\", \"Reverse dependencies\", \"Layer commit\", should be sortable. ", | ||
722 | "expected_results": "" | ||
723 | }, | ||
724 | "11": { | ||
725 | "action": "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. Bug 5919 is filed for the issue. ", | ||
726 | "expected_results": "" | ||
727 | }, | ||
728 | "12": { | ||
729 | "action": "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 packages by size and search a string. Observe that results returned should be sorted by size.", | ||
730 | "expected_results": "NA" | ||
731 | } | ||
732 | }, | ||
733 | "summary": "packages:_Sort_the_content_of_the_packages_table" | ||
734 | } | ||
735 | }, | ||
736 | { | ||
737 | "test": { | ||
738 | "@alias": "toaster.toaster.packages:_Customise_the_columns_of_the_packages_table", | ||
739 | "author": [ | ||
740 | { | ||
741 | "email": "Yuan.Sun2@windriver.com", | ||
742 | "name": "Yuan.Sun2@windriver.com" | ||
743 | } | ||
744 | ], | ||
745 | "execution": { | ||
746 | "1": { | ||
747 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". ", | ||
748 | "expected_results": "" | ||
749 | }, | ||
750 | "2": { | ||
751 | "action": "In Toaster, select the build, and select the \"Packages\" link in the left sidebar. ", | ||
752 | "expected_results": "" | ||
753 | }, | ||
754 | "3": { | ||
755 | "action": "Observe that by default the \"built packages\" table is sorted by \"Package\" in ascending alphabetical order (A to Z). ", | ||
756 | "expected_results": "" | ||
757 | }, | ||
758 | "4": { | ||
759 | "action": "Select 1 column in \"Edit column\" to show the column. ", | ||
760 | "expected_results": "" | ||
761 | }, | ||
762 | "5": { | ||
763 | "action": "Deselect 1 column in \"Edit column\" to hide 1 column by \"Edit columns\".", | ||
764 | "expected_results": "NA" | ||
765 | } | ||
766 | }, | ||
767 | "summary": "packages:_Customise_the_columns_of_the_packages_table" | ||
768 | } | ||
769 | }, | ||
770 | { | ||
771 | "test": { | ||
772 | "@alias": "toaster.toaster.packages:_Search_the_content_of_the_packages_table", | ||
773 | "author": [ | ||
774 | { | ||
775 | "email": "Yuan.Sun2@windriver.com", | ||
776 | "name": "Yuan.Sun2@windriver.com" | ||
777 | } | ||
778 | ], | ||
779 | "execution": { | ||
780 | "1": { | ||
781 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". ", | ||
782 | "expected_results": "" | ||
783 | }, | ||
784 | "2": { | ||
785 | "action": "In Toaster, select the build, and select the \"Packages\" link in the left sidebar. ", | ||
786 | "expected_results": "" | ||
787 | }, | ||
788 | "3": { | ||
789 | "action": "Observe that by default the \"built packages\" table is sorted by \"Package\" in ascending alphabetical order (A to Z). ", | ||
790 | "expected_results": "" | ||
791 | }, | ||
792 | "4": { | ||
793 | "action": "When no search query has been entered, we have placeholder text saying: \"Search packages built\". The placeholder text disappears when the first character is typed. ", | ||
794 | "expected_results": "" | ||
795 | }, | ||
796 | "5": { | ||
797 | "action": "When a search query has been submitted and results returned: ▪ We keep the search string in the text input field. ▪ We provide a \"Clear search\" icon (icon-remove-sign). Click it to clear the search and display all packages. ▪ We change the page heading to indicate the number of results returned by the search query. ", | ||
798 | "expected_results": "" | ||
799 | }, | ||
800 | "6": { | ||
801 | "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. ", | ||
802 | "expected_results": "" | ||
803 | }, | ||
804 | "7": { | ||
805 | "action": "Searching does not change the state of the table: the same columns remain hidden and the same sorting applied. ", | ||
806 | "expected_results": "" | ||
807 | }, | ||
808 | "8": { | ||
809 | "action": "When I run a search, the search happens against the following columns (independently of they being shown or hidden): - Package - Package version - License - Recipe - Recipe version - Layer - Layer branch - Layer commit ", | ||
810 | "expected_results": "" | ||
811 | }, | ||
812 | "9": { | ||
813 | "action": "Hide all columns except \"Package\" and \"Package version\". Search a string which is included in other hidden columns, not the 2 columns. See if returned results occur. ", | ||
814 | "expected_results": "" | ||
815 | }, | ||
816 | "10": { | ||
817 | "action": "In Toaster, select the build, and select the \"core-image*\" link in the left sidebar. Observe that by default the \"included packages\" table is sorted by \"Package\" in ascending alphabetical order (A to Z). Rerun tests according to step 4~9.", | ||
818 | "expected_results": "NA" | ||
819 | } | ||
820 | }, | ||
821 | "summary": "packages:_Search_the_content_of_the_packages_table" | ||
822 | } | ||
823 | }, | ||
824 | { | ||
825 | "test": { | ||
826 | "@alias": "toaster.toaster.View_detailed_information_about_a_layer", | ||
827 | "author": [ | ||
828 | { | ||
829 | "email": "Yuan.Sun2@windriver.com", | ||
830 | "name": "Yuan.Sun2@windriver.com" | ||
831 | } | ||
832 | ], | ||
833 | "execution": { | ||
834 | "1": { | ||
835 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n\n", | ||
836 | "expected_results": "" | ||
837 | }, | ||
838 | "2": { | ||
839 | "action": "Make sure that layer information is shown in: \n* recipes table \n All builds-> core-image-minimal-> recipes \n Select \"Layer\", \"Layer branch\", \"Layer commit\" in Edit columns and observe the 3 columns are showed. Note that the \"Layer branch\" column can be empty. \n\n* recipe details \n All builds-> core-image-minimal-> recipes \n Click a recipe and you can see \"Layer\", \"Layer branch\", \"Layer commit\", \"Recipe details\" information. Note that \"Layer branch\" is not required. If there is no layer branch, you should not see the \"Layer branch\" item on the list.", | ||
840 | "expected_results": "NA" | ||
841 | }, | ||
842 | "3": { | ||
843 | "action": "built packages table \n All builds-> core-image-minimal-> packages \n Select \"Layer\", \"Layer branch\", \"Layer commit\" in Edit columns and observer the 3 columns is showed. Note that the \"Layer branch\" column can be empty. \n\n* built package details \n All builds-> core-image-minimal-> packages \n Click a package and you can see \"Layer\", \"Layer branch\", \"Layer commit\" in package information. Note that \"Layer branch\" is not required. If there is no layer branch, you should not see the \"Layer branch\" item on the list. \n\n* image information \n All builds-> core-image-minimal-> core-image-minimal(images) \n Select \"Layer\", \"Layer branch\", \"Layer commit\" in Edit columns and observer the 3 columns is showed.", | ||
844 | "expected_results": "NA" | ||
845 | }, | ||
846 | "4": { | ||
847 | "action": "Note that the \"Layer branch\" column can be empty. \n\n* installed package details \n All builds-> core-image-minimal-> core-image-minimal(images) \n Click a package and you can see layer information in package information. Note that \"Layer branch\" is not required. If there is no layer branch, you should not see the \"Layer branch\" item on the list. \n\n* configuration \n All builds-> core-image-minimal-> Configuration \n You can see \"Layer\", \"Layer branch\", \"Layer commit\" in configuration summary. Note that the \"Layer branch\" column can be empty. \n\n* build dashboard \n All builds-> core-image-minimal \n You can see \"Layers\" in build summary. ", | ||
848 | "expected_results": "NA" | ||
849 | } | ||
850 | }, | ||
851 | "summary": "View_detailed_information_about_a_layer" | ||
852 | } | ||
853 | }, | ||
854 | { | ||
855 | "test": { | ||
856 | "@alias": "toaster.toaster.Select_the_number_of_table_rows_displayed_per_page", | ||
857 | "author": [ | ||
858 | { | ||
859 | "email": "Yuan.Sun2@windriver.com", | ||
860 | "name": "Yuan.Sun2@windriver.com" | ||
861 | } | ||
862 | ], | ||
863 | "execution": { | ||
864 | "1": { | ||
865 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". ", | ||
866 | "expected_results": "" | ||
867 | }, | ||
868 | "2": { | ||
869 | "action": "In Toaster, select the build, and select the \"Packages\" link in the left sidebar. ", | ||
870 | "expected_results": "" | ||
871 | }, | ||
872 | "3": { | ||
873 | "action": "Users can select the number of rows they want to see in a table using the \"Show rows\" dropdown menu, which displays above and below each table. The options of the \"Show rows\" dropdown are: 10, 25, 50, 100, 150. ", | ||
874 | "expected_results": "" | ||
875 | }, | ||
876 | "4": { | ||
877 | "action": "The last selected option from the \"Show rows\" menu should be remembered: * Select one option, for example 10 * Click on a package name to navigate away from the built packages table * Click on the \"Packages\" link in the breadcrumb at the top of the page to go back to the packages table Note that 25 is still selected in the \"Show rows\" menu. ", | ||
878 | "expected_results": "" | ||
879 | }, | ||
880 | "5": { | ||
881 | "action": "Observe that the pagination widget is made of: - A \"Previous\" button - A \"Next\" button - A maximum of 5 page buttons. ", | ||
882 | "expected_results": "" | ||
883 | }, | ||
884 | "6": { | ||
885 | "action": "See the pagination function of \"Tasks\", \"Recipes\" links according to steps 3~4.", | ||
886 | "expected_results": "Expected result for step 4: This widget has no previous or next button if testing in toaster 2.2. see Bug 9831" | ||
887 | } | ||
888 | }, | ||
889 | "summary": "Select_the_number_of_table_rows_displayed_per_page" | ||
890 | } | ||
891 | }, | ||
892 | { | ||
893 | "test": { | ||
894 | "@alias": "toaster.toaster.View_detailed_configuration_information_for_a_build", | ||
895 | "author": [ | ||
896 | { | ||
897 | "email": "Yuan.Sun2@windriver.com", | ||
898 | "name": "Yuan.Sun2@windriver.com" | ||
899 | } | ||
900 | ], | ||
901 | "execution": { | ||
902 | "1": { | ||
903 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". ", | ||
904 | "expected_results": "" | ||
905 | }, | ||
906 | "2": { | ||
907 | "action": "In Toaster, select the build, and select the \"Configuration\" link in the left sidebar. ", | ||
908 | "expected_results": "" | ||
909 | }, | ||
910 | "3": { | ||
911 | "action": "Observe that the configuration page has 2 tabs: - Summary - BitBake variables The Summary tab is the default tab. ", | ||
912 | "expected_results": "" | ||
913 | }, | ||
914 | "4": { | ||
915 | "action": "The following content is included in summary tab. (1) Build configuration (2) Layers (Layer, Layer branch - if any, Layer commit) ", | ||
916 | "expected_results": "" | ||
917 | }, | ||
918 | "5": { | ||
919 | "action": "Observe that \"BitBake variables\" tab includes \"Variable\", \"Value\", \" Set in file\", \"Description\" columns. ", | ||
920 | "expected_results": "" | ||
921 | }, | ||
922 | "6": { | ||
923 | "action": "Click filter button of \"Set in file\" column. Select \"Local configuration variables\" and click \"Apply\" button to see if filter function works well. ", | ||
924 | "expected_results": "" | ||
925 | }, | ||
926 | "7": { | ||
927 | "action": "In the \"Edit columns\" menu, table columns appear listed alphabetically: Description, Set in file, Value, Variable ", | ||
928 | "expected_results": "" | ||
929 | }, | ||
930 | "8": { | ||
931 | "action": "The minimum table is made of the \"Variable\" and \"Value\" columns. ", | ||
932 | "expected_results": "" | ||
933 | }, | ||
934 | "9": { | ||
935 | "action": "Click a variable and a \"History of ${variable}\" dialog will occur. The modal dialog shows the variable value followed by the history table, which has the following columns: - Order: indicates the sequence in which the files set the variable - Configuration file: the location in disk of the file that set the variable - Operation: the value of the operation field as stored in the database. - Line number: the line number where the operation is performed in the configuration file. For such variables, whose value is an empty string, the Value cell in the variables table isempty, which is probably the right thing. In the modal, instead of the variable value, we show an alert (with the class .alert-info) saying: \"The value of is an empty string\" ", | ||
936 | "expected_results": "" | ||
937 | }, | ||
938 | "10": { | ||
939 | "action": "Click arrow links in description tab to see linking variables to the Yocto Project reference manual.", | ||
940 | "expected_results": "NA" | ||
941 | } | ||
942 | }, | ||
943 | "summary": "View_detailed_configuration_information_for_a_build" | ||
944 | } | ||
945 | }, | ||
946 | { | ||
947 | "test": { | ||
948 | "@alias": "toaster.toaster.variables:_Customise_the_columns_of_the_bitbake_variables_table", | ||
949 | "author": [ | ||
950 | { | ||
951 | "email": "Yuan.Sun2@windriver.com", | ||
952 | "name": "Yuan.Sun2@windriver.com" | ||
953 | } | ||
954 | ], | ||
955 | "execution": { | ||
956 | "1": { | ||
957 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". ", | ||
958 | "expected_results": "" | ||
959 | }, | ||
960 | "2": { | ||
961 | "action": "In Toaster, select the build, and select the \"Configuration\" link in the left sidebar. Then click \"BitBake variables\" tab. ", | ||
962 | "expected_results": "" | ||
963 | }, | ||
964 | "3": { | ||
965 | "action": "Show or hide columns by select or deselect options of \"Edit columns\".", | ||
966 | "expected_results": "NA" | ||
967 | } | ||
968 | }, | ||
969 | "summary": "variables:_Customise_the_columns_of_the_bitbake_variables_table" | ||
970 | } | ||
971 | }, | ||
972 | { | ||
973 | "test": { | ||
974 | "@alias": "toaster.toaster.variables:_Filter_the_content_of_the_bitbake_variables_table", | ||
975 | "author": [ | ||
976 | { | ||
977 | "email": "Yuan.Sun2@windriver.com", | ||
978 | "name": "Yuan.Sun2@windriver.com" | ||
979 | } | ||
980 | ], | ||
981 | "execution": { | ||
982 | "1": { | ||
983 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
984 | "expected_results": "" | ||
985 | }, | ||
986 | "2": { | ||
987 | "action": "In Toaster, select the build, and select the \"Configuration\" link in the left sidebar. Then click \"BitBake variables\" tab. \n\n", | ||
988 | "expected_results": "" | ||
989 | }, | ||
990 | "3": { | ||
991 | "action": "Observe \"Set in file\" and \"Description\" columns have filters. \n\n", | ||
992 | "expected_results": "" | ||
993 | }, | ||
994 | "4": { | ||
995 | "action": "Filters are mutually exclusive. Only one column filter can be applied to a table at any given time. \n\n", | ||
996 | "expected_results": "" | ||
997 | }, | ||
998 | "5": { | ||
999 | "action": "Filters are overridden by search. \nThe scope of the filters is the content currently on the table. \nThe scope of the search is always the full content of the database. \nSo: \n- if I run a search query, any filter applied afterwards will filter the content returned by the search query. \nSearch a string and apply a filter. Observe it would filter the content returned by the search query. \n\n- if I run a search query while a filter is applied, the filter is overridden by the results of the search query. \nApply a filter and search a string. Observe that the previous filtered result is overridden by the search. ", | ||
1000 | "expected_results": "NA" | ||
1001 | } | ||
1002 | }, | ||
1003 | "summary": "variables:_Filter_the_content_of_the_bitbake_variables_table" | ||
1004 | } | ||
1005 | }, | ||
1006 | { | ||
1007 | "test": { | ||
1008 | "@alias": "toaster.toaster.View_and_navigate_the_full_directory_structure_of_built_images", | ||
1009 | "author": [ | ||
1010 | { | ||
1011 | "email": "Yuan.Sun2@windriver.com", | ||
1012 | "name": "Yuan.Sun2@windriver.com" | ||
1013 | } | ||
1014 | ], | ||
1015 | "execution": { | ||
1016 | "1": { | ||
1017 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
1018 | "expected_results": "" | ||
1019 | }, | ||
1020 | "2": { | ||
1021 | "action": "In Toaster, select the build, and select the \"core-image-minimal\" link in the left sidebar. \n\n", | ||
1022 | "expected_results": "" | ||
1023 | }, | ||
1024 | "3": { | ||
1025 | "action": "Observe image information page has 2 tabs: \n- Packages included: this tab shows a table with all the packages installed in the image. The tab label includes the total number of packages listed in the table and their size. \n- Directory structure: this tab shows all the files included in the image. \n\n", | ||
1026 | "expected_results": "" | ||
1027 | }, | ||
1028 | "4": { | ||
1029 | "action": "By default, the included packages table displays the following columns in this order: \nPackage, Package version, Size, Dependencies \n\n", | ||
1030 | "expected_results": "" | ||
1031 | }, | ||
1032 | "5": { | ||
1033 | "action": "Apart from the columns shown by default, the following additional columns are also available to users via the \"Edit columns\" menu: \nLayer, Layer branch, Layer commit, License, Recipe, Recipe version. \n\n", | ||
1034 | "expected_results": "" | ||
1035 | }, | ||
1036 | "6": { | ||
1037 | "action": "The minimum table is made of the 2 columns that provide the information needed to identify a package: Package and Package version. \n\n", | ||
1038 | "expected_results": "" | ||
1039 | }, | ||
1040 | "7": { | ||
1041 | "action": "By default, the directory structure table shows the top level directories and files in the file system.\nThe table includes the following columns: \nDirectory/File, Symbolic link to, Source package, Size, Permissions, Owner, Group \nOpen some directories and see files. ", | ||
1042 | "expected_results": "NA" | ||
1043 | } | ||
1044 | }, | ||
1045 | "summary": "View_and_navigate_the_full_directory_structure_of_built_images" | ||
1046 | } | ||
1047 | }, | ||
1048 | { | ||
1049 | "test": { | ||
1050 | "@alias": "toaster.toaster.View_a_summary_of_all_the_information_available_for_a_build", | ||
1051 | "author": [ | ||
1052 | { | ||
1053 | "email": "Yuan.Sun2@windriver.com", | ||
1054 | "name": "Yuan.Sun2@windriver.com" | ||
1055 | } | ||
1056 | ], | ||
1057 | "execution": { | ||
1058 | "1": { | ||
1059 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and build \"bitbake core-image-minimal\". \n \n", | ||
1060 | "expected_results": "" | ||
1061 | }, | ||
1062 | "2": { | ||
1063 | "action": "In Toaster, select the build. \n\n", | ||
1064 | "expected_results": "" | ||
1065 | }, | ||
1066 | "3": { | ||
1067 | "action": "A 'Build dashboard' page is showed. \nThe 'Build dashboard' page has two main states: \n(1) Success state: when the build completes successfully. In the success state, if the build target(s) include an image recipe, the page displays an image content module, and the left navigation has an \"Images\" section at the top. \n(2) Fail state: when the build fails (shown in this page). In the fail state, the page always displays an errors content module, and the left navigation does not have an \"Images\" section at the top. \n\n", | ||
1068 | "expected_results": "" | ||
1069 | }, | ||
1070 | "4": { | ||
1071 | "action": "Observe that the page provides access to all information available for the selected build. \n(1) Images \n(2) Build: this group provides links to the following pages: \nConfiguration, Tasks, Recipes, Packages \n(3) Performance: this group provides links to the following pages: \nTime, CPU usage, Disk I/O \n\n", | ||
1072 | "expected_results": "" | ||
1073 | }, | ||
1074 | "5": { | ||
1075 | "action": "The page heading is made of the build target(s) and the machine, such as \"core-image-minimal qemux86\". If the build has more than one target, they show in ascending alphabetical order (A to Z) both in the page heading and in the \"Images\" section of the left navigation. If the build was successful, there is an image content module for each target that is an image recipe. The modules also show in ascending alphabetical order by target name. \n\n", | ||
1076 | "expected_results": "" | ||
1077 | }, | ||
1078 | "6": { | ||
1079 | "action": "Packages included, total package size, license manifest, image files are included in the images section. \n\n", | ||
1080 | "expected_results": "" | ||
1081 | }, | ||
1082 | "7": { | ||
1083 | "action": "The information of Machine, Distro, Layers is included in configuration content module of \"Build summary\" section. \nThe information of \"Total number of task\", \"Tasks executed\", \" Tasks not executed\", \"Reuse\" is included in the tasks content module. \nThe information of \"Recipes built\" and \"Packages built\" is included in the \"Recipes&Packages\" content module. ", | ||
1084 | "expected_results": "NA" | ||
1085 | } | ||
1086 | }, | ||
1087 | "summary": "View_a_summary_of_all_the_information_available_for_a_build" | ||
1088 | } | ||
1089 | }, | ||
1090 | { | ||
1091 | "test": { | ||
1092 | "@alias": "toaster.toaster.Display_the_content_of_error_messages_and_warnings", | ||
1093 | "author": [ | ||
1094 | { | ||
1095 | "email": "Yuan.Sun2@windriver.com", | ||
1096 | "name": "Yuan.Sun2@windriver.com" | ||
1097 | } | ||
1098 | ], | ||
1099 | "execution": { | ||
1100 | "1": { | ||
1101 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and create a successful build and a failed build. You can force a build to terminate by ctrl+c. ", | ||
1102 | "expected_results": "" | ||
1103 | }, | ||
1104 | "2": { | ||
1105 | "action": "Observe that the number of errors and warnings thrown by a build shows in both 'All builds' page and the 'Latest builds' section. ", | ||
1106 | "expected_results": "" | ||
1107 | }, | ||
1108 | "3": { | ||
1109 | "action": "Observe that the number and content of errors and warnings thrown by a build shows in the 'Build dashboard' page. ", | ||
1110 | "expected_results": "" | ||
1111 | }, | ||
1112 | "4": { | ||
1113 | "action": "Click warning or error links to see warning and error details. ", | ||
1114 | "expected_results": "NA" | ||
1115 | } | ||
1116 | }, | ||
1117 | "summary": "Display_the_content_of_error_messages_and_warnings." | ||
1118 | } | ||
1119 | }, | ||
1120 | { | ||
1121 | "test": { | ||
1122 | "@alias": "toaster.toaster.Build_summary_information_fully_implemented", | ||
1123 | "author": [ | ||
1124 | { | ||
1125 | "email": "Yuan.Sun2@windriver.com", | ||
1126 | "name": "Yuan.Sun2@windriver.com" | ||
1127 | } | ||
1128 | ], | ||
1129 | "execution": { | ||
1130 | "1": { | ||
1131 | "action": "Start with a default Yocto project (qemux86), start the Toaster, and create 4 builds. \na) a successful build with images (bitbake core-image-minimal) \nb) a successful build without images (bitbake mtools-native) \nc) a failed build with errors and warnings (run \"bitbake core-image-sato\", then press control+c to terminate the build)", | ||
1132 | "expected_results": "" | ||
1133 | }, | ||
1134 | "2": { | ||
1135 | "action": "In Toaster, select a core-image-minimal build.", | ||
1136 | "expected_results": "" | ||
1137 | }, | ||
1138 | "3": { | ||
1139 | "action": "Observe that there is a 'Build dashboard' page captured by Toaster. The page does not exist for builds in progress, only for finished builds. \nThe 'Build dashboard' page is made of: \na) Breadcrumb \nb) Navigation \n IMAGES: core-image-minimal \n BUILD: \n Configuration \n Tasks \n Recipes \n Packages \n PERFORMANCE: \n Time \n CPU usage \n Disk I/O \nc) Page heading (core-image-minimal qemux86) \nd) Section heading (Images, Build summary) \ne) Build status notification (Completed on xx/xx/xx... Build time:xx:xx:xx)", | ||
1140 | "expected_results": "" | ||
1141 | }, | ||
1142 | "4": { | ||
1143 | "action": "Observe \"images\" section is made of the following \n.\na) Heading: core-image-minimal, which links to the \"Packages included\" tab of the image information page \nb) Number of packages installed: (packages included xx), which is a link to the \"Packages included\" tab of the image information page \nc) Total installed package size: xxMB \nd) License manifest (which is a link to the \"Packages included\" tab of the information page with the following columns showing: \"Package\", \"Package version\", \"License\" and \"Recipe\". We have bug 6079 open for this). Next to the license manifest is the path to the directory where you can find the license manifest file. \n \ne) Image files (rootfs file names and rootfs file sizes)", | ||
1144 | "expected_results": "" | ||
1145 | }, | ||
1146 | "5": { | ||
1147 | "action": "Observe \"Build summary\" section is made of the following. \na) Configuration (which is a link to the configuration page): \n Machine \n Distro \n Layers (sorted in alphabetical order) \nb) Tasks (which is a link to the tasks page) \n Total number of tasks (which is a link to the tasks page) \n Tasks executed (which is a link to the tasks page with the tasks executed filter applied) \n Tasks not executed (which is a link to the tasks pages with the tasks not executed filter applied)\n Reuse \nc) Note that \"Total number of tasks\" should equal number of \"Tasks executed\" + number of \"Tasks not executed\" \nd) Recipes (which is a link to the recipes page) & Packages (which is a link to the packages built page) ", | ||
1148 | "expected_results": "" | ||
1149 | }, | ||
1150 | "6": { | ||
1151 | "action": " Number of recipes built (which is a link to the recipes page) \n \n Number of packages built (which is a link to the packages built page)", | ||
1152 | "expected_results": "" | ||
1153 | }, | ||
1154 | "7": { | ||
1155 | "action": "Return to localhost:8000 and select a successful build without images (mtools-native) \n.\nObserve the build dashboard for a successful build of a target that is not an image recipe. There is no image content module, and no \"Images\" section in the left navigation.", | ||
1156 | "expected_results": "" | ||
1157 | }, | ||
1158 | "8": { | ||
1159 | "action": "Return to localhost:8000 and select the failed build (core-image-sato). Observe the build dashboard for the failed build. \n \na) the errors content module: \nThis module exists for those builds that throw error(s). It appears immediately below the build status notification. \nThe module has 2 states: \n▪ Expanded (shows number of errors and error content) \n▪ Collapsed (shows only the number of errors) \nBy default, the errors module is in the expanded state. \nErrors content modules include the following information: \n(1.1) A heading, which indicates the number of errors thrown by the build, and toggles the module between its 2 states on click. ", | ||
1160 | "expected_results": "NA" | ||
1161 | }, | ||
1162 | "9": { | ||
1163 | "action": "Transitions between states should use a slide up / slide down animation. \n(1.2) Error(s) content \n\nb) the warning content module: \nThis module exists for those builds that throw warning(s). \nIt is the last content module shown on the build dashboard. \nThe module has 2 states: \n▪ Expanded (shows number of warnings and warning content) \n▪ Collapsed (shows only the number of warnings) \nBy default, the warning module is in the collapsed state. Warnings content modules include the following information: \n(2.1) A heading, which indicates the number of warnings thrown by the build, and toggles the module between its 2 \nstates on click. Transitions between states should use a slide up / slide down animation. \n(2.2) Warning(s) content ", | ||
1164 | "expected_results": "NA" | ||
1165 | } | ||
1166 | }, | ||
1167 | "summary": "Build_summary_information_fully_implemented" | ||
1168 | } | ||
1169 | } | ||
1170 | ] \ No newline at end of file | ||