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: hide test server related cli commands (#29532)
Pavel Feldman4f1d8cdd63d0
diff --git a/packages/playwright/src/program.ts b/packages/playwright/src/program.tsindex 20c1e93533..64c00d9db6 100644--- a/packages/playwright/src/program.ts+++ b/packages/playwright/src/program.ts@@ -70,7 +70,7 @@ function addListFilesCommand(program: Command) {}function addClearCacheCommand(program: Command) {- const command = program.command('clear-cache');+ const command = program.command('clear-cache', { hidden: true });command.description('clears build and test caches');command.option('-c, --config <file>', `Configuration file, or a test directory with optional "playwright.config.{m,c}?{js,ts}"`);command.action(async opts => {@@ -98,7 +98,7 @@ export async function removeFolder(folder: string) {}function addFindRelatedTestFilesCommand(program: Command) {- const command = program.command('find-related-test-files [source-files...]');+ const command = program.command('find-related-test-files [source-files...]', { hidden: true });command.description('Returns the list of related tests to the given files');command.option('-c, --config <file>', `Configuration file, or a test directory with optional "playwright.config.{m,c}?{js,ts}"`);command.action(async (files, options) => {