bitbake: Toaster: Bug-fix failure on tests.browser.test_layerdetails_page

Call wait_until_visible before send_keys to be sure inputs is visible otherwise
we get followings error: selenium.common.exceptions.WebDriverException -> Message: element not interactable
Signed-off-by Alassane Yattara <alassane.yattara@savoirfairelinux.com>

(Bitbake rev: 8d671e50036acb0e65c90a07f757e066c0463113)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alassane Yattara
2023-10-16 17:36:12 +01:00
committed by Richard Purdie
parent 7774bab05f
commit 50d88674b2

View File

@@ -97,6 +97,8 @@ class TestLayerDetailsPage(SeleniumTestCase):
"Expecting any of \"%s\"but got \"%s\"" %
(self.initial_values, value))
# Make sure the input visible beofre sending keys
self.wait_until_visible("#layer-git input[type=text]")
inputs.send_keys("-edited")
# Save the new values