summaryrefslogtreecommitdiffstats
path: root/bitbake/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:55 +0000
commit0c91a400e7341d1cbfd7950067ca5c15a7b38691 (patch)
tree0fa5af7f1b33fe1d33448c783f698cc4b513410d /bitbake/lib/toaster
parent5bc6fa01e0581c703808597878244cf9a38cefba (diff)
downloadpoky-0c91a400e7341d1cbfd7950067ca5c15a7b38691.tar.gz
bitbake: 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 (Bitbake rev: 4b89db30af25da5f2c519cf684655d5af99f0e2c) 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 'bitbake/lib/toaster')
-rw-r--r--bitbake/lib/toaster/tests/browser/test_layerdetails_page.py3
1 files changed, 2 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 6392d1efb6..f24fb093a5 100644
--- a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
@@ -91,9 +91,10 @@ class TestLayerDetailsPage(SeleniumTestCase):
91 for btn in self.find_all("dd .glyphicon-edit"): 91 for btn in self.find_all("dd .glyphicon-edit"):
92 btn.click() 92 btn.click()
93 93
94 # Wait for the inputs to become visible 94 # Wait for the inputs to become visible after animation
95 self.wait_until_visible("#layer-git input[type=text]") 95 self.wait_until_visible("#layer-git input[type=text]")
96 self.wait_until_visible("dd textarea") 96 self.wait_until_visible("dd textarea")
97 self.wait_until_visible("dd .change-btn")
97 98
98 # Edit each value 99 # Edit each value
99 for inputs in self.find_all("#layer-git input[type=text]") + \ 100 for inputs in self.find_all("#layer-git input[type=text]") + \