summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAlassane Yattara <alassane.yattara@savoirfairelinux.com>2023-12-05 01:54:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-06 22:28:03 +0000
commit8efe835e3bbad07d322755feaf40271a89938cd6 (patch)
tree8af3eb5eba0d6a626a986ff8f76e6ef4f2a789a1 /bitbake
parent2d1f6c055d9ffc115fff2fc40e386d52e4b1bfc5 (diff)
downloadpoky-8efe835e3bbad07d322755feaf40271a89938cd6.tar.gz
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>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/tests/browser/test_sample.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_sample.py b/bitbake/lib/toaster/tests/browser/test_sample.py
index 73973778e4..f04f1d9a16 100644
--- a/bitbake/lib/toaster/tests/browser/test_sample.py
+++ b/bitbake/lib/toaster/tests/browser/test_sample.py
@@ -32,6 +32,7 @@ class TestSample(SeleniumTestCase):
32 """ Test that a message is shown when there are no builds """ 32 """ Test that a message is shown when there are no builds """
33 url = reverse('all-builds') 33 url = reverse('all-builds')
34 self.get(url) 34 self.get(url)
35 self.wait_until_visible('#empty-state-allbuildstable') # wait for the empty state div to appear
35 div_msg = self.find('#empty-state-allbuildstable .alert-info') 36 div_msg = self.find('#empty-state-allbuildstable .alert-info')
36 37
37 msg = 'Sorry - no data found' 38 msg = 'Sorry - no data found'