Skip to content

Commit 4b279b5

Browse files
committed
test(nav): update nav tests to not navigate automatically
1 parent c38bc42 commit 4b279b5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/components/nav/test/child-navs/app-module.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class E2EApp {
1919
</ion-header>
2020
2121
<ion-content>
22-
<button ion-button color="primary" (click)="goToPage()" class="nested-children-test">
22+
<button ion-button color="primary" (click)="goToPage()" class="e2eChildNavsNested">
2323
Nested Children Test
2424
</button>
2525
</ion-content>
@@ -32,10 +32,6 @@ export class LandingPage {
3232
goToPage() {
3333
this.navCtrl.push(FirstPage);
3434
}
35-
36-
ionViewDidLoad() {
37-
this.goToPage();
38-
}
3935
}
4036

4137
@Component({
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
it('should go to nested children', function() {
3+
element(by.css('.e2eChildNavsNested')).click();
4+
});

src/components/nav/test/worst-case/e2e.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)