mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	docs: discourage test lists (#22125)
Fixes https://github.com/microsoft/playwright/issues/22109
This commit is contained in:
		
							parent
							
								
									47c669caf2
								
							
						
					
					
						commit
						e86b0cf0ce
					
				@ -175,6 +175,10 @@ When you **disable parallel test execution**, Playwright Test runs test files in
 | 
			
		||||
 | 
			
		||||
### Use a "test list" file
 | 
			
		||||
 | 
			
		||||
:::warning
 | 
			
		||||
Tests lists are discouraged and supported as a best-effort only. Some fetures such as VS Code Extension and tracing may not work properly with test lists.
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
You can put your tests in helper functions in multiple files. Consider the following example where tests are not defined directly in the file, but rather in a wrapper function.
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user