From 0e2ac933826dc53f866bf76919bf0be3f7983396 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Tue, 6 Oct 2015 12:15:13 -0500 Subject: [PATCH] e2e test updates --- ionic/components/tabs/test/advanced/e2e.ts | 10 +++++----- ionic/components/tabs/test/tab-bar-scenarios/main.html | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ionic/components/tabs/test/advanced/e2e.ts b/ionic/components/tabs/test/advanced/e2e.ts index 1a8876aa6c..c5fd91320b 100644 --- a/ionic/components/tabs/test/advanced/e2e.ts +++ b/ionic/components/tabs/test/advanced/e2e.ts @@ -7,14 +7,14 @@ it('should go to Tab1 Page2', function() { element(by.css('#goToTab1Page2')).click(); }); +it('should go back to Tab1 Page1', function() { + element(by.css('#backToTab1Page1')).click(); +}); + it('should go to Tab2 Page1', function() { element(by.css('.tab-button:nth-of-type(2)')).click(); }); -it('should go back to Tab1 Page2', function() { +it('should go back to Tab1 Page1', function() { element(by.css('.tab-button:nth-of-type(1)')).click(); }); - -it('should go back to Tab1 Page1', function() { - element(by.css('#backToTab1Page1')).click(); -}); diff --git a/ionic/components/tabs/test/tab-bar-scenarios/main.html b/ionic/components/tabs/test/tab-bar-scenarios/main.html index 22e09da14e..a48df66e70 100644 --- a/ionic/components/tabs/test/tab-bar-scenarios/main.html +++ b/ionic/components/tabs/test/tab-bar-scenarios/main.html @@ -66,4 +66,7 @@ height: auto; border-top: 1px solid gray; } + ion-tabs .navbar-container { + display: none; + }