| 
									
										
										
										
											2016-10-04 20:39:20 -07:00
										 |  |  | /** | 
					
						
							|  |  |  |  * @license | 
					
						
							|  |  |  |  * Copyright Google Inc. All Rights Reserved. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * Use of this source code is governed by an MIT-style license that can be | 
					
						
							|  |  |  |  * found in the LICENSE file at https://angular.io/license
 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-08-30 09:29:39 -07:00
										 |  |  | // Make sure that the command line is read as the first thing
 | 
					
						
							|  |  |  | // as this could exit node if the help script should be printed.
 | 
					
						
							|  |  |  | require('./dist/all/e2e_util/e2e_util').readCommandLine(); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-05-01 22:54:19 -07:00
										 |  |  | exports.config = { | 
					
						
							| 
									
										
										
										
											2016-10-04 20:39:20 -07:00
										 |  |  |   onPrepare: function() { beforeEach(function() { browser.ignoreSynchronization = false; }); }, | 
					
						
							| 
									
										
										
										
											2016-05-01 22:54:19 -07:00
										 |  |  |   allScriptsTimeout: 11000, | 
					
						
							| 
									
										
										
										
											2016-10-04 20:39:20 -07:00
										 |  |  |   specs: ['dist/all/**/e2e_test/**/*_spec.js'], | 
					
						
							| 
									
										
										
										
											2019-01-08 12:43:53 +01:00
										 |  |  |   exclude: ['dist/all/@angular/examples/**'], | 
					
						
							| 
									
										
										
										
											2019-01-08 12:41:24 +01:00
										 |  |  |   capabilities: { | 
					
						
							|  |  |  |     'browserName': 'chrome', | 
					
						
							|  |  |  |     // Enables concurrent testing. Currently runs four e2e files in parallel.
 | 
					
						
							|  |  |  |     shardTestFiles: true, | 
					
						
							|  |  |  |     maxInstances: 4, | 
					
						
							|  |  |  |   }, | 
					
						
							| 
									
										
										
										
											2016-05-01 22:54:19 -07:00
										 |  |  |   directConnect: true, | 
					
						
							| 
									
										
										
										
											2016-05-24 12:33:14 -07:00
										 |  |  |   baseUrl: 'http://localhost:8000/', | 
					
						
							| 
									
										
										
										
											2016-05-01 22:54:19 -07:00
										 |  |  |   framework: 'jasmine2', | 
					
						
							| 
									
										
										
										
											2016-10-04 20:39:20 -07:00
										 |  |  |   jasmineNodeOpts: | 
					
						
							|  |  |  |       {showColors: true, defaultTimeoutInterval: 60000, print: function(msg) { console.log(msg) }}, | 
					
						
							|  |  |  |   useAllAngular2AppRoots: true, | 
					
						
							| 
									
										
										
										
											2016-05-01 22:54:19 -07:00
										 |  |  | }; |