mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
19 lines
391 B
JavaScript
19 lines
391 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')
|
|
})
|
|
|
|
})
|