Files
letro-ios/UITests/SupportingFiles/target.yml
Stefan Ceriu 4def45a57b New timeline (#276) (#280)
* Fixes #276 - Rebuilt room timeline:
    - Removed the need for the ListCollectionViewAdapter
    - Rewrote the TimelineItemList without using introspection
    - Added ReversedScrollView for laying out items at the bottom/trailing
    - Rewrote TimelineProvider diffing through CollectionDifference (similar to the RoomSummaryProvider)
    - Added back `scrollDismissesKeyboard`  behavior
    - Various other tweaks and fixes
- Fixed various warnings:
    - removed async AttributedStringBuilder as AttributedString is non-sendable, made the RoomTimelineItemFactory synchronous
    - removed unused virtual timeline items
    - removed unused isOutgoing property from the FormattedBodyText
* Make TimelineItemContextMenuActions indentifiable and specify contextMenu identifiers
* Bump the matrix-rust-components-swift to v1.0.16-alpha
* Add changes file and changelog contribution guide
* Fix attributed string builder unit tests
2022-11-02 13:03:34 +02:00

92 lines
2.5 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
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
settings:
base:
PRODUCT_NAME: UITests
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.ui.tests
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.0'
python3 $PROJECT_DIR/Tools/Scripts/bootTestSimulator.py --name 'iPad (9th generation)' --version 'iOS.16.0'
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/Sources/Generated/InfoPlist.swift
- path: ../../ElementX/Resources
- path: ../../ElementX/Sources/Other/Extensions/Bundle.swift
- path: ../../ElementX/Sources/Other/Extensions/URL.swift