@@ -135,7 +135,8 @@ test('should respect path resolver in experimental mode', async ({ runInlineTest
135135 expect ( result . exitCode ) . toBe ( 0 ) ;
136136} ) ;
137137
138- test ( 'should use source maps' , async ( { runInlineTest } ) => {
138+ test ( 'should use source maps' , async ( { runInlineTest, nodeVersion } ) => {
139+ test . fail ( nodeVersion . major >= 20 , 'https://github.com/microsoft/playwright/issues/22582' ) ;
139140 test . info ( ) . annotations . push ( { type : 'issue' , description : 'https://github.com/microsoft/playwright/issues/15202' } ) ;
140141 const result = await runInlineTest ( {
141142 'package.json' : `{ "type": "module" }` ,
@@ -157,7 +158,8 @@ test('should use source maps', async ({ runInlineTest }) => {
157158 expect ( output ) . toContain ( '[foo] › a.test.ts:4:7 › check project name' ) ;
158159} ) ;
159160
160- test ( 'should show the codeframe in errors' , async ( { runInlineTest } ) => {
161+ test ( 'should show the codeframe in errors' , async ( { runInlineTest, nodeVersion } ) => {
162+ test . fail ( nodeVersion . major >= 20 , 'https://github.com/microsoft/playwright/issues/22582' ) ;
161163 const result = await runInlineTest ( {
162164 'package.json' : `{ "type": "module" }` ,
163165 'playwright.config.ts' : `
@@ -197,7 +199,8 @@ test('should show the codeframe in errors', async ({ runInlineTest }) => {
197199 expect ( result . output ) . toContain ( ' 11 | error.name = \'FooBarError\';' ) ;
198200} ) ;
199201
200- test ( 'should filter by line' , async ( { runInlineTest } ) => {
202+ test ( 'should filter by line' , async ( { runInlineTest, nodeVersion } ) => {
203+ test . fail ( nodeVersion . major >= 20 , 'https://github.com/microsoft/playwright/issues/22582' ) ;
201204 test . info ( ) . annotations . push ( { type : 'issue' , description : 'https://github.com/microsoft/playwright/issues/15200' } ) ;
202205 const result = await runInlineTest ( {
203206 'package.json' : `{ "type": "module" }` ,
@@ -346,7 +349,8 @@ test('should resolve no-extension import to .jsx file in ESM mode', async ({ run
346349 expect ( result . exitCode ) . toBe ( 0 ) ;
347350} ) ;
348351
349- test ( 'should resolve .js import to .tsx file in ESM mode for components' , async ( { runInlineTest } ) => {
352+ test ( 'should resolve .js import to .tsx file in ESM mode for components' , async ( { runInlineTest, nodeVersion } ) => {
353+ test . fail ( nodeVersion . major >= 20 , 'https://github.com/microsoft/playwright/issues/22582' ) ;
350354 const result = await runInlineTest ( {
351355 'package.json' : `{ "type": "module" }` ,
352356 'playwright.config.ts' : `
0 commit comments