Last active
October 12, 2021 20:39
-
-
Save filiphric/84b89265f8c948523e43f686ae68c66d to your computer and use it in GitHub Desktop.
Viewing an app on touch device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it('touch device', () => { | |
cy.visit('/', { | |
onBeforeLoad: (win) => { | |
win.ontouchstart = true | |
} | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment