mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(vue): ion-tab-bar no longer throws undefined error when re-creating tabs (#22261)
resolves #22255
This commit is contained in:
19
packages/vue/test-app/tests/e2e/specs/tabs.js
Normal file
19
packages/vue/test-app/tests/e2e/specs/tabs.js
Normal 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');
|
||||
});
|
||||
})
|
Reference in New Issue
Block a user