mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(angular): add lazy loading tabs test
This commit is contained in:
committed by
Manu MA
parent
509cfd54aa
commit
f0ef061a6b
@@ -68,6 +68,10 @@ describe('tabs', () => {
|
||||
await testStack('ion-tabs ion-router-outlet', ['app-tabs-tab2', 'app-tabs-tab1-nested']);
|
||||
});
|
||||
|
||||
it('should load lazy loaded tab', async () => {
|
||||
await element(by.css('#tab-button-lazy')).click();
|
||||
await testTabTitle('Tab 3 - Page 1');
|
||||
});
|
||||
});
|
||||
|
||||
async function testTabTitle(title: string) {
|
||||
|
||||
Reference in New Issue
Block a user