[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3193/8267] bitbake: toaster: test browser test_layerdetails_page add wait_until_visible
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 3193/8267] bitbake: toaster: test browser test_layerdetails_page add wait_until_visible
- Date: Sun, 17 Dec 2017 00:17:23 +0000 (UTC)
commit 0c91a400e7341d1cbfd7950067ca5c15a7b38691
Author: Michael Wood <michael g wood intel com>
Date: Fri Oct 28 18:48:46 2016 +0300
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>
.../tests/browser/test_layerdetails_page.py | 3 ++-
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 6392d1e..f24fb09 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):
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]") + \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]