mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
fix(react): swipe to go back gesture works on ios (#25563)
resolves #22342 Co-authored-by: masonicboom <masonicboom@users.noreply.github.com>
This commit is contained in:
@ -102,7 +102,7 @@ Cypress.Commands.add('ionMenuNav', (contains) => {
|
||||
|
||||
Cypress.Commands.add('ionTabClick', (tabText) => {
|
||||
// TODO: figure out how to get rid of this wait. Switching tabs after a forward nav to a details page needs it
|
||||
cy.wait(250);
|
||||
cy.wait(500);
|
||||
cy.contains('ion-tab-button', tabText).click({ force: true });
|
||||
// cy.get('ion-tab-button.tab-selected').contains(tabText)
|
||||
});
|
||||
@ -126,4 +126,4 @@ Cypress.Commands.add('ionMenuClick', () => {
|
||||
|
||||
Cypress.Commands.add('ionHardwareBackEvent', () => {
|
||||
cy.document().trigger('backbutton');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user