Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore: do not create dummy config file in tests (#20935)
Dmitry Gozman6f140d79d457
diff --git a/tests/playwright-test/playwright-test-fixtures.ts b/tests/playwright-test/playwright-test-fixtures.tsindex 26c7bb0a0a..507e707667 100644--- a/tests/playwright-test/playwright-test-fixtures.ts+++ b/tests/playwright-test/playwright-test-fixtures.ts@@ -60,15 +60,6 @@ type Params = { [key: string]: string | number | boolean | string[] };async function writeFiles(testInfo: TestInfo, files: Files, initial: boolean) {const baseDir = testInfo.outputPath();- const hasConfig = Object.keys(files).some(name => name.includes('.config.'));- if (initial && !hasConfig) {- files = {- ...files,- 'playwright.config.ts': `- module.exports = { projects: [ {} ] };- `,- };- }if (initial && !Object.keys(files).some(name => name.includes('package.json'))) {files = {...files,