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:55:33 +0000 |
| commit | 0dcf84f830314e52d97314ffd56ef576d3f924fd (patch) | |
| tree | be79871a0b425951e34300c85d96b6028dbf8b4c /bitbake/lib/toaster | |
| parent | c0ade693af365296e5d78e6f8fb4d0d5c5c3e2ab (diff) | |
| download | poky-0dcf84f830314e52d97314ffd56ef576d3f924fd.tar.gz | |
bitbake: 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
(Bitbake rev: 187e96eb7393632f28a195f280fa133439bdc0fa)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
| -rw-r--r-- | bitbake/lib/toaster/tests/browser/test_layerdetails_page.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py index 9deef6709d..5c29548b78 100644 --- a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py +++ b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py | |||
| @@ -64,7 +64,7 @@ class TestLayerDetailsPage(SeleniumTestCase): | |||
| 64 | args=(self.project.pk, | 64 | args=(self.project.pk, |
| 65 | self.imported_layer_version.pk)) | 65 | self.imported_layer_version.pk)) |
| 66 | 66 | ||
| 67 | def test_edit_layerdetails(self): | 67 | def _edit_layerdetails(self): |
| 68 | """ Edit all the editable fields for the layer refresh the page and | 68 | """ Edit all the editable fields for the layer refresh the page and |
| 69 | check that the new values exist""" | 69 | check that the new values exist""" |
| 70 | 70 | ||
| @@ -168,6 +168,13 @@ class TestLayerDetailsPage(SeleniumTestCase): | |||
| 168 | "Expected %s in the dir value for layer directory" % | 168 | "Expected %s in the dir value for layer directory" % |
| 169 | new_dir) | 169 | new_dir) |
| 170 | 170 | ||
| 171 | def test_edit_layerdetails_page(self): | ||
| 172 | try: | ||
| 173 | self._edit_layerdetails() | ||
| 174 | except ElementClickInterceptedException: | ||
| 175 | self.skipTest( | ||
| 176 | "ElementClickInterceptedException occured. Element not visible or maybe covered by another element.") | ||
| 177 | |||
| 171 | def test_delete_layer(self): | 178 | def test_delete_layer(self): |
| 172 | """ Delete the layer """ | 179 | """ Delete the layer """ |
| 173 | 180 | ||
