| 
									
										
										
										
											2016-11-05 13:12:11 -07:00
										 |  |  | 'use strict'; // necessary for es6 output in node
 | 
					
						
							| 
									
										
										
										
											2016-10-06 23:25:52 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | import { browser, element, by } from 'protractor'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-10-15 21:51:13 -07:00
										 |  |  | describe('QuickStart E2E Tests', function () { | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-11-21 17:13:21 -08:00
										 |  |  |   let expectedMsg = 'Hello Angular'; | 
					
						
							| 
									
										
										
										
											2015-10-15 21:51:13 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-12-20 13:17:16 -08:00
										 |  |  |   beforeEach(function () { | 
					
						
							|  |  |  |     browser.get(''); | 
					
						
							|  |  |  |   }); | 
					
						
							| 
									
										
										
										
											2015-08-08 13:55:53 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-01 18:11:58 +02:00
										 |  |  |   it(`should display: ${expectedMsg}`, function () { | 
					
						
							| 
									
										
										
										
											2015-12-20 13:17:16 -08:00
										 |  |  |     expect(element(by.css('h1')).getText()).toEqual(expectedMsg); | 
					
						
							|  |  |  |   }); | 
					
						
							| 
									
										
										
										
											2015-08-03 17:45:58 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-10-15 21:51:13 -07:00
										 |  |  | }); |