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; + }