Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70817

Testing using Playwright device emulation with push notifications

$
0
0

Is anyone using Playwright to test their app that has support for push notifications?

I’ve got a react app that uses the Local Notifications and Push Notifications Capacitor v3 plugins.

Whenever I use Playwright’s device emulation mode, I get a fatal error: “Notifications not supported in this browser.”

Since this error crashes my app, I can’t use the device emulation to run tests (I can emulate desktops fine, but obviously for a mobile app testing with emulated mobile devices is better than desktops).

If anybody has this working, I’d love to hear how you did it.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 70817

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>