Skip to content

Example ReactJS App for Ionic v6 E2E Testing using WebdriverIO and Appium to Test On Device

Notifications You must be signed in to change notification settings

ptmkenny/ionic-e2e-react-webdriverio-appium

 
 

Repository files navigation

ionic-e2e-react-webdriverio-appium

Example ReactJS App for Ionic v6 E2E Testing using WebdriverIO and Appium to Test On Device

Overview

Looking to integrate e2e testing a an ionic-framework application and the sample provided by Ionic in written in Angular and it is based on cordova and not capacitor so I have started this project to figure things out

  • sample based on the list template provided by ionic
  • source code is in react js
  • tests currently work in android emulator and in the webbrowser
  • This still a work in progress but it is based on latest versions on Ionic and Capacitor so it shoul get on started better than the other sample
  • The project hasn't been cleaned up, there are still some artifacts from the original Ionic Project

IOS Quirk

For the application path for the IOS application, you will need to manually set that based on the specific device/emulator that are deploying to. unlike android it appears that the IOS build is directly to the device.

if you look at line 32 in the wdio.ios.config.ts you will see the path that you will need to change. To get the specific path i have run the build command with the --verbose flag to output the appropriate information

ionic capacitor run ios --target 1DB27F13-4EF3-4D45-A67B-88C69B53EF84 --verbose

References

About

Example ReactJS App for Ionic v6 E2E Testing using WebdriverIO and Appium to Test On Device

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 82.5%
  • CSS 9.9%
  • Swift 4.1%
  • Java 1.5%
  • HTML 1.1%
  • Ruby 0.9%