mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
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:
@@ -28,31 +28,18 @@ targets:
|
||||
dependencies:
|
||||
- target: ElementX
|
||||
- package: MatrixRustSDK
|
||||
linkType: static
|
||||
- package: AnalyticsEvents
|
||||
linkType: static
|
||||
- package: AppAuth
|
||||
linkType: static
|
||||
- package: DeviceKit
|
||||
linkType: static
|
||||
- package: DTCoreText
|
||||
linkType: static
|
||||
- package: KeychainAccess
|
||||
linkType: static
|
||||
- package: Kingfisher
|
||||
linkType: static
|
||||
- package: PostHog
|
||||
linkType: static
|
||||
- package: SwiftyBeaver
|
||||
linkType: static
|
||||
- package: SwiftState
|
||||
linkType: static
|
||||
- package: GZIP
|
||||
linkType: static
|
||||
- package: Sentry
|
||||
linkType: static
|
||||
- package: SnapshotTesting
|
||||
linkType: static
|
||||
|
||||
info:
|
||||
path: ../SupportingFiles/Info.plist
|
||||
@@ -64,15 +51,6 @@ targets:
|
||||
debug:
|
||||
release:
|
||||
|
||||
preBuildScripts:
|
||||
- name: Override Simulator Status Bars
|
||||
runOnlyWhenInstalling: false
|
||||
basedOnDependencyAnalysis: false
|
||||
shell: /bin/sh
|
||||
script: |
|
||||
python3 $PROJECT_DIR/Tools/Scripts/bootTestSimulator.py --name 'iPhone 13 Pro Max' --version 'iOS.16.1'
|
||||
python3 $PROJECT_DIR/Tools/Scripts/bootTestSimulator.py --name 'iPad (9th generation)' --version 'iOS.16.1'
|
||||
|
||||
sources:
|
||||
- path: ../Sources
|
||||
excludes:
|
||||
|
||||
Reference in New Issue
Block a user