File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
tests/web/critical-path/url-handling Expand file tree Collapse file tree 3 files changed +10
-4
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 @@ -9,7 +9,7 @@ export class ExploreTab {
9
9
redisStackTutorialsButton = Selector ( '[data-testid=accordion-button-redis_stack]' ) ;
10
10
timeSeriesLink = Selector ( '[data-testid=accordion-button-ds-ts]' ) ;
11
11
internalTimeSeriesLink = Selector ( '[data-testid=internal-link-ds-ts-ret-compact]' ) ;
12
- scrolledEnablementArea = Selector ( '[data-testid=enablement-area__page]' ) ;
12
+ scrolledEnablementArea = Selector ( '[data-testid=enablement-area__page]' , { timeout : 1000 } ) ;
13
13
closeEnablementPage = Selector ( '[data-testid=enablement-area__page-close]' ) ;
14
14
tutorialLinkField = Selector ( '[data-testid=tutorial-link-field]' ) ;
15
15
tutorialLatestDeleteIcon = Selector ( '[data-testid^=delete-tutorial-icon-]' ) . nth ( 0 ) ;
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