* 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
71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
name: UITests
|
|
|
|
schemes:
|
|
UITests:
|
|
analyze:
|
|
config: Debug
|
|
archive:
|
|
config: Release
|
|
build:
|
|
targets:
|
|
UITests: all
|
|
profile:
|
|
config: Release
|
|
run:
|
|
config: Debug
|
|
disableMainThreadChecker: false
|
|
test:
|
|
config: Debug
|
|
testPlans:
|
|
- path: UITests.xctestplan
|
|
defaultPlan: true
|
|
|
|
targets:
|
|
UITests:
|
|
type: bundle.ui-testing
|
|
platform: iOS
|
|
|
|
dependencies:
|
|
- target: ElementX
|
|
- package: MatrixRustSDK
|
|
- package: AnalyticsEvents
|
|
- package: AppAuth
|
|
- package: DeviceKit
|
|
- package: DTCoreText
|
|
- package: KeychainAccess
|
|
- package: Kingfisher
|
|
- package: PostHog
|
|
- package: SwiftyBeaver
|
|
- package: SwiftState
|
|
- package: GZIP
|
|
- package: Sentry
|
|
- package: SnapshotTesting
|
|
|
|
info:
|
|
path: ../SupportingFiles/Info.plist
|
|
|
|
settings:
|
|
base:
|
|
PRODUCT_NAME: UITests
|
|
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.ui.tests
|
|
debug:
|
|
release:
|
|
|
|
sources:
|
|
- path: ../Sources
|
|
excludes:
|
|
- "**/__Snapshots__/**"
|
|
- path: ../SupportingFiles
|
|
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/Tests/UI
|
|
- path: ../../ElementX/Sources/Application/BuildSettings.swift
|
|
- path: ../../ElementX/Sources/Screens/RoomScreen/View/Style/TimelineStyle.swift
|
|
- path: ../../ElementX/Sources/Services/Analytics/AnalyticsConfiguration.swift
|
|
- path: ../../ElementX/Sources/UITests/UITestScreenIdentifier.swift
|
|
- path: ../../ElementX/Sources/Generated/Strings.swift
|
|
- path: ../../ElementX/Sources/Generated/Strings+Untranslated.swift
|
|
- path: ../../ElementX/Resources
|
|
- path: ../../ElementX/Sources/Other/Extensions/Bundle.swift
|
|
- path: ../../ElementX/Sources/Other/Extensions/FileManager.swift
|
|
- path: ../../ElementX/Sources/Other/InfoPlistReader.swift
|
|
- path: ../../ElementX/Sources/Other/Extensions/URL.swift
|