@@ -54,7 +54,7 @@ async function main() {
5454 const e2eTestGroup = context . testGroup ;
5555 const e2eTestFilter = context . testFilter ;
5656
57- const tests = (
57+ let tests = (
5858 await glob ( `tests/**/${ e2eTestFilter } .{test,spec}.ts` , {
5959 cwd : __dirname ,
6060 } )
@@ -67,6 +67,7 @@ async function main() {
6767 return index >= minGroupIndex && index <= maxGroupIndex ;
6868 } )
6969 . sort ( ( a , b ) => {
70+ // this comment is wrong
7071 // The only test file that's interested in the first-run experience (at the
7172 // time of writing) is time-to-first-query.ts and that happens to be
7273 // alphabetically right at the end. Which is fine, but the first test to run
@@ -82,6 +83,9 @@ async function main() {
8283 }
8384 } ) ;
8485
86+ tests = tests . filter ( ( test ) => test === 'tests/no-network-traffic.test.ts' ) ;
87+
88+ console . log ( 'test files: ' , tests ) ;
8589 debug ( 'Test files:' , tests ) ;
8690
8791 if ( tests . length === 0 ) {
@@ -114,6 +118,7 @@ async function main() {
114118 debug ( 'Running E2E tests' ) ;
115119 runnerPromise = new Promise ( ( resolve ) => {
116120 mocha . run ( ( failures : number ) => {
121+ console . log ( 'on finish??' ) ;
117122 debug ( 'Finished running e2e tests' , { failures } ) ;
118123 process . exitCode = failures ? 1 : 0 ;
119124 // Since the webdriverio update something is messing with the terminal's
@@ -161,4 +166,6 @@ async function run() {
161166 await main ( ) ;
162167}
163168
169+ console . log ( 'running???????' ) ;
170+
164171void run ( ) ;
0 commit comments