mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +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-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({
|
||||
|
@ -0,0 +1,4 @@
|
||||
|
||||
it('should go to nested children', function() {
|
||||
element(by.css('.e2eChildNavsNested')).click();
|
||||
});
|
||||
|
Reference in New Issue
Block a user