diff options
| author | Alassane Yattara <alassane.yattara@savoirfairelinux.com> | 2024-01-09 14:54:07 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-01-10 13:55:33 +0000 |
| commit | c0ade693af365296e5d78e6f8fb4d0d5c5c3e2ab (patch) | |
| tree | 3ffe1e2a4d46bfd9be5db840c4525549f5c666d9 /bitbake/lib/toaster | |
| parent | 49ccf2f5e01cc98c25424b8d9326b4eaf6c8bdd7 (diff) | |
| download | poky-c0ade693af365296e5d78e6f8fb4d0d5c5c3e2ab.tar.gz | |
bitbake: toaster/tests: bug-fix "#hint-error-project-name" should be visible
Failed: https://autobuilder.yoctoproject.org/typhoon/#/builders/161/builds/142
(Bitbake rev: 0ee5f4e06476b0ec2f5ea8c9f05d299ddda6312b)
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/browser/test_new_project_page.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_new_project_page.py b/bitbake/lib/toaster/tests/browser/test_new_project_page.py index 70b55f3ccd..458bb6538d 100644 --- a/bitbake/lib/toaster/tests/browser/test_new_project_page.py +++ b/bitbake/lib/toaster/tests/browser/test_new_project_page.py | |||
| @@ -79,6 +79,7 @@ class TestNewProjectPage(SeleniumTestCase): | |||
| 79 | 79 | ||
| 80 | url = reverse('newproject') | 80 | url = reverse('newproject') |
| 81 | self.get(url) | 81 | self.get(url) |
| 82 | self.wait_until_visible('#new-project-name', poll=3) | ||
| 82 | 83 | ||
| 83 | self.enter_text('#new-project-name', project_name) | 84 | self.enter_text('#new-project-name', project_name) |
| 84 | 85 | ||
| @@ -90,7 +91,8 @@ class TestNewProjectPage(SeleniumTestCase): | |||
| 90 | 91 | ||
| 91 | self.click("#create-project-button") | 92 | self.click("#create-project-button") |
| 92 | 93 | ||
| 93 | element = self.wait_until_visible('#hint-error-project-name', poll=3) | 94 | self.wait_until_present('#hint-error-project-name', poll=3) |
| 95 | element = self.find('#hint-error-project-name') | ||
| 94 | 96 | ||
| 95 | self.assertTrue(("Project names must be unique" in element.text), | 97 | self.assertTrue(("Project names must be unique" in element.text), |
| 96 | "Did not find unique project name error message") | 98 | "Did not find unique project name error message") |
