Message ID | 20231205005411.476971-3-alassane.yattara@savoirfairelinux.com |
---|---|
State | Accepted, archived |
Commit | 56ea671526d6ec81b0d69f1bab6ac8f6796b8018 |
Headers | show |
Series | [v2,1/3] toaster/test: bug-fix on tests/browser/test_all_builds_page | expand |
diff --git a/lib/toaster/tests/browser/test_sample.py b/lib/toaster/tests/browser/test_sample.py index 73973778..f04f1d9a 100644 --- a/lib/toaster/tests/browser/test_sample.py +++ b/lib/toaster/tests/browser/test_sample.py @@ -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'
From tests/browser/test_sample.py wait for the empty state div to appear Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> --- lib/toaster/tests/browser/test_sample.py | 1 + 1 file changed, 1 insertion(+)