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
feat(playwright-test): scan the world (#6935)
Joel Einbinder93f6b57ca5a6
diff --git a/src/test/cli.ts b/src/test/cli.tsindex a5d3a83dd7..464148e35e 100644--- a/src/test/cli.ts+++ b/src/test/cli.ts@@ -122,8 +122,8 @@ async function runTests(args: string[], opts: { [key: string]: any }) {}} else if (!loadConfig(path.resolve(process.cwd(), tsConfig)) && !loadConfig(path.resolve(process.cwd(), jsConfig))) {// No --config option, let's look for the config file in the current directory.- // If not, do not assume that current directory is a root testing directory, to avoid scanning the world.- throw new Error(`Configuration file not found. Run "npx playwright test --help" for more information.`);+ // If not, scan the world.+ runner.loadEmptyConfig(process.cwd());}const result = await runner.run(!!opts.list, args.map(forceRegExp), opts.project || undefined);