| 
									
										
										
										
											2016-06-16 02:01:03 +01:00
										 |  |  | /// <reference path='../_protractor/e2e.d.ts' /> | 
					
						
							|  |  |  | 'use strict'; | 
					
						
							| 
									
										
										
										
											2016-06-10 13:50:16 +02:00
										 |  |  | describe('QuickStart E2E Tests', function () { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   let expectedMsg = 'Hello from Angular 2 App with Webpack'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   beforeEach(function () { | 
					
						
							|  |  |  |     browser.get(''); | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   it(`should display: ${expectedMsg}`, function () { | 
					
						
							|  |  |  |     expect(element(by.css('h1')).getText()).toEqual(expectedMsg); | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   it('should display an image', function () { | 
					
						
							|  |  |  |     expect(element(by.css('img')).isPresent()).toBe(true); | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }); |