From ddc86a93dafbe684786116e969ece67735246779 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Tue, 11 Jun 2024 09:13:36 -0700 Subject: bitbake: test_project_page: fix failing test_single_layer_page The test_single_layer_page test case consistently fails. It is not obvious why but if we change the argument in the following from 8 to 7 it passes. url = reverse("layerdetails", args=(TestProjectPage.project_id, 8)) E selenium.common.exceptions.TimeoutException: Message: An element matching "#change-notification" should be visible =========================== short test summary info ============================ FAILED ../bitbake/lib/toaster/tests/functional/test_project_page.py::TestProjectPage::test_single_layer_page (Bitbake rev: c7e12145d8ea641925e3c06ba4f11c2dae66288a) Signed-off-by: Tim Orling Signed-off-by: Richard Purdie --- bitbake/lib/toaster/tests/functional/test_project_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/toaster') diff --git a/bitbake/lib/toaster/tests/functional/test_project_page.py b/bitbake/lib/toaster/tests/functional/test_project_page.py index adbe3587e4..0e36b44ffd 100644 --- a/bitbake/lib/toaster/tests/functional/test_project_page.py +++ b/bitbake/lib/toaster/tests/functional/test_project_page.py @@ -708,7 +708,7 @@ class TestProjectPage(SeleniumFunctionalTestCase): - Check layer summary - Check layer description """ - url = reverse("layerdetails", args=(TestProjectPage.project_id, 8)) + url = reverse("layerdetails", args=(TestProjectPage.project_id, 7)) self.get(url) self.wait_until_visible('.page-header') # check title is displayed -- cgit v1.2.3-54-g00ecf