Search code examples
cordovaionic-frameworkappiumcrosswalk-runtimee2e-testing

E2E testing Ionic App with Crosswalk, Appium & Protractor Not working


Lately our Ionic app grew to a phase where we would like to add end to end automation tests. Problem arises when we try to use appium and our app is built upon crosswalk.

A quick search around finds that one requires to have the crosswalk-webdriver in order for the tests to work with crosswalk, but it is basically non existent/non compatible for windows/mac. Given this is the situation I was wondering:

Does anyone know how to solve this issue or perhaps a different e2e automating testing framework that does work with crosswalk thus enabling us to test our Ionic app?

Is there a workaround to release the app to android platform once with crosswalk and once without in parallel?


Solution

  • Workaround found for now, can finally start developing e2e tests with appium, crosswalk, protractor ionic.

    Thanks to piotrekkmt post on appiums github (https://github.com/appium/appium/issues/4597), he added a web driver supporting crosswalk with a short explanation for mac. If you got a mac, this could solve the inability to perform protractor tests with appium when working with crosswalk:

    https://github.com/piotrekkmt/chromedriver-appium