fix(vue): ion-tab-bar no longer throws undefined error when re-creating tabs (#22261)

resolves #22255
This commit is contained in:
Liam DeBeasi
2020-10-07 09:37:25 -04:00
committed by GitHub
parent 2bad1bb82e
commit d746561ea2
4 changed files with 33 additions and 11 deletions

View File

@ -0,0 +1,19 @@
describe('Tabs', () => {
beforeEach(() => {
cy.visit('http://localhost:8080')
})
it('should be able to create and destroy tabs', () => {
cy.get('#tabs').click();
cy.ionPageVisible('tab1');
cy.ionBackClick('tab1');
cy.ionPageDoesNotExist('tabs');
cy.get('#tabs').click();
cy.ionPageVisible('tab1');
cy.ionBackClick('tab1');
cy.ionPageDoesNotExist('tabs');
});
})