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 <[email protected]>
---
 lib/toaster/tests/browser/test_layerdetails_page.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/toaster/tests/browser/test_layerdetails_page.py 
b/lib/toaster/tests/browser/test_layerdetails_page.py
index 71bdd2aa..cb7b915b 100644
--- a/lib/toaster/tests/browser/test_layerdetails_page.py
+++ b/lib/toaster/tests/browser/test_layerdetails_page.py
@@ -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
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5866): https://lists.yoctoproject.org/g/toaster/message/5866
Mute This Topic: https://lists.yoctoproject.org/mt/101999656/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to