Skip to main content

Running tests

The test runner in the @ionic/e2e package supports running tests on multiple platforms, devices, and emulator/simulators. After you've written some tests, use the e2e script to run in your desired environment:

npm run e2e run ios:simulator

Currently, the accepted environments include ios:simulator, ios:device, ios:browser, android:emulator, android:device, android:browser, and web:chrome.