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>
This commit is contained in:
parent
5bc6fa01e0
commit
0c91a400e7
|
@ -91,9 +91,10 @@ class TestLayerDetailsPage(SeleniumTestCase):
|
||||||
for btn in self.find_all("dd .glyphicon-edit"):
|
for btn in self.find_all("dd .glyphicon-edit"):
|
||||||
btn.click()
|
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("#layer-git input[type=text]")
|
||||||
self.wait_until_visible("dd textarea")
|
self.wait_until_visible("dd textarea")
|
||||||
|
self.wait_until_visible("dd .change-btn")
|
||||||
|
|
||||||
# Edit each value
|
# Edit each value
|
||||||
for inputs in self.find_all("#layer-git input[type=text]") + \
|
for inputs in self.find_all("#layer-git input[type=text]") + \
|
||||||
|
|
Loading…
Reference in New Issue