[PATCH 4/4] toaster/test: Bug-fix "#project-created-notification" should be visible
Alassane Yattara <[email protected]> Fri, 29 Dec 2023 16:11:03 +0100
| Newsgroups | org.yoctoproject.lists.toaster |
|---|---|
| Message-ID | <[email protected]> |
Added more delay between click on create project but and when notificatio= n is displayed Signed-off-by: Alassane Yattara <[email protected]> --- lib/toaster/tests/functional/test_create_new_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/toaster/tests/functional/test_create_new_project.py b/li= b/toaster/tests/functional/test_create_new_project.py index bbda0cf4..9f880107 100644 --- a/lib/toaster/tests/functional/test_create_new_project.py +++ b/lib/toaster/tests/functional/test_create_new_project.py @@ -49,7 +49,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): =20 self.driver.find_element(By.ID, "create-project-button").click() =20 - element =3D self.wait_until_visible('#project-created-notificati= on') + element =3D self.wait_until_visible('#project-created-notificati= on', poll=3D3) self.assertTrue( self.element_exists('#project-created-notification'), f"Project:{project_name} creation notification not shown" --=20 2.34.1