File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,10 @@ export class ServerActions extends CommonDriverExtension {
15
15
16
16
while ( Date . now ( ) - start < TIMEOUT ) {
17
17
try {
18
- await CommonAPIRequests . sendGetRequest ( '/info' )
19
- return
18
+ const response = await CommonAPIRequests . sendGetRequest ( '/info' )
19
+ if ( response . status === 200 ) {
20
+ return
21
+ }
20
22
} catch ( e ) {
21
23
// ignore
22
24
}
Original file line number Diff line number Diff line change @@ -34,10 +34,10 @@ describe('Agreements Verification', () => {
34
34
addDatabaseView = new AddDatabaseView ( )
35
35
welcomeView = new WelcomeView ( )
36
36
37
- await ServerActions . waitForServerInitialized ( )
38
- await browser . waitForWorkbench ( 20_000 )
39
37
await new TitleBar ( ) . getWindowControls ( ) . maximize ( )
40
38
await ( await new ActivityBar ( ) . getViewControl ( 'Redis for VS Code' ) ) ?. openView ( )
39
+ await ServerActions . waitForServerInitialized ( )
40
+ await browser . waitForWorkbench ( 20_000 )
41
41
} )
42
42
beforeEach ( async ( ) => {
43
43
await eulaView . switchToInnerViewFrame ( InnerViews . EulaInnerView )
You can’t perform that action at this time.
0 commit comments