| 
									
										
										
										
											2019-05-09 15:56:24 -05:00
										 |  |  | // @ts-check
 | 
					
						
							| 
									
										
										
										
											2017-08-22 21:31:15 +02:00
										 |  |  | // Protractor configuration file, see link for more information
 | 
					
						
							|  |  |  | // https://github.com/angular/protractor/blob/master/lib/config.ts
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-09-21 20:52:26 +03:00
										 |  |  | const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter'); | 
					
						
							| 
									
										
										
										
											2017-08-22 21:31:15 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-09 15:56:24 -05:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @type { import("protractor").Config } | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2017-08-22 21:31:15 +02:00
										 |  |  | exports.config = { | 
					
						
							|  |  |  |   allScriptsTimeout: 11000, | 
					
						
							|  |  |  |   specs: [ | 
					
						
							| 
									
										
										
										
											2018-09-07 07:39:58 -05:00
										 |  |  |     './src/**/*.e2e-spec.ts' | 
					
						
							| 
									
										
										
										
											2017-08-22 21:31:15 +02:00
										 |  |  |   ], | 
					
						
							|  |  |  |   capabilities: { | 
					
						
							| 
									
										
										
										
											2020-03-17 22:28:45 +02:00
										 |  |  |     browserName: 'chrome' | 
					
						
							| 
									
										
										
										
											2017-08-22 21:31:15 +02:00
										 |  |  |   }, | 
					
						
							|  |  |  |   directConnect: true, | 
					
						
							| 
									
										
										
										
											2020-11-23 20:17:10 +02:00
										 |  |  |   SELENIUM_PROMISE_MANAGER: false, | 
					
						
							| 
									
										
										
										
											2017-08-22 21:31:15 +02:00
										 |  |  |   baseUrl: 'http://localhost:4200/', | 
					
						
							|  |  |  |   framework: 'jasmine', | 
					
						
							|  |  |  |   jasmineNodeOpts: { | 
					
						
							|  |  |  |     showColors: true, | 
					
						
							|  |  |  |     defaultTimeoutInterval: 30000, | 
					
						
							|  |  |  |     print: function() {} | 
					
						
							|  |  |  |   }, | 
					
						
							|  |  |  |   onPrepare() { | 
					
						
							|  |  |  |     require('ts-node').register({ | 
					
						
							| 
									
										
										
										
											2019-05-09 15:56:24 -05:00
										 |  |  |       project: require('path').join(__dirname, './tsconfig.json') | 
					
						
							| 
									
										
										
										
											2017-08-22 21:31:15 +02:00
										 |  |  |     }); | 
					
						
							| 
									
										
										
										
											2020-09-21 20:52:26 +03:00
										 |  |  |     jasmine.getEnv().addReporter(new SpecReporter({ | 
					
						
							|  |  |  |       spec: { | 
					
						
							|  |  |  |         displayStacktrace: StacktraceOption.PRETTY | 
					
						
							|  |  |  |       } | 
					
						
							|  |  |  |     })); | 
					
						
							| 
									
										
										
										
											2017-08-22 21:31:15 +02:00
										 |  |  |   } | 
					
						
							| 
									
										
										
										
											2018-09-07 07:39:58 -05:00
										 |  |  | }; |