@@ -81,7 +81,7 @@ module.exports = () => {
8181
8282 it ( 'Should display the correct items counter at the bottom of the page' , async ( ) => {
8383 await expectInnerText ( page , '#firstRowIndex' , '1' ) ;
84- await expectInnerText ( page , '#lastRowIndex' , '9 ' ) ;
84+ await expectInnerText ( page , '#lastRowIndex' , '7 ' ) ;
8585 await expectInnerText ( page , '#totalRowsCount' , '9' ) ;
8686 } ) ;
8787
@@ -139,15 +139,15 @@ module.exports = () => {
139139 await checkEnvironmentStatusColor ( 2 , 3 ) ;
140140 await checkEnvironmentStatusColor ( 3 , 3 ) ;
141141 await checkEnvironmentStatusColor ( 6 , 3 ) ;
142- await checkEnvironmentStatusColor ( 9 , 3 ) ;
142+ await checkEnvironmentStatusColor ( 7 , 3 ) ;
143143 } ) ;
144144
145145 it ( 'can set how many environments are available per page' , async ( ) => {
146- // Expect the amount selector to currently be set to 9 (because of the defined page height)
146+ // Expect the amount selector to currently be set to 7 (because of the defined page height)
147147 const amountSelectorId = '#amountSelector' ;
148148 const amountSelectorButton = await page . waitForSelector ( `${ amountSelectorId } button` ) ;
149149 const amountSelectorButtonText = await page . evaluate ( ( element ) => element . innerText , amountSelectorButton ) ;
150- expect ( amountSelectorButtonText . trim ( ) . endsWith ( '9 ' ) ) . to . be . true ;
150+ expect ( amountSelectorButtonText . trim ( ) . endsWith ( '7 ' ) ) . to . be . true ;
151151
152152 // Expect the dropdown options to be visible when it is selected
153153 await pressElement ( page , `${ amountSelectorId } button` ) ;
0 commit comments