mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
49ccf2f5e0
commit
c0ade693af
@@ -79,6 +79,7 @@ class TestNewProjectPage(SeleniumTestCase):
|
||||
|
||||
url = reverse('newproject')
|
||||
self.get(url)
|
||||
self.wait_until_visible('#new-project-name', poll=3)
|
||||
|
||||
self.enter_text('#new-project-name', project_name)
|
||||
|
||||
@@ -90,7 +91,8 @@ class TestNewProjectPage(SeleniumTestCase):
|
||||
|
||||
self.click("#create-project-button")
|
||||
|
||||
element = self.wait_until_visible('#hint-error-project-name', poll=3)
|
||||
self.wait_until_present('#hint-error-project-name', poll=3)
|
||||
element = self.find('#hint-error-project-name')
|
||||
|
||||
self.assertTrue(("Project names must be unique" in element.text),
|
||||
"Did not find unique project name error message")
|
||||
|
||||
Reference in New Issue
Block a user