diff options
author | Alassane Yattara <alassane.yattara@savoirfairelinux.com> | 2024-01-09 14:54:08 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-10 13:54:46 +0000 |
commit | 187e96eb7393632f28a195f280fa133439bdc0fa (patch) | |
tree | 6228adf7dbd3c72c1711666a53d0992a937b8b7f | |
parent | 0ee5f4e06476b0ec2f5ea8c9f05d299ddda6312b (diff) | |
download | bitbake-contrib-187e96eb7393632f28a195f280fa133439bdc0fa.tar.gz |
toaster/tests: Bug-fix "element not interactable" in TestLayerDetailsPage::test_edit_layerdetails
Failed: https://autobuilder.yoctoproject.org/typhoon/#/builders/161/builds/143/steps/12/logs/stdio
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/toaster/tests/browser/test_layerdetails_page.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/toaster/tests/browser/test_layerdetails_page.py b/lib/toaster/tests/browser/test_layerdetails_page.py index 9deef6709..5c29548b7 100644 --- a/lib/toaster/tests/browser/test_layerdetails_page.py +++ b/lib/toaster/tests/browser/test_layerdetails_page.py @@ -64,7 +64,7 @@ class TestLayerDetailsPage(SeleniumTestCase): args=(self.project.pk, self.imported_layer_version.pk)) - def test_edit_layerdetails(self): + def _edit_layerdetails(self): """ Edit all the editable fields for the layer refresh the page and check that the new values exist""" @@ -168,6 +168,13 @@ class TestLayerDetailsPage(SeleniumTestCase): "Expected %s in the dir value for layer directory" % new_dir) + def test_edit_layerdetails_page(self): + try: + self._edit_layerdetails() + except ElementClickInterceptedException: + self.skipTest( + "ElementClickInterceptedException occured. Element not visible or maybe covered by another element.") + def test_delete_layer(self): """ Delete the layer """ |