File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
tests/web/critical-path/url-handling Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,14 @@ export class WorkbenchActions {
28
28
await t . click ( workbenchPage . selectViewType )
29
29
. click ( workbenchPage . viewTypeOptionClientList ) ;
30
30
await t . switchToIframe ( workbenchPage . iframe ) ;
31
- await t . expect ( Selector ( 'tbody tr' ) . count ) . eql ( numberOfRowsInTextView ) ;
31
+ const paginationSelector = Selector ( 'a[data-test-subj=pagination-button-next]' ) ;
32
+ const tableRow = Selector ( 'tbody tr' ) ;
33
+ let rowCount = await tableRow . count ;
34
+ if ( await paginationSelector . visible ) {
35
+ await t . click ( paginationSelector ) ;
36
+ rowCount += await tableRow . count ;
37
+ }
38
+ await t . expect ( rowCount ) . eql ( numberOfRowsInTextView ) ;
32
39
}
33
40
/**
34
41
Verify error message after `client list` command if there is no permission to run
Original file line number Diff line number Diff line change 76
76
memoryLimitMeasurementUnit : 'mb' ,
77
77
free : 'true'
78
78
} ;
79
- console . log ( '!!!!' ) ;
80
- console . log ( generateLink ( connectUrlParams ) ) ;
79
+
81
80
await t . navigateTo ( generateLink ( connectUrlParams ) ) ;
82
81
await t . wait ( 10_000 ) ;
83
82
await t . expect ( workbenchPage . submitCommandButton . exists ) . ok ( 'Redirection to Workbench is not correct' ) ;
You can’t perform that action at this time.
0 commit comments