mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Automatic Accessibility Audits on previews part 1 (#4322)
* setup target * accessibility tests implementation * removed ipad check * pr improvements * updated project
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
name: AccessibilityTests
|
||||
|
||||
schemes:
|
||||
AccessibilityTests:
|
||||
analyze:
|
||||
config: Debug
|
||||
archive:
|
||||
config: Release
|
||||
build:
|
||||
targets:
|
||||
AccessibilityTests: all
|
||||
profile:
|
||||
config: Release
|
||||
run:
|
||||
config: Debug
|
||||
disableMainThreadChecker: false
|
||||
test:
|
||||
config: Debug
|
||||
testPlans:
|
||||
- path: AccessibilityTests.xctestplan
|
||||
defaultPlan: true
|
||||
|
||||
targets:
|
||||
AccessibilityTests:
|
||||
type: bundle.ui-testing
|
||||
platform: iOS
|
||||
|
||||
dependencies:
|
||||
- target: ElementX
|
||||
- package: KZFileWatchers
|
||||
|
||||
info:
|
||||
path: ../SupportingFiles/Info.plist
|
||||
|
||||
settings:
|
||||
base:
|
||||
PRODUCT_NAME: AccessibilityTests
|
||||
PRODUCT_BUNDLE_IDENTIFIER: ${BASE_BUNDLE_IDENTIFIER}.accessibility.tests
|
||||
configs:
|
||||
# This is required to remove the $(inherited) flags
|
||||
# which would prevent SnapshotTesting to be imported in UI Tests
|
||||
debug:
|
||||
OTHER_SWIFT_FLAGS: ["-DDEBUG"]
|
||||
release:
|
||||
OTHER_SWIFT_FLAGS: ["-DRELEASE"]
|
||||
|
||||
sources:
|
||||
- path: ../Sources
|
||||
- path: ../SupportingFiles
|
||||
- path: ../../ElementX/Sources/UITests/UITestsSignalling.swift
|
||||
|
||||
Reference in New Issue
Block a user