Message ID | 20231229151024.43476-4-alassane.yattara@savoirfairelinux.com |
---|---|
State | New |
Headers | show |
Series | [1/4] toaster/test: bug-fix An element matching "#projectstable" should be visible | expand |
diff --git a/lib/toaster/tests/functional/test_create_new_project.py b/lib/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): self.driver.find_element(By.ID, "create-project-button").click() - element = self.wait_until_visible('#project-created-notification') + element = self.wait_until_visible('#project-created-notification', poll=3) self.assertTrue( self.element_exists('#project-created-notification'), f"Project:{project_name} creation notification not shown"
Added more delay between click on create project but and when notification is displayed Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> --- lib/toaster/tests/functional/test_create_new_project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)