| 
									
										
										
										
											2016-10-06 23:25:52 +01:00
										 |  |  | 'use strict'; // necessary for es6 output in node 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import { browser, element, by } from 'protractor'; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-01 13:58:01 -07:00
										 |  |  | describe('Documentation StyleGuide E2E Tests', function() { | 
					
						
							| 
									
										
										
										
											2016-05-30 11:05:09 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-20 05:24:40 +02:00
										 |  |  |   let expectedMsg = 'My First Angular App'; | 
					
						
							| 
									
										
										
										
											2016-05-30 11:05:09 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-01 13:58:01 -07:00
										 |  |  |   beforeEach(function () { | 
					
						
							|  |  |  |     browser.get(''); | 
					
						
							| 
									
										
										
										
											2016-05-30 11:05:09 -07:00
										 |  |  |   }); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-01 13:58:01 -07:00
										 |  |  |   it('should display: ' + expectedMsg, function() { | 
					
						
							|  |  |  |     expect(element(by.id('output')).getText()).toEqual(expectedMsg); | 
					
						
							| 
									
										
										
										
											2016-05-30 11:05:09 -07:00
										 |  |  |   }); | 
					
						
							|  |  |  | }); |