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: rename default config to match extension pattern (#11446)
Pavel Feldmandb0cda9df5c9
diff --git a/package.json b/package.jsonindex 154a0e2f5e..e01330b81c 100644--- a/package.json+++ b/package.json@@ -13,15 +13,15 @@},"license": "Apache-2.0","scripts": {- "ctest": "playwright test --config=tests/config/default.config.ts --project=chromium",- "ftest": "playwright test --config=tests/config/default.config.ts --project=firefox",- "wtest": "playwright test --config=tests/config/default.config.ts --project=webkit",+ "ctest": "playwright test --config=tests/config/default.playwright.config.ts --project=chromium",+ "ftest": "playwright test --config=tests/config/default.playwright.config.ts --project=firefox",+ "wtest": "playwright test --config=tests/config/default.playwright.config.ts --project=webkit","atest": "playwright test --config=tests/config/android.config.ts","etest": "playwright test --config=tests/config/electron.config.ts","htest": "cross-env PW_COMPONENT_TESTING=1 playwright test --config=packages/html-reporter","ttest": "node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright-test.config.ts","vtest": "cross-env PLAYWRIGHT_DOCKER=1 node ./tests/playwright-test/stable-test-runner/node_modules/@playwright/test/cli test --config=tests/playwright-test/playwright-test.config.ts",- "test": "playwright test --config=tests/config/default.config.ts",+ "test": "playwright test --config=tests/config/default.playwright.config.ts","eslint": "eslint --ext ts,tsx .","tsc": "tsc -p .","build-installer": "babel -s --extensions \".ts\" --out-dir packages/playwright-core/lib/utils/ packages/playwright-core/src/utils",diff --git a/tests/config/default.config.ts b/tests/config/default.playwright.config.tssimilarity index 99%rename from tests/config/default.config.tsrename to tests/config/default.playwright.config.tsindex 118b472d02..4a9c5c967d 100644--- a/tests/config/default.config.ts+++ b/tests/config/default.playwright.config.ts@@ -14,8 +14,6 @@* limitations under the License.*/-// @playwright.config-import type { Config, PlaywrightTestOptions, PlaywrightWorkerOptions } from '@playwright/test';import * as path from 'path';import { TestModeWorkerOptions } from './testModeFixtures';