Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. !doctype html>
  2. <html lang="en" ng-app="phonecatApp">
  3. <head>
  4. <meta charset="utf-8">
  5.  
  6. <title class="appTitle">Google Phone Gallery</title>
  7.  
  8. <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.css">
  9. <link rel="stylesheet" href="css/app.css">
  10. <link rel="stylesheet" href="css/animations.css">
  11.  
  12. <script src="../bower_components/jquery/jquery.js"></script>
  13. <script src="../bower_components/angular/angular.js"></script>
  14. <script src="../bower_components/angular-animate/angular-animate.js"></script>
  15. <script src="../bower_components/angular-route/angular-route.js"></script>
  16. <script src="../bower_components/angular-resource/angular-resource.js"></script>
  17. <script src="js/app.js"></script>
  18. <script src="js/animations.js"></script>
  19. <script src="js/controllers.js"></script>
  20. <script src="js/filters.js"></script>
  21. <script src="js/services.js"></script>
  22. </head>
  23. <body>
  24.  
  25. <div class="test">Some Text</div>
  26.  
  27. <div class="view-container">
  28. <div ng-view class="view-frame"></div>
  29. </div>
  30. </body>
  31. </html>
  32.  
  33. it('should set the title to "Google Phone Gallery"', function () {
  34. expect(element(by.css('.appTitle')).getText()).toBe('Google Phone Gallery');
  35. });
  36.  
  37.  
  38. it('should set the div.test to "Some Text"', function () {
  39. expect(element(by.css('.test')).getText()).toBe('Some Text');
  40. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement