summaryrefslogtreecommitdiffstats
path: root/lib/toaster
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-10-28 18:48:46 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-04 12:50:29 +0000
commit4b89db30af25da5f2c519cf684655d5af99f0e2c (patch)
tree562c5f9a33d60f0eb30e5cfb3155ca25c5f6b7f0 /lib/toaster
parent7a82e45ca5c4d470f62f83e72d00cbe45baa1537 (diff)
downloadbitbake-contrib-4b89db30af25da5f2c519cf684655d5af99f0e2c.tar.gz
toaster: test browser test_layerdetails_page add wait_until_visible
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>
Diffstat (limited to 'lib/toaster')
-rw-r--r--lib/toaster/tests/browser/test_layerdetails_page.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/toaster/tests/browser/test_layerdetails_page.py b/lib/toaster/tests/browser/test_layerdetails_page.py
index 6392d1efb..f24fb093a 100644
--- a/lib/toaster/tests/browser/test_layerdetails_page.py
+++ b/lib/toaster/tests/browser/test_layerdetails_page.py
@@ -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]") + \