Added schema to target.yml for IntegrationTests (#358)

* Added schema to IntegrationTests

* Environment variables

* Removed captureScreenshotsAutomatically
This commit is contained in:
Aleksandrs Proskurins
2022-12-08 16:50:12 +02:00
committed by GitHub
parent 114328ea65
commit 5ef53e9220
5 changed files with 43 additions and 59 deletions
+27 -9
View File
@@ -1,5 +1,32 @@
name: IntegrationTests
schemes:
IntegrationTests:
analyze:
config: Debug
archive:
config: Release
build:
targets:
IntegrationTests: all
profile:
config: Release
run:
config: Debug
disableMainThreadChecker: false
environmentVariables:
INTEGRATION_TESTS_HOST: ${INTEGRATION_TESTS_HOST}
INTEGRATION_TESTS_USERNAME: ${INTEGRATION_TESTS_USERNAME}
INTEGRATION_TESTS_PASSWORD: ${INTEGRATION_TESTS_PASSWORD}
test:
config: Debug
disableMainThreadChecker: false
gatherCoverageData: true
coverageTargets:
- ElementX
targets:
- IntegrationTests
targets:
IntegrationTests:
type: bundle.ui-testing
@@ -27,15 +54,6 @@ targets:
debug:
release:
scheme:
testTargets:
- IntegrationTests
environmentVariables:
INTEGRATION_TESTS_HOST: ${INTEGRATION_TESTS_HOST}
INTEGRATION_TESTS_USERNAME: ${INTEGRATION_TESTS_USERNAME}
INTEGRATION_TESTS_PASSWORD: ${INTEGRATION_TESTS_PASSWORD}
sources:
- path: ../Sources
- path: ../SupportingFiles