status-mobile/test/appium
Siddarth Kumar eea55b22d7
Dont check `app-state` for `Android` when evaluating universal links routing (#15896)
* Dont check app-state for android before routing PN

On Android devices, right after account creation and before a log out, the :app-state value in reframe db is set to background. The value becomes active after a log out and then log in which causes tapping on push notifications to do nothing.

This behaviour breaks E2E and hence in this PR, I remove the checking of this case only for Android platforms.
More work should be done to figure out why the app state event handler is behaving this way on Android but for now I would like to unblock E2E.

* e2e: remove xfailed tests

---------

Co-authored-by: Churikova Tetiana <tatiana@status.im>
2023-05-18 00:20:38 +05:30
..
docker rename status-react to status-mobile 2022-07-17 14:46:16 +02:00
support e2e: new community screens 2023-03-24 11:22:02 +01:00
tests Dont check `app-state` for `Android` when evaluating universal links routing (#15896) 2023-05-18 00:20:38 +05:30
views Design Feedbacks on "Create profile password" screen (#15863) 2023-05-16 18:03:45 +05:30
README.md e2e: tx users 2022-03-07 22:17:39 +01:00
pytest.ini e2e: activity centre 2022-12-29 14:49:35 +01:00
requirements.txt e2e: minor fixes 2023-03-15 16:49:37 +01:00

README.md

E2E tests requirements

Environment variables

  • WEB3_INFURA_PROJECT_ID
  • ETHERSCAN_API_KEY
  1. If running on SauceLab emulators:
  • SAUCE_USERNAME
  • SAUCE_ACCESS_KEY
  1. If running with Testrail (--testrail_report=True param):
  • TESTRAIL_PASS
  • TESTRAIL_USER

Other

Userdata is stored in tests.users module (test/appium/tests/users.py, which is not committed to repo).

So to launch e2e you need to copy users.py to test/appium/tests/ to prevent ImportError

If you are external contributor, you can contact us at error-reports@status.im to get users.py

More info on local setup for e2e can be found here