From 829953631ba73684523adf9305b411cc312bf2ad Mon Sep 17 00:00:00 2001 From: Alassane Yattara Date: Tue, 5 Dec 2023 17:40:22 +0100 Subject: bitbake: toaster/test: delay driver action until elements to appear Update tests/browser/(test_landing_page.py and test_layerdetails_page.py) to delay driver actions until for elements to appear (Bitbake rev: 72908138bd2735c69f5e418ec5f0f2cf8215050a) Signed-off-by: Alassane Yattara Signed-off-by: Richard Purdie --- bitbake/lib/toaster/tests/browser/test_landing_page.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/toaster/tests/browser/test_landing_page.py') diff --git a/bitbake/lib/toaster/tests/browser/test_landing_page.py b/bitbake/lib/toaster/tests/browser/test_landing_page.py index 7ec52a4b40..ca0b2e631a 100644 --- a/bitbake/lib/toaster/tests/browser/test_landing_page.py +++ b/bitbake/lib/toaster/tests/browser/test_landing_page.py @@ -206,6 +206,7 @@ class TestLandingPage(SeleniumTestCase): self.get(reverse('landing')) + self.wait_until_visible("#latest-builds") elements = self.find_all('#allbuildstable') self.assertEqual(len(elements), 1, 'should redirect to builds') content = self.get_page_source() -- cgit v1.2.3-54-g00ecf