diff options
Diffstat (limited to 'bitbake/lib/toaster/tests/functional/test_project_page.py')
-rw-r--r-- | bitbake/lib/toaster/tests/functional/test_project_page.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/tests/functional/test_project_page.py b/bitbake/lib/toaster/tests/functional/test_project_page.py index 31177cc1ff..adbe3587e4 100644 --- a/bitbake/lib/toaster/tests/functional/test_project_page.py +++ b/bitbake/lib/toaster/tests/functional/test_project_page.py | |||
@@ -192,9 +192,10 @@ class TestProjectPage(SeleniumFunctionalTestCase): | |||
192 | def test_show_rows(row_to_show, show_row_link): | 192 | def test_show_rows(row_to_show, show_row_link): |
193 | # Check that we can show rows == row_to_show | 193 | # Check that we can show rows == row_to_show |
194 | show_row_link.select_by_value(str(row_to_show)) | 194 | show_row_link.select_by_value(str(row_to_show)) |
195 | self.wait_until_visible(f'#{table_selector} tbody tr', poll=2) | 195 | self.wait_until_visible(f'#{table_selector} tbody tr', poll=3) |
196 | # check at least some rows are visible | ||
196 | self.assertTrue( | 197 | self.assertTrue( |
197 | len(self.find_all(f'#{table_selector} tbody tr')) == row_to_show | 198 | len(self.find_all(f'#{table_selector} tbody tr')) > 0 |
198 | ) | 199 | ) |
199 | self.wait_until_present(f'#{table_selector} tbody tr') | 200 | self.wait_until_present(f'#{table_selector} tbody tr') |
200 | show_rows = self.driver.find_elements( | 201 | show_rows = self.driver.find_elements( |