iOS emulator integration tests / UI tests
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:
Edited by Jørgen Svennevik Notland