diff options
| author | Alassane Yattara <alassane.yattara@savoirfairelinux.com> | 2023-12-29 16:10:24 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-01 23:13:50 +0000 |
| commit | 280917c2e70b103872c4495836dc7d1bcc30022a (patch) | |
| tree | c89893dbab3d7000a35cd0e38134dd1e38c50b39 /bitbake/lib/toaster | |
| parent | 350300f83629dd3ca4e53149c2fa4fc4663b1dec (diff) | |
| download | poky-280917c2e70b103872c4495836dc7d1bcc30022a.tar.gz | |
bitbake: toaster/tests: Bug-fix "#project-created-notification" should be visible
Added more delay between click on create project but and when notification is displayed
(Bitbake rev: 5382cc0699eebc1e91675a2a147f8fe7dab23c14)
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
| -rw-r--r-- | bitbake/lib/toaster/tests/functional/test_create_new_project.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/functional/test_create_new_project.py b/bitbake/lib/toaster/tests/functional/test_create_new_project.py index bbda0cf4e6..9f88010709 100644 --- a/bitbake/lib/toaster/tests/functional/test_create_new_project.py +++ b/bitbake/lib/toaster/tests/functional/test_create_new_project.py | |||
| @@ -49,7 +49,7 @@ class TestCreateNewProject(SeleniumFunctionalTestCase): | |||
| 49 | 49 | ||
| 50 | self.driver.find_element(By.ID, "create-project-button").click() | 50 | self.driver.find_element(By.ID, "create-project-button").click() |
| 51 | 51 | ||
| 52 | element = self.wait_until_visible('#project-created-notification') | 52 | element = self.wait_until_visible('#project-created-notification', poll=3) |
| 53 | self.assertTrue( | 53 | self.assertTrue( |
| 54 | self.element_exists('#project-created-notification'), | 54 | self.element_exists('#project-created-notification'), |
| 55 | f"Project:{project_name} creation notification not shown" | 55 | f"Project:{project_name} creation notification not shown" |
