aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlassane Yattara <alassane.yattara@savoirfairelinux.com>2023-12-29 16:10:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-01 23:12:47 +0000
commit860c931381e0694a854fd90775fb18dadb7d76c6 (patch)
tree90c32aae03a44109edbd54c11f575efe0161c157
parent5bcba4596cd9f4f54c7ae7ebd9322897c2f829cd (diff)
downloadbitbake-contrib-860c931381e0694a854fd90775fb18dadb7d76c6.tar.gz
toaster/tests: Skip to show more then 100 item in ToasterTable
Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/toaster/tests/functional/test_project_page.py17
1 files changed, 13 insertions, 4 deletions
diff --git a/lib/toaster/tests/functional/test_project_page.py b/lib/toaster/tests/functional/test_project_page.py
index 82dca442f..31177cc1f 100644
--- a/lib/toaster/tests/functional/test_project_page.py
+++ b/lib/toaster/tests/functional/test_project_page.py
@@ -494,7 +494,10 @@ class TestProjectPage(SeleniumFunctionalTestCase):
)
self._navigate_to_config_nav('softwarerecipestable', 4)
# check show rows(pagination)
- self._mixin_test_table_show_rows(table_selector='softwarerecipestable')
+ self._mixin_test_table_show_rows(
+ table_selector='softwarerecipestable',
+ to_skip=[150],
+ )
def test_machines_page(self):
""" Test Machine page
@@ -561,7 +564,10 @@ class TestProjectPage(SeleniumFunctionalTestCase):
)
self._navigate_to_config_nav('machinestable', 5)
# check show rows(pagination)
- self._mixin_test_table_show_rows(table_selector='machinestable')
+ self._mixin_test_table_show_rows(
+ table_selector='machinestable',
+ to_skip=[150],
+ )
def test_layers_page(self):
""" Test layers page
@@ -635,7 +641,10 @@ class TestProjectPage(SeleniumFunctionalTestCase):
)
self._navigate_to_config_nav('layerstable', 6)
# check show rows(pagination)
- self._mixin_test_table_show_rows(table_selector='layerstable')
+ self._mixin_test_table_show_rows(
+ table_selector='layerstable',
+ to_skip=[150],
+ )
def test_distro_page(self):
""" Test distros page
@@ -685,7 +694,7 @@ class TestProjectPage(SeleniumFunctionalTestCase):
# check show rows(pagination)
self._mixin_test_table_show_rows(
table_selector='distrostable',
- to_skip=[150]
+ to_skip=[150],
)
def test_single_layer_page(self):