@@ -88,7 +88,7 @@ test('init claude agents', async ({ }) => {
8888 expect ( fs . existsSync ( path . join ( baseDir , '.claude' , 'agents' , 'playwright-test-generator.md' ) ) ) . toBe ( true ) ;
8989
9090 const healer = fs . readFileSync ( path . join ( baseDir , '.claude' , 'agents' , 'playwright-test-healer.md' ) , 'utf-8' ) ;
91- expect ( healer ) . toContain ( 'Run all tests using mcp__playwright-test__test_run tool' ) ;
91+ expect ( healer ) . toContain ( 'Run all tests using test_run tool' ) ;
9292} ) ;
9393
9494test ( 'init vscode agents' , async ( { } ) => {
@@ -106,8 +106,8 @@ test('init vscode agents', async ({ }) => {
106106 expect ( fs . existsSync ( path . join ( baseDir , '.github' , 'chatmodes' , ' 🎭 planner.chatmode.md' ) ) ) . toBe ( true ) ;
107107
108108 const healer = fs . readFileSync ( path . join ( baseDir , '.github' , 'chatmodes' , '🎭 healer.chatmode.md' ) , 'utf-8' ) ;
109- expect ( healer ) . toContain ( 'Run all tests using playwright-test/ test_run tool' ) ;
110- expect ( healer ) . toContain ( 'For each failing test run playwright-test/ test_debug' ) ;
109+ expect ( healer ) . toContain ( 'Run all tests using test_run tool' ) ;
110+ expect ( healer ) . toContain ( 'For each failing test run test_debug' ) ;
111111
112112 expect ( fs . existsSync ( path . join ( baseDir , '.vscode' , 'mcp.json' ) ) ) . toBe ( true ) ;
113113} ) ;
@@ -127,7 +127,7 @@ test('init opencode agents', async ({ }) => {
127127 expect ( fs . existsSync ( path . join ( baseDir , '.opencode' , 'prompts' , 'playwright-test-generator.md' ) ) ) . toBe ( true ) ;
128128
129129 const healer = fs . readFileSync ( path . join ( baseDir , '.opencode' , 'prompts' , 'playwright-test-healer.md' ) , 'utf-8' ) ;
130- expect ( healer ) . toContain ( 'Run all tests using playwright-test* test_run tool' ) ;
130+ expect ( healer ) . toContain ( 'Run all tests using test_run tool' ) ;
131131
132132 expect ( fs . existsSync ( path . join ( baseDir , 'opencode.json' ) ) ) . toBe ( true ) ;
133133} ) ;
0 commit comments