mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
bitbake: toaster/test: from test_no_builds_message.py wait for the empty state div to appear
>From tests/browser/test_sample.py wait for the empty state div to appear (Bitbake rev: 56ea671526d6ec81b0d69f1bab6ac8f6796b8018) 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
2d1f6c055d
commit
8efe835e3b
@@ -32,6 +32,7 @@ class TestSample(SeleniumTestCase):
|
||||
""" Test that a message is shown when there are no builds """
|
||||
url = reverse('all-builds')
|
||||
self.get(url)
|
||||
self.wait_until_visible('#empty-state-allbuildstable') # wait for the empty state div to appear
|
||||
div_msg = self.find('#empty-state-allbuildstable .alert-info')
|
||||
|
||||
msg = 'Sorry - no data found'
|
||||
|
||||
Reference in New Issue
Block a user