Alassane Yattara
36dc42bde7
bitbake: toaster/tests: Bug-fix ToasterTable show_rows testcases
...
Test if some rows are visible in table instead of compare row to row_to_show,
because sometime full avaiblable content did not display
Failed: https://autobuilder.yoctoproject.org/typhoon/#/builders/161/builds/147/steps/12/logs/stdio
(Bitbake rev: 5b0a48265aafa62259c575707c3afa6dd56f8008)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2024-01-10 13:55:33 +00:00
Alassane Yattara
350300f836
bitbake: toaster/tests: Skip to show more then 100 item in ToasterTable
...
(Bitbake rev: 860c931381e0694a854fd90775fb18dadb7d76c6)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2024-01-01 23:13:50 +00:00
Alassane Yattara
81a0110ca5
bitbake: toaster/tests: Bug-Fix testcase functional/test_project_page_tab_config.py
...
All issues and failures stemmed from a specific test case:
test_project_config_tab_right_section in the file
bitbake/lib/toaster/tests/functional/test_project_page_tab_config.py.
This test was designed to verify whether the "Most built recipes"
section on the project page correctly displays the latest and oldest
recipes built by the user, irrespective of the build outcome (failed,
cancelled, succeeded, or errored).
The errors and failures arose because the build process did not
terminate as expected, particularly when attempting to build recipe
images such as "core-image-minimal" or "bash." It was discovered that
building a real recipe/image was unnecessary for the test's purpose.
Instead, building a fake recipe like "foo" provided a reliable way to
ensure the build would fail or be interrupted.
(Bitbake rev: 5162db5305826235c09d9fcd38b5fb48ded31622)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-15 14:37:28 +00:00
Alassane Yattara
23d3e2c718
bitbake: toaster/tests: Bug fixes, functional tests dependent on each other
...
refactor test_create_project and test_project_page to remove their dependencies
(Bitbake rev: 54f7c0bb6ff435c4936c3422532aa071bd5b66e8)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-08 17:17:42 +00:00
Alassane Yattara
5b18ff6d6b
bitbake: toaster/tests: Test single recipe page
...
Test recipe page
- Check if title is displayed
- Check add recipe layer displayed
- Check left section is displayed
- Check recipe: name, summary, description, Version, Section,
License, Approx. packages included, Approx. size, Recipe file
(Bitbake rev: 4f16f6666ef7ccda0e7194f2107fcbbc8f915be4)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:23 +00:00
Alassane Yattara
eb2af42e0a
bitbake: toaster/tests: Test single layer page
...
Test layer page
- Check if title is displayed
- Check add/remove layer button works
- Check tabs(layers, recipes, machines) are displayed
- Check left section is displayed
- Check layer name
- Check layer summary
- Check layer description
(Bitbake rev: 740b37cc077803f134391c99fc4cae45550020f3)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:23 +00:00
Alassane Yattara
200541ec56
bitbake: toaster/tests: Bug-fix on tests/functional/test_project_page
...
- Generate a random name for create project while test
- Set timeout on method _wait_until_build
- update test_machines_page, test_softwareRecipe_page and
test_single_layer_page to fix exception "element not interactable"
(Bitbake rev: 51c051da61a0396bdaa965065796476de7340727)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:23 +00:00
Alassane Yattara
5cd899da39
bitbake: toaster/tests: Added distro page TestCase
...
Test distros page
- Check if title "Compatible distros" is displayed
- Check search input
- Check "Add layer" button works
- Check distro table feature(show/hide column, pagination)
(Bitbake rev: 8b56af0837e9f09f13d6892c1aa1d82ecd5ef87d)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:23 +00:00
Alassane Yattara
00fb8ffca3
bitbake: toaster/tests: Added Layers page TestCase
...
Test layers page
- Check if title "Compatible layerss" is displayed
- Check search input
- Check "Add layer" button works
- Check "Remove layer" button works
- Check layers table feature(show/hide column, pagination)
(Bitbake rev: a7bdda5b31f95e39c70eefb8ddf0ec690b3786ef)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:23 +00:00
Alassane Yattara
9de0b70cc3
bitbake: toaster/tests: Added Machine page TestCase
...
Test Machine page
- Check if title "Compatible machines" is displayed
- Check search input
- Check "Select machine" button works
- Check "Add layer" button works
- Check Machine table feature(show/hide column, pagination)
(Bitbake rev: 98b78d49e2169d57324e4e471d7ad353963c273a)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:23 +00:00
Alassane Yattara
9f78fee273
bitbake: toaster/tests: Test software recipe page
...
Test software recipe page
- Check title "Compatible software recipes" is displayed
- Check search input
- Check "build recipe" button works
- Check software recipe table feature(show/hide column, pagination)
(Bitbake rev: b9c8c77d73d19bd4ddf9b6e90b0aa71f92d36993)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:23 +00:00
Alassane Yattara
2ee91ebd9c
bitbake: toaster/tests: Override table edit columns TestCase from image recipe page
...
Better handle TestCase of table edit column feature
(Bitbake rev: 6adc708a1520f8c947f9c40fdc88ebe2b51ecc97)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:23 +00:00
Alassane Yattara
fd740a6b6d
bitbake: toaster/tests: Add UI TestCase - Test project page has right tabs displayed
...
Test project tabs:
- "configuration" tab
- "Builds" tab
- "Import layers" tab
- "New custom image" tab
Check search box used to build recipes
(Bitbake rev: 13a55ebe630ad20e8ab4cdcb3dc6dcbf4fa7243a)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-23 12:06:06 +00:00
Alassane Yattara
f002040d77
bitbake: toaster/tests: Add UI TestCase - Test edit project name on project page
...
Test edit project name:
- Click on "Edit" icon button
- Change project name
- Click on "Save" button
- Check project name is changed
(Bitbake rev: 0bd0bbf8df2a1043d5c768a70e4c4fabd5195227)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-23 12:06:06 +00:00
Alassane Yattara
4ff7c528dd
bitbake: toaster/tests: Add UI TestCase - Check project header contains right items
...
Check page header in project page:
- AT LEFT -> Logo of Yocto project, displayed, clickable
- "Toaster"+" Information icon", displayed, clickable
- "Server Icon" + "All builds", displayed, clickable
- "Directory Icon" + "All projects", displayed, clickable
- "Book Icon" + "Documentation", displayed, clickable
- AT RIGHT -> button "New project", displayed, clickable
(Bitbake rev: 5b2b8fe16e2adb45ca88165162c65c0f7f9a0755)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-23 12:06:06 +00:00