Skip to content

Commit f6b666f

Browse files
committed
remove test
1 parent 83b0d2d commit f6b666f

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

tests/integration.spec.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -187,23 +187,3 @@ test('is proper yarn berry', async ({ packageManager, exec }) => {
187187
expect(result.stdout).toMatch(/^4\./);
188188
});
189189

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

Comments
 (0)