blob: 29d11a87d5b9a19a3aa6e4b1680d408763654a20 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001[
2 {
3 "test": {
4 "@alias": "toaster-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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-unmanaged-mode.toaster-unmanaged.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]