qxf2-page-object-model icon indicating copy to clipboard operation
qxf2-page-object-model copied to clipboard

Enchance mobile tests

Open akkuldn opened this issue 9 months ago • 0 comments

In this PR i have enhanced mobile testing by adding new gestures to the base page and also an end to end test for weather shopper android application. Added the following methods to Mobile Base page:

  1. Swipe
  2. Zoom
  3. Drag and Drop
  4. Long Press
  5. Scroll to Bottom
  6. Scroll to Top
  7. Scroll Backward
  8. Scroll Forward

2. End to end test for weather shopper application Command: python -m pytest tests/test_mobile_app.py --mobile_os_name Android --mobile_os_version 11 --device_name emulator-5554 --app_name weather_shopper.apk --app_path /d/android_studio/ --app_package com.qxf2.weathershopper

3. Added support for testing in landscape mode Command: python -m pytest tests/test_mobile_app.py --mobile_os_name Android --mobile_os_version 11 --device_name emulator-5554 --app_name weather_shopper.apk --app_path /d/android_studio/ --app_package com.qxf2.weathershopper --orientation=LANDSCAPE

akkuldn avatar May 24 '24 08:05 akkuldn