]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: test browser test_layerdetails_page add wait_until_visible
authorMichael Wood <michael.g.wood@intel.com>
Fri, 28 Oct 2016 15:48:46 +0000 (18:48 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Nov 2016 12:50:29 +0000 (12:50 +0000)
Add an additional wait_until_visible for the save buttons as firefox
animates this into view so slowly we get a race on them being visible

Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/tests/browser/test_layerdetails_page.py

index 6392d1efb6e85c02d1ef612c744a2faef9c6c554..f24fb093a56de84e0ff495defc456f81af8a1a80 100644 (file)
@@ -91,9 +91,10 @@ class TestLayerDetailsPage(SeleniumTestCase):
         for btn in self.find_all("dd .glyphicon-edit"):
             btn.click()
 
-        # Wait for the inputs to become visible
+        # Wait for the inputs to become visible after animation
         self.wait_until_visible("#layer-git input[type=text]")
         self.wait_until_visible("dd textarea")
+        self.wait_until_visible("dd .change-btn")
 
         # Edit each value
         for inputs in self.find_all("#layer-git input[type=text]") + \