@@ -58,7 +58,9 @@ describe('Parser test suite', function () {
5858 this . timeout ( 30000 ) ;
5959
6060 const browser = VSBrowser . instance ;
61- await browser . openResources ( EXAMPLE_PROJECT ) ;
61+ await browser . openResources ( EXAMPLE_PROJECT , async ( ) => {
62+ await browser . driver . sleep ( 3_000 ) ;
63+ } ) ;
6264
6365 await updateSettings ( TEST_FILE_GLOB_SETTINGS_ID , TEST_FILE_GLOB ) ;
6466 } ) ;
@@ -84,7 +86,7 @@ describe('Parser test suite', function () {
8486 const runnerView = await ( await new ActivityBar ( ) . getViewControl ( EXTESTER_RUNNER ) ) ?. openView ( ) ;
8587 assert . ok ( runnerView , 'Runner view not found' ) ;
8688
87- const content = await runnerView . getContent ( ) ;
89+ const content = runnerView . getContent ( ) ;
8890 assert . ok ( content , 'Content not found' ) ;
8991
9092 const sections = await content . getSections ( ) ;
@@ -255,12 +257,12 @@ describe('Parser test suite', function () {
255257 assert . strictEqual ( firstDescribeLabel . trim ( ) , EXPECTED_DESCRIBE_1 ) ;
256258
257259 // first describe first test
258- const firstDesribeIts = await firstDescribe . getChildren ( ) ;
259- assert . ok ( firstDesribeIts ?. length === 1 , 'First describe should have exactly one it' ) ;
260+ const firstDescribeIts = await firstDescribe . getChildren ( ) ;
261+ assert . ok ( firstDescribeIts ?. length === 1 , 'First describe should have exactly one it' ) ;
260262
261- const firstDesribeFirstIt = firstDesribeIts [ 0 ] ;
262- const firstDesribeFirstItLabel = await firstDesribeFirstIt . getLabel ( ) ;
263- assert . strictEqual ( firstDesribeFirstItLabel . trim ( ) , EXPECTED_TEST_1 ) ;
263+ const firstDescribeFirstIt = firstDescribeIts [ 0 ] ;
264+ const firstDescribeFirstItLabel = await firstDescribeFirstIt . getLabel ( ) ;
265+ assert . strictEqual ( firstDescribeFirstItLabel . trim ( ) , EXPECTED_TEST_1 ) ;
264266
265267 // second describe
266268 const secondDescribe = describes [ 1 ] ;
0 commit comments