mirror of
				https://github.com/mmumshad/ansible-playable.git
				synced 2025-03-09 23:38:54 +00:00 
			
		
		
		
	Initial Commit
This commit is contained in:
		
						commit
						c92f737237
					
				
					 273 changed files with 16964 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								e2e/components/navbar/navbar.po.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								e2e/components/navbar/navbar.po.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| /** | ||||
|  * This file uses the Page Object pattern to define the main page for tests | ||||
|  * https://docs.google.com/presentation/d/1B6manhG0zEXkC-H-tPo2vwU06JhL8w9-XCF9oehXzAQ
 | ||||
|  */ | ||||
| 
 | ||||
| 'use strict'; | ||||
| 
 | ||||
| var NavbarComponent = function() { | ||||
|   this.navbar = element(by.css('.navbar')); | ||||
|   this.navbarHeader = this.navbar.element(by.css('.navbar-header')); | ||||
|   this.navbarNav = this.navbar.element(by.css('#navbar-main .nav.navbar-nav:not(.navbar-right)')); | ||||
|   this.navbarAccount = this.navbar.element(by.css('#navbar-main .nav.navbar-nav.navbar-right')); | ||||
|   this.navbarAccountGreeting = this.navbarAccount.element(by.binding('getCurrentUser().name')); | ||||
| }; | ||||
| 
 | ||||
| module.exports = new NavbarComponent(); | ||||
							
								
								
									
										14
									
								
								e2e/components/oauth-buttons/oauth-buttons.po.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								e2e/components/oauth-buttons/oauth-buttons.po.js
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| /** | ||||
|  * This file uses the Page Object pattern to define the main page for tests | ||||
|  * https://docs.google.com/presentation/d/1B6manhG0zEXkC-H-tPo2vwU06JhL8w9-XCF9oehXzAQ
 | ||||
|  */ | ||||
| 
 | ||||
| 'use strict'; | ||||
| 
 | ||||
| var OauthButtons = function() { | ||||
|   var oauthButtons = this.oauthButtons = element(by.css('oauth-buttons')); | ||||
|   oauthButtons.facebook = oauthButtons.element(by.css('.btn.btn-social.btn-facebook')); | ||||
|   oauthButtons.google = oauthButtons.element(by.css('.btn.btn-social.btn-google')); | ||||
| }; | ||||
| 
 | ||||
| module.exports = new OauthButtons(); | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue