@@ -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 ( ) ;
@@ -131,7 +133,7 @@ describe('Parser test suite', function () {
131133 const runnerView = await ( await new ActivityBar ( ) . getViewControl ( EXTESTER_RUNNER ) ) ?. openView ( ) ;
132134 assert . ok ( runnerView , 'Runner view not found' ) ;
133135
134- const content = await runnerView . getContent ( ) ;
136+ const content = runnerView . getContent ( ) ;
135137 assert . ok ( content , 'Content not found' ) ;
136138
137139 const sections = await content . getSections ( ) ;
@@ -178,7 +180,7 @@ describe('Parser test suite', function () {
178180 const runnerView = await ( await new ActivityBar ( ) . getViewControl ( EXTESTER_RUNNER ) ) ?. openView ( ) ;
179181 assert . ok ( runnerView , 'Runner view not found' ) ;
180182
181- const content = await runnerView . getContent ( ) ;
183+ const content = runnerView . getContent ( ) ;
182184 assert . ok ( content , 'Content not found' ) ;
183185
184186 const sections = await content . getSections ( ) ;
@@ -227,7 +229,7 @@ describe('Parser test suite', function () {
227229 const runnerView = await ( await new ActivityBar ( ) . getViewControl ( EXTESTER_RUNNER ) ) ?. openView ( ) ;
228230 assert . ok ( runnerView , 'Runner view not found' ) ;
229231
230- const content = await runnerView . getContent ( ) ;
232+ const content = runnerView . getContent ( ) ;
231233 assert . ok ( content , 'Content not found' ) ;
232234
233235 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