| 
									
										
										
										
											2021-06-06 17:09:53 -07:00
										 |  |  | /** | 
					
						
							|  |  |  |  * Copyright (c) Microsoft Corporation. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Licensed under the Apache License, Version 2.0 (the "License"); | 
					
						
							|  |  |  |  * you may not use this file except in compliance with the License. | 
					
						
							|  |  |  |  * You may obtain a copy of the License at | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * http://www.apache.org/licenses/LICENSE-2.0
 | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Unless required by applicable law or agreed to in writing, software | 
					
						
							|  |  |  |  * distributed under the License is distributed on an "AS IS" BASIS, | 
					
						
							|  |  |  |  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
					
						
							|  |  |  |  * See the License for the specific language governing permissions and | 
					
						
							|  |  |  |  * limitations under the License. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-09-03 11:22:25 -07:00
										 |  |  | import { Config } from './stable-test-runner'; | 
					
						
							| 
									
										
										
										
											2021-06-06 17:09:53 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | const config: Config = { | 
					
						
							|  |  |  |   testDir: __dirname, | 
					
						
							| 
									
										
										
										
											2021-09-03 11:22:25 -07:00
										 |  |  |   testIgnore: ['assets/**', 'stable-test-runner/**'], | 
					
						
							| 
									
										
										
										
											2021-06-08 15:52:08 -07:00
										 |  |  |   timeout: 30000, | 
					
						
							| 
									
										
										
										
											2021-06-06 17:09:53 -07:00
										 |  |  |   forbidOnly: !!process.env.CI, | 
					
						
							| 
									
										
										
										
											2022-01-25 10:11:44 -08:00
										 |  |  |   workers: process.env.CI ? 1 : undefined, | 
					
						
							| 
									
										
										
										
											2021-06-16 16:05:30 -07:00
										 |  |  |   preserveOutput: process.env.CI ? 'failures-only' : 'always', | 
					
						
							| 
									
										
										
										
											2021-11-03 15:26:18 -07:00
										 |  |  |   projects: process.env.PLAYWRIGHT_DOCKER ? [ | 
					
						
							|  |  |  |     { name: 'visual tests', testMatch: ['*.visual.ts'] }, | 
					
						
							|  |  |  |   ] : [ | 
					
						
							|  |  |  |     { name: 'playwright-test', testIgnore: ['*.visual.ts'] }, | 
					
						
							|  |  |  |   ], | 
					
						
							| 
									
										
										
										
											2021-06-06 17:09:53 -07:00
										 |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export default config; |