UI test fixes (#335)

* Remove status bars when running UITests
* Remove simulator OS versions from screenshot names, be less lenient with image diffing
* Rename UITests splash screen to onboarding
* Switch tests to Xcode 14.1, remove version names for used simulators and switched from iPhone 13 Pro Max to iPhone 14
* Fix ServiceLocator and fallbackLaguage for UI tests
* Drop snapshot diffing precision to 0.99 as 0.999 triggers false negatives
* Fix server selection UI tests after exposing the sliding sync proxy configuration
* Update reference screenshots
This commit is contained in:
Stefan Ceriu
2022-11-24 10:35:00 +02:00
committed by GitHub
parent e22c038a0f
commit 1102580d6c
206 changed files with 368 additions and 467 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ require 'yaml'
require_relative 'changelog'
before_all do
xcversion(version: "~> 14.0.1")
xcversion(version: "~> 14.1")
end
lane :alpha do
@@ -106,7 +106,7 @@ end
lane :ui_tests do
run_tests(
scheme: "UITests",
devices: ["iPhone 13 Pro Max (16.0)", "iPad (9th generation) (16.0)"],
devices: ["iPhone 14", "iPad (9th generation)"],
ensure_devices_found: true,
prelaunch_simulator: true,
result_bundle: true