* Rename onboarding and login user/pass accessibility ids. * Refactor remaining server change accessibility IDs * Avoid accessibilityIdentifier spreading to all decorations on the textBox. Required because otherwise there are multiple items tagged with the accessibilityId which means we can't click on "the" item. * Move all accessibility identifiers to `AccessibilityIdentifiers.swft` - use same naming convention on all of them - remove the unused ones - fix build errors in integration tests and invalid identifiers (still broken until autodiscovery lands on rosa) --------- Co-authored-by: Stefan Ceriu <stefanc@matrix.org>
69 lines
1.7 KiB
YAML
69 lines
1.7 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
|
|
- package: Collections
|
|
|
|
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/UITests/UITestsScreenIdentifier.swift
|
|
- path: ../../ElementX/Sources/UITests/UITestsSignalling.swift
|
|
- path: ../../ElementX/Sources/Generated/Strings.swift
|
|
- path: ../../ElementX/Sources/Generated/Strings+Untranslated.swift
|
|
- path: ../../ElementX/Resources
|
|
- path: ../../ElementX/Sources/Other/AccessibilityIdentifiers.swift
|
|
- path: ../../ElementX/Sources/Other/Extensions/Bundle.swift
|
|
- path: ../../ElementX/Sources/Other/Extensions/XCUIElement.swift
|