[toaster 3/3] test_project_page: fix failing test_single_layer_page
[email protected] Tue, 11 Jun 2024 09:13:36 -0700
| Newsgroups | org.yoctoproject.lists.toaster,org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Tim Orling <[email protected]> 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 Signed-off-by: Tim Orling <[email protected]> --- lib/toaster/tests/functional/test_project_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/toaster/tests/functional/test_project_page.py b/lib/toaster/tests/functional/test_project_page.py index adbe3587e..0e36b44ff 100644 --- a/lib/toaster/tests/functional/test_project_page.py +++ b/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 -- 2.45.2