Run web test (WebdriverIO) and ios app test (Appium) within the same test
See original GitHub issueWhat are you trying to achieve?
I am trying to automate test cases where I have to do some stuff in the mobile app then move to a desktop browser and do other stuff.
Things that I have tried so far
Set both Appium and WebdriverIO as helpers
- Mobile tests works fine but when I get to the browser part, I get a
Method is not implemented
error forI.amOnPage('/')
. Note that I already have existing browser test cases that I wish to reuse.
Set Appium only as helper and pass url config(since the Appium driver only extends Webdriver)
- Mobile tests works, then opens a browser within the Simulator.
I have noticed that it is always using the Appium driver, thus getting the error mentioned above. Is there a way to switch drivers? if there aren’t any, what do you think is the best solution aside from rewriting the test cases themselves?
- CodeceptJS version: 1.1.4
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:17
Top Results From Across the Web
Run web test (WebdriverIO) and ios app test (Appium ... - GitHub
I am trying to automate test cases where I have to do some stuff in the mobile app then move to a desktop...
Read more >Mobile e2e tests using WebdriverIO and Appium
These tests are based on a user's perspective. You put in the shoes of the final user and start the app, and tap...
Read more >Mobile Automation Testing using WebdriverIO - YouTube
... # appium # webdriverio Get started with Mobile Automation Testing ... to find elements for both iOS & Android apps - Working...
Read more >Running Tests - Appium
Running your test app with Appium (iOS) ... Basically, first make sure Appium is running: node . Then script your WebDriver test, sending...
Read more >How to automate mobile and web app e2e tests in a single ...
Currently, I can start both browser and mobile app automation at the same time by adding separate configuration files for the iOS app....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah it was just a quick proof of concept so it appears that it doesn’t support page objects.
Though we were discussing this kind of feature, and it received a positive feedback but we can’t guarantee if or when just yet.
We are doing a POC on CodeceptJS and we have a number of scenarios which involves sandwiched test cases wherein we have to switch between Web, Mobile and API sessions in the same test case. Could you please let me know if this feature is implemented wherein I can switch between different helpers (for example: from Webdriver to Appium) in the same scenario?