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 <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling 2024-06-11 09:13:36 -07:00 committed by Richard Purdie
parent 82596bb8a0
commit ddc86a93da

View File

@ -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