[PATCH 3/4] toaster/test: Skip to show more then 100 item in ToasterTable
Alassane Yattara <[email protected]> Fri, 29 Dec 2023 16:11:02 +0100
| Newsgroups | org.yoctoproject.lists.toaster |
|---|---|
| Message-ID | <[email protected]> |
Signed-off-by: Alassane Yattara <[email protected]> --- .../tests/functional/test_project_page.py | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/lib/toaster/tests/functional/test_project_page.py b/lib/toas= ter/tests/functional/test_project_page.py index 82dca442..31177cc1 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=3D'softwarerecip= estable') + self._mixin_test_table_show_rows( + table_selector=3D'softwarerecipestable', + to_skip=3D[150], + ) =20 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=3D'machinestable= ') + self._mixin_test_table_show_rows( + table_selector=3D'machinestable', + to_skip=3D[150], + ) =20 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=3D'layerstable') + self._mixin_test_table_show_rows( + table_selector=3D'layerstable', + to_skip=3D[150], + ) =20 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=3D'distrostable', - to_skip=3D[150] + to_skip=3D[150], ) =20 def test_single_layer_page(self): --=20 2.34.1