Skip to content

Commit 097ca5f

Browse files
authored
chore: disable /playwright/.auth dir (#153)
1 parent 9bc8e8f commit 097ca5f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/generator.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ export class Generator {
278278
'/test-results/': /^\/?test-results\/?$/m,
279279
'/playwright-report/': /^\/playwright-report\/?$/m,
280280
'/blob-report/': /^\/blob-report\/?$/m,
281-
'/playwright/.cache/': /^\/playwright\/\.cache\/?$/m
281+
'/playwright/.cache/': /^\/playwright\/\.cache\/?$/m,
282+
'/playwright/.auth/': /^\/playwright\/\.auth\/?$/m,
282283
};
283284
Object.entries(valuesToAdd).forEach(([value, regex]) => {
284285
if (!gitIgnore.match(regex)) {

tests/integration.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const validGitignore = [
2424
'/playwright-report/',
2525
'/blob-report/',
2626
'/playwright/.cache/',
27+
'/playwright/.auth/'
2728
].join('\n');
2829

2930
test('should generate a project in the current directory', async ({ run, dir, packageManager }) => {

0 commit comments

Comments
 (0)