mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	docs(cli): typo in --debug flag (#17455)
This commit is contained in:
		
							parent
							
								
									cd650c0515
								
							
						
					
					
						commit
						29ff00ead2
					
				| @ -73,7 +73,7 @@ Complete set of Playwright Test options is available in the [configuration file] | |||||||
| 
 | 
 | ||||||
| - `--browser`: Run test in a specific browser. Available options are  `"chromium"`, `"firefox"`, `"webkit"` or `"all"` to run tests in all three browsers at the same time. | - `--browser`: Run test in a specific browser. Available options are  `"chromium"`, `"firefox"`, `"webkit"` or `"all"` to run tests in all three browsers at the same time. | ||||||
| 
 | 
 | ||||||
| - `--debug`: Run tests with Playwright Inspector. Shortcut for `PWDEBUG=1` environment variable and `--timeout=0 --maxFailures=1 --headed --workers=1` options. | - `--debug`: Run tests with Playwright Inspector. Shortcut for `PWDEBUG=1` environment variable and `--timeout=0 --max-failures=1 --headed --workers=1` options. | ||||||
| 
 | 
 | ||||||
| - `-c <file>` or `--config <file>`: Configuration file. If not passed, defaults to `playwright.config.ts` or `playwright.config.js` in the current directory. | - `-c <file>` or `--config <file>`: Configuration file. If not passed, defaults to `playwright.config.ts` or `playwright.config.js` in the current directory. | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -92,7 +92,7 @@ function addTestCommand(program: Command) { | |||||||
|   command.description('run tests with Playwright Test'); |   command.description('run tests with Playwright Test'); | ||||||
|   command.option('--browser <browser>', `Browser to use for tests, one of "all", "chromium", "firefox" or "webkit" (default: "chromium")`); |   command.option('--browser <browser>', `Browser to use for tests, one of "all", "chromium", "firefox" or "webkit" (default: "chromium")`); | ||||||
|   command.option('--headed', `Run tests in headed browsers (default: headless)`); |   command.option('--headed', `Run tests in headed browsers (default: headless)`); | ||||||
|   command.option('--debug', `Run tests with Playwright Inspector. Shortcut for "PWDEBUG=1" environment variable and "--timeout=0 --maxFailures=1 --headed --workers=1" options`); |   command.option('--debug', `Run tests with Playwright Inspector. Shortcut for "PWDEBUG=1" environment variable and "--timeout=0 --max-failures=1 --headed --workers=1" options`); | ||||||
|   command.option('-c, --config <file>', `Configuration file, or a test directory with optional ${kDefaultConfigFiles.map(file => `"${file}"`).join('/')}`); |   command.option('-c, --config <file>', `Configuration file, or a test directory with optional ${kDefaultConfigFiles.map(file => `"${file}"`).join('/')}`); | ||||||
|   command.option('--forbid-only', `Fail if test.only is called (default: false)`); |   command.option('--forbid-only', `Fail if test.only is called (default: false)`); | ||||||
|   command.option('--fully-parallel', `Run all tests in parallel (default: false)`); |   command.option('--fully-parallel', `Run all tests in parallel (default: false)`); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Bastian
						Bastian