File tree Expand file tree Collapse file tree 4 files changed +17
-9
lines changed
redisinsight/desktop/src/lib/server
tests/web/critical-path/url-handling Expand file tree Collapse file tree 4 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -421,9 +421,11 @@ jobs:
421
421
- checkout
422
422
- attach_workspace :
423
423
at : .
424
- # - run: choco install nodejs --version=18.15.0
425
- - run : nvm install 18.15.0
426
- - run : nvm use 18.15.0
424
+ - run :
425
+ command : |
426
+ nvm install 18.15.0
427
+ nvm use 18.15.0
428
+ npm install --global yarn
427
429
- run :
428
430
command : |
429
431
cd tests/e2e && export TEST_FILES=$(circleci tests glob "tests/electron/**/*.e2e.ts" | circleci tests split --split-by=timings) && cd ../..
@@ -768,10 +770,10 @@ jobs:
768
770
- run :
769
771
name : Build windows exe
770
772
command : |
771
- # choco install nodejs --version=18.15.0
772
773
nvm install 18.15.0
773
774
nvm use 18.15.0
774
- npm i -g yarn
775
+ npm install --global yarn
776
+
775
777
# set ALL_REDIS_COMMANDS=$(curl $ALL_REDIS_COMMANDS_RAW_URL)
776
778
yarn install
777
779
yarn --cwd redisinsight/api/ install
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ let beApp: any
24
24
export const launchApiServer = async ( ) => {
25
25
try {
26
26
const detectPortConst = await getPort ( { port : portNumbers ( port , port + 1_000 ) } )
27
- process . env . API_PORT = detectPortConst ?. toString ( )
27
+ process . env . RI_APP_PORT = detectPortConst ?. toString ( )
28
28
29
29
if ( process . env . APPIMAGE ) {
30
30
process . env . BUILD_PACKAGE = 'appimage'
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