Skip to content

Project for conducting E2E tests for native iOS and Web based apps using the Webdriver.IO framework

Notifications You must be signed in to change notification settings

Mynziak/wdio-demo-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo: Automated Tests for iOS Native and Web-based apps

Description:

  • Project contains samples of the Functional, End-to-End and Integration UI tests with Typescript + WebdriverIO
  • Tested website Herokuapp provides a variety of web application examples for testing.

Disclaimer:
⚠️ All code in this repository is provided for demonstration purposes only. iOS native tests are configured to run on real devices, and tested iOS app files (.app or .ipa) needs to be maintained separately, preferably in the CI pipeline, according to the release process. Therefore, test environment configurations may need to be modified to match your specific setup.

  • Node version 14 or higher
  • Installed [Appium] (./docs/APPIUM.md) on running machine (for testing mobile apps)
  • Installed Chrome browser (for testing web based apps)
  • Supported on Mac OS

Installation and Test Execution

  1. Clone repo
  2. Run: npm install in the project dir
  3. [Optional] Connect test device to the running machine via USB (for native mobile tests)
  4. [Optional] Install Appium on a local machine check here
  5. [Optional] Add configurations for your test devices (environment) *.config.ts
  6. Modify running scripts in package.json
  7. Run Appium Server (For running native iOS tests on local machine): appium
  8. Run tests: npm run + script from package.json, for instance : npm run web.chrome.heroku,
  9. Open Test report:
  • Generate report (Optional, can be generated via hook in config): npm run report:generate
  • Open the allure report: npm run report:open

Checkout the full documentation about development tests

About

Project for conducting E2E tests for native iOS and Web based apps using the Webdriver.IO framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published