Alexander Lussier-Cullen
637fdcc2b1
bitbake: toaster: fix pytest build test execution and test discovery
...
Ensure the proper django settings are used by moving the variable to
the environment assignment.
Remove python file specifier as this works relative to the working
directory, which can vary. The test file directory can instead be
specified when executing the pytest command.
Add annotations required to allow database access with pytest to the
build tests.
(Bitbake rev: 7f4dfaa5bd28ccf1ae0122d984ffa7e02e693960)
Signed-off-by: Alexander Lussier-Cullen <alexander.lussier-cullen@savoirfairelinux.com >
CC: Richard Purdie <richard.purdie@linuxfoundation.org >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-06 22:37:03 +00:00
Richard Purdie
73ef8d57e0
bitbake: toastergui: Fix regex markup issues
...
lib/toaster/toastergui/templatetags/projecttags.py:170: DeprecationWarning: invalid escape sequence '\$'
value=re.sub('_\$.*', '', value)
tests/views/test_views.py::ViewTests::test_custom_incomplete_params
lib/toaster/toastergui/urls.py:211: DeprecationWarning: invalid escape sequence '\d'
'/packages/(?P<package_id>\d+|)$',
(Bitbake rev: 57c738a9118a7a900fc7353d88a385d52c8be6f5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-06 22:28:03 +00:00
Richard Purdie
786ba56074
bitbake: toastermain/settings: Avoid python filehandle closure warnings
...
Switch to using with blocks when accessing files to ensure file
descriptors are closed and avoid python warnings.
(Bitbake rev: e8574ee78eea23cc35900610bb15e47e40ef5ee1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-06 22:28:03 +00:00
Richard Purdie
c2484f3dec
bitbake: toaster: Fix assertRegexpMatches deprecation warnings
...
Fix:
DeprecationWarning: Please use assertRegex instead.
(Bitbake rev: 81ee203fd55d45b199d7c3af681855d254e0d876)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-06 22:28:03 +00:00
Richard Purdie
029e82d418
bitbake: bb/toaster: Fix assertEquals deprecation warnings
...
Fix:
DeprecationWarning: Please use assertEqual instead
(Bitbake rev: dd990ea6843685927954101feb729f3faa3a16d9)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-06 22:28:03 +00:00
Alassane Yattara
829953631b
bitbake: toaster/test: delay driver action until elements to appear
...
Update tests/browser/(test_landing_page.py and test_layerdetails_page.py)
to delay driver actions until for elements to appear
(Bitbake rev: 72908138bd2735c69f5e418ec5f0f2cf8215050a)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-06 22:28:03 +00:00
Alassane Yattara
8efe835e3b
bitbake: toaster/test: from test_no_builds_message.py wait for the empty state div to appear
...
>From tests/browser/test_sample.py wait for the empty state div to appear
(Bitbake rev: 56ea671526d6ec81b0d69f1bab6ac8f6796b8018)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-06 22:28:03 +00:00
Alassane Yattara
2d1f6c055d
bitbake: toaster/test: bug-fix on tests/browser/test_all_builds_page
...
- Bug-fix on table filtering on (CompletedOn, filter failed task)
- Better handle testcase used time.sleep and remove it
(Bitbake rev: 03a8657dd377f87be08dd149ec507d153cb10a07)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-06 22:28:03 +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
715898cb9a
bitbake: toaster/tests: Update methods wait_until_~ to skip using time.sleep
...
Update Class Wait from selenium_helpers_base, to override
wait_until_visible and wait_until_present with poll argument to better
handle delay between driver actions
(Bitbake rev: 486817ac6ad28580d81dcf6e3789678d9259bb54)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-12-02 18:04:22 +00:00
Alexander Lussier-Cullen
6a87f5d53b
bitbake: toaster: make django temp directory configurable
...
Modify the django settings to make cache, logs and databases save
to a configurable directory with TOASTER_DJANGO_TMPDIR instead of
the machine root level /tmp directory.
In addition, add this variable to the passthroughs for tox.
This change is made to facilitate cleaning test files for runs on
the autobuilder and avoid errors involving the persisted database.
(Bitbake rev: 887aaa91fd54ef24fc3cce42d584b381e37d3343)
Signed-off-by: Alexander Lussier-Cullen <alexander.lussier-cullen@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-23 15:25:01 +00:00
Alexander Lussier-Cullen
6a9db991e7
bitbake: toaster/tests: add passthroughs for relevant build environment variables
...
Toaster build tests create new build environments which do not utlize
any existing build environment variables.
In particular, DL_DIR and SSTATE_DIR from an existing environment can
be passed in to allow for faster builds.
Adding these as passthroughs specifically resolves slow builds
related to the autobuilder integrations of the toaster test suite.
(Bitbake rev: 58cc3a4671878a425f52f9ec21636e366356bfc2)
Signed-off-by: Alexander Lussier-Cullen <alexander.lussier-cullen@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-23 15:25:01 +00:00
Alassane Yattara
742323caf3
bitbake: toaster/tests: Add UI TestCase - Test the show rows feature in image recipe
...
Test the show rows feature in image recipe table on project page
(Bitbake rev: 0afbce01f8b037adb9311f63dcb63a2d180a5373)
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
105f5a8d0d
bitbake: toaster/tests: Add UI TestCase for the edit column feature in image recipe
...
BUILD IMAGE RECIPES: toastergui/project/{id}/images/
Test the edit column feature in image recipe table on project page
(Bitbake rev: 005f8e4a875d280268e0369d26aaaa9e5a65fd68)
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
3d2d290157
bitbake: toaster/tests: Add UI TestCase - Test project page section images
...
BUILD IMAGE RECIPES: toastergui/project/{id}/images/
Test project page section images
- Check image recipes are displayed
- Check search input
- Check image recipe build button works
- Check image recipe table features(show/hide column, pagination)
(Bitbake rev: 9aa0aad6812730d4ffaa9b3adfae041176274475)
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
2eb70a30d9
bitbake: toaster/tests: Add UI TestCase - Test project page tab "New custom image"
...
Test project page tab "New custom image" when no custom image
(Bitbake rev: fd8fe1d3b25679032a43c1dd25a945318e573cef)
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
a303b37bd6
bitbake: toaster/tests: Add UI TestCase - Test project page tab import layer
...
(Bitbake rev: 857e6fdefa655fa73460c9bb008dc08abb4c3107)
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
bc9da9aa64
bitbake: toaster/tests: Add UI TestCase - Test project config tab
...
Check if project config tab right section contains five blocks:
- Machine:
- check 'Machine' is displayed
- check can change Machine
- Distro:
- check 'Distro' is displayed
- check can change Distro
- Most built recipes:
- check 'Most built recipes' is displayed
- check can select a recipe and build it
- Project release:
- check 'Project release' is displayed
- check project has right release displayed
- Layers:
- check can add a layer if exists
- check at least three layers are displayed
- openembedded-core
- meta-poky
- meta-yocto-bsp
(Bitbake rev: cbf0df0604e6cb37aa8c4433e9af3c321be80010)
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
363f19e75a
bitbake: toaster/tests: Add UI TestCase - Test project config tab navigation:
...
- Check if the menu is displayed and contains the right elements:
- Configuration
- COMPATIBLE METADATA
- Custom images
- Image recipes
- Software recipes
- Machines
- Layers
- Distro
- EXTRA CONFIGURATION
- Bitbake variables
- Actions
- Delete project
(Bitbake rev: a12fe481aac82e1feebdb56afb67ba77a8904995)
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
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
Alassane Yattara
26ac6923e2
bitbake: toaster/tests/create_new_project: Code cleanup
...
Fixed
- Select import,
- Remove trailing whitespace,
- Set excepted 2lines after imports
(Bitbake rev: f0c91629fad2e556cd429f561cc244aef4b7b066)
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
ff3a48920a
bitbake: toaster/tests: Add UI TestCase for visualize all projects show rows
...
Test the show rows feature in the projects table on the all projects page
(Bitbake rev: d899a3cf9e186f78780415195c734fdef359d08d)
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
f1230edc55
bitbake: toaster/tests: Add UI TestCase for visualize all projects edit column
...
Test the edit column feature in the projects table on the all projects page
(Bitbake rev: 16e05122b7298c449bf6cec1bcae75c3fb5d87db)
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
6c5dff75f5
bitbake: toaster/tests: Add UI TestCase for Visualize all projects
...
Test the search box in the all project table on the all projects page
(Bitbake rev: a2c0e65e90619268da916a235a97df890697d22f)
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
cdecc1f605
bitbake: toaster/tests: Add UI TestCase for deleting project
...
Test delete project:
- Check delete modal is visible
- Check delete modal has right text
- Confirm delete
- Check project is deleted
(Bitbake rev: 669b270b6839dbf8f2daaa20ad809b309957edfd)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-16 16:52:19 +00:00
Richard Purdie
22960747ea
bitbake: toaster/tox.ini: Add py 3.11 and 3.12
...
Some of the autobuilder workers have python 3.11 or in the future 3.12.
Add these to allow toaster tests to work on those platforms.
(Bitbake rev: 04d5edd81f5e924370090d68fd4a254abaacbfe4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-16 14:49:00 +00:00
Tim Orling
577ab316e4
bitbake: toaster: test_create_new_project typos, whitespace
...
* Cleanup an extraneous # at the end of the hash bang line.
* Cleanup some trailing whitespace errors.
* Fix typo inf dunfull -> dunfell.
(Bitbake rev: 3938b53f40960ff4a96a55fe5ef35b69737538a3)
Signed-off-by: Tim Orling <tim.orling@konsulko.com >
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:39:53 +00:00
Tim Orling
285a6ba4ee
bitbake: toaster: fix obsolete use of find_element_by_link_text
...
The find_element_by_* commands were deprecated in 4.1.4 and have been
removed in 4.3.0:
https://github.com/SeleniumHQ/selenium/blob/selenium-4.3.0/py/CHANGES#L2
as they relied on the use of APIs only intended for internal use.
The recommended method is to use find_elements(By.*) instead.
https://www.selenium.dev/documentation/webdriver/elements/finders/#find-elements-from-element
Also fix some trailing whitespace errors.
(Bitbake rev: 745b555cce58414029b531d19c0dbb6768f036e3)
Signed-off-by: Tim Orling <tim.orling@konsulko.com >
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:39:53 +00:00
Tim Orling
f868384ec6
bitbake: toaster: use docs for BitBake link on landing page
...
With the webpage refresh in November 2023, the old BitBake link
https://www.yoctoproject.org/tools-resources/projects/bitbake on
the landing page is no longer valid.
Point the BitBake link in the landing page to https://docs.yoctoproject.org/bitbake.html
Fix the test_landing_page.py test case to test for the new link.
(Bitbake rev: 968c75852ec8be4f4b8204521c8eec18a7042cf5)
Signed-off-by: Tim Orling <tim.orling@konsulko.com >
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:39:53 +00:00
Tim Orling
ca74df3a69
bitbake: toaster: drop deprecated USE_L10N from settings
...
Every build currently results in a warning because of the USE_L10N deprecation.
https://docs.djangoproject.com/en/4.2/ref/settings/#use-l10n
(Bitbake rev: 89df63d967dd3091fba7943f5fe5a98e2c3871e3)
Signed-off-by: Tim Orling <tim.orling@konsulko.com >
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:39:53 +00:00
Alassane Yattara
221a7b752f
bitbake: toaster/tests: Add UI TestCase to test "show rows" feature, change displaying rows in table
...
Test the "show rows" feature in the builds table, on the all builds page
(Bitbake rev: 04c1c46d117b98ee6ccc351323edaf90ac1436c5)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:38:13 +00:00
Alassane Yattara
b2db1c4e81
bitbake: toaster/tests: Add UI TestCase to test "edit column" feature show/hide column
...
Test the "edit column" feature in the builds table on the all builds page
(Bitbake rev: eb9f8ae240bb0b934da28474075a72a409e336ef)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:38:13 +00:00
Alassane Yattara
853deb8f75
bitbake: toaster/tests: Add UI TestCase to test filtering feature on 'completed_on' column
...
Test the filtering on completed_on column in the builds table on the all builds page
(Bitbake rev: bb459d5809ada703b551172c8dd3771565f80dec)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:38:13 +00:00
Alassane Yattara
2d73d6148e
bitbake: toaster/tests: Add UI TestCase to test the filtering feature on 'failure tasks' column
...
Test the filtering on failure tasks column in the builds table on the all builds page
(Bitbake rev: 9e48818f08c71ae2529aa52166e3527850a6234f)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:38:13 +00:00
Alassane Yattara
3375714aa4
bitbake: toaster/tests: Add UI TestCase to test search box on all build page
...
Test the search box in the builds table on the all builds page
(Bitbake rev: 6ec40284e4fd173430cdc526716794b7da7d6523)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:38:13 +00:00
Alassane Yattara
0766f6cdc8
bitbake: toaster/tests: Add UI TestCase to test if 'no build' message is shown
...
In all builds page, check if 'no build' message is shown when there are no build.
(Bitbake rev: 4aa2a4e464a9bd85e1e22c87d0d7b54a5a899745)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-14 23:38:13 +00:00
Alassane Yattara
a9befd527e
bitbake: Toaster: Write UI TestCase import new project using
...
* Test import new project using:
- Project Name: Any string
- Project type: select (Import command line project)
- Import existing project directory: Wrong Path
(Bitbake rev: d9239f2d2235f2adb0322ecb2cedd507a00e1e90)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-09 22:52:42 +00:00
Alassane Yattara
36871610c3
bitbake: Toaster: Test create new project without project name
...
(Bitbake rev: 2670bacd5b2865ed825d24c96ecd12940218b65e)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-09 22:52:42 +00:00
Alassane Yattara
b4e16b96e1
bitbake: Toaster: Write UI TestCase create new project
...
Test create new project using:
- Project Name: Any string
- Release: Master/Kirkstone/Dunfell/Local
- Merge Toaster settings: False/True
(Bitbake rev: 8502ed9ce3e04e5e0f913a8af60828ac0cefa110)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-09 22:52:42 +00:00
Richard Purdie
278d1941a3
bitbake: Revert "toaster: Bug-fix webdriver No parameter named options"
...
This reverts commit 99305c25fafa61064a1bb0849616e4627e3453d7.
After discussion we found various versions of selenium don't work
with this change.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-09 22:52:42 +00:00
Alassane Yattara
2378e4bdfa
bitbake: toaster: Bug-fix webdriver No parameter named options
...
Change options to chrome_options
(Bitbake rev: 99305c25fafa61064a1bb0849616e4627e3453d7)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2023-11-09 17:06:59 +00:00