@@ -187,23 +187,3 @@ test('is proper yarn berry', async ({ packageManager, exec }) => {
187
187
expect ( result . stdout ) . toMatch ( / ^ 4 \. / ) ;
188
188
} ) ;
189
189
190
- test ( 'should default GitHub Actions to true when accepting default' , async ( { run, dir } ) => {
191
- // This tests the new default behavior - GitHub Actions should be created when user accepts the default
192
- await run ( [ ] , { installGitHubActions : true , testDir : 'tests' , language : 'TypeScript' , installPlaywrightDependencies : false , installPlaywrightBrowsers : false } ) ;
193
-
194
- // Verify GitHub Actions workflow was created
195
- expect ( fs . existsSync ( path . join ( dir , '.github/workflows/playwright.yml' ) ) ) . toBeTruthy ( ) ;
196
-
197
- // Verify the workflow file contains expected content
198
- const workflowContent = fs . readFileSync ( path . join ( dir , '.github/workflows/playwright.yml' ) , 'utf8' ) ;
199
- expect ( workflowContent ) . toContain ( 'name: Playwright Tests' ) ;
200
- expect ( workflowContent ) . toContain ( 'npx playwright test' ) ;
201
- } ) ;
202
-
203
- test ( 'should allow opting out of GitHub Actions despite default being true' , async ( { run, dir } ) => {
204
- // This tests that users can still opt out even though the default is now true
205
- await run ( [ ] , { installGitHubActions : false , testDir : 'tests' , language : 'TypeScript' , installPlaywrightDependencies : false , installPlaywrightBrowsers : false } ) ;
206
-
207
- // Verify GitHub Actions workflow was NOT created when user opts out
208
- expect ( fs . existsSync ( path . join ( dir , '.github/workflows/playwright.yml' ) ) ) . toBeFalsy ( ) ;
209
- } ) ;
0 commit comments