Skip to content

iOS emulator integration tests / UI tests

Jørgen Svennevik Notland requested to merge jQrgen/wally:ios_ui_tests into mp

It's tests and CI for running some simple tests with iOS emulators using different settings in parallel

Add UI/integration tests ":test_emulator" to Fastlane's iosApp/fastlane/Fastfile

Add GitLab Job iosEmulatorUiIntegrationTest: to .gitlab-ci.yml

RUN WITH XCODE FIRST: To test using Fastlane, first, typing a password into a macOS dev tool access popup modal request was required when running the test from Xcode for the first time.

cd iosApp
xcrun xctrace list devices # list installed emulators
bundle exec fastlane ios test_emulator # run tests
  • run fastlane job from .gitlab-ci.yml
  • display test output generated in iosApp/fastlane/test_output/report.html

The Fastlane job starts several emulators. with different configurations, such as dark mode:

Screenshot_2024-03-14_at_04.33.38_1

Edited by Jørgen Svennevik Notland

Merge request reports