jest-puppeteer icon indicating copy to clipboard operation
jest-puppeteer copied to clipboard

Adding toTap to support applications built for touch screen (or for example applications that were built

Open ryanphung opened this issue 4 years ago • 1 comments

🚀 Feature Proposal

Adding support for touch screen.

Motivation

For testing of apps built for touch screen, or apps that were built with react-native-web.

Example

await expect(page).toTap('button', { text: 'Home' })

Pitch

If we add touch screen support it will make Jest Puppeteer available to a huge community of mobile and tablet web app developers. Surprised that I couldn't find a lot of discussion on this.

I'm happy to start with a PR to add support for toTap, as a start.

ryanphung avatar Sep 21 '20 06:09 ryanphung

A PR would be a appreciated. 👌

UziTech avatar Apr 08 '21 23:04 UziTech

There is not lot of traction on this issue, also we will move away from expect-puppeteer in favor of other solutions. So I close it.

gregberge avatar Mar 08 '23 12:03 gregberge