mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
test(nav): update nav tests to not navigate automatically
This commit is contained in:
@ -19,7 +19,7 @@ export class E2EApp {
|
|||||||
</ion-header>
|
</ion-header>
|
||||||
|
|
||||||
<ion-content>
|
<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
|
Nested Children Test
|
||||||
</button>
|
</button>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
@ -32,10 +32,6 @@ export class LandingPage {
|
|||||||
goToPage() {
|
goToPage() {
|
||||||
this.navCtrl.push(FirstPage);
|
this.navCtrl.push(FirstPage);
|
||||||
}
|
}
|
||||||
|
|
||||||
ionViewDidLoad() {
|
|
||||||
this.goToPage();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
it('should go to nested children', function() {
|
||||||
|
element(by.css('.e2eChildNavsNested')).click();
|
||||||
|
});
|
||||||
|
Reference in New Issue
Block a user