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:
Liam DeBeasi
2022-07-19 09:28:10 -04:00
committed by GitHub
parent b7afcb0f0c
commit 7ec3683e94
10 changed files with 363 additions and 52 deletions

View File

@ -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');
});
});