test(nav): update nav tests to not navigate automatically

This commit is contained in:
Brandy Carney
2016-12-14 16:58:47 -05:00
parent c38bc42425
commit 4b279b5101
3 changed files with 5 additions and 5 deletions

View File

@ -19,7 +19,7 @@ export class E2EApp {
</ion-header>
<ion-content>
<button ion-button color="primary" (click)="goToPage()" class="nested-children-test">
<button ion-button color="primary" (click)="goToPage()" class="e2eChildNavsNested">
Nested Children Test
</button>
</ion-content>
@ -32,10 +32,6 @@ export class LandingPage {
goToPage() {
this.navCtrl.push(FirstPage);
}
ionViewDidLoad() {
this.goToPage();
}
}
@Component({

View File

@ -0,0 +1,4 @@
it('should go to nested children', function() {
element(by.css('.e2eChildNavsNested')).click();
});