mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 10:41:13 +08:00
18 lines
397 B
JavaScript
18 lines
397 B
JavaScript
const port = 3000;
|
|
|
|
describe('Swipe To Go Back', () => {
|
|
/*
|
|
This spec tests that swipe to go back works
|
|
*/
|
|
|
|
it('/swipe-to-go-back, ', () => {
|
|
cy.visit(`http://localhost:${port}/swipe-to-go-back`);
|
|
cy.ionPageVisible('main');
|
|
cy.ionNav('ion-item', 'Details');
|
|
cy.ionPageVisible('details');
|
|
cy.wait(350);
|
|
cy.ionSwipeRight();
|
|
cy.ionPageVisible('main');
|
|
});
|
|
});
|