feat(toast): add ability to use toast inline (#26215)

This commit is contained in:
Amanda Johnston
2022-11-07 16:21:35 -06:00
committed by GitHub
parent 92b763a538
commit 003de44d92
12 changed files with 322 additions and 26 deletions

View File

@ -86,11 +86,11 @@ describe('Overlays', () => {
cy.get('ion-radio#controller').click();
cy.get('ion-button#present-overlay').click();
cy.get('ion-toast').should('exist');
cy.get('ion-toast.ion-toast-controller').should('exist');
cy.get('ion-toast').shadow().find('button').click();
cy.get('ion-toast.ion-toast-controller').shadow().find('button').click();
cy.get('ion-toast').should('not.exist');
cy.get('ion-toast.ion-toast-controller').should('not.exist');
});
it(`should open and close ion-alert via component`, () => {
@ -122,7 +122,7 @@ describe('Overlays', () => {
cy.get('ion-toast').shadow().find('button').click();
cy.get('ion-toast').should('not.exist');
cy.get('ion-toast').should('not.be.visible');
});
it('should pass props to modal via controller', () => {