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,8 +27,9 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "NO"
onlyGenerateCoverageForSpecifiedTargets = "NO">
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
@@ -52,23 +53,15 @@
</Testables>
<CommandLineArguments>
</CommandLineArguments>
<EnvironmentVariables>
<EnvironmentVariable
key = "INTEGRATION_TESTS_HOST"
value = "${INTEGRATION_TESTS_HOST}"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "INTEGRATION_TESTS_PASSWORD"
value = "${INTEGRATION_TESTS_PASSWORD}"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "INTEGRATION_TESTS_USERNAME"
value = "${INTEGRATION_TESTS_USERNAME}"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<CodeCoverageTargets>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "C0FAEB81CFD9776CD78CE489"
BuildableName = "ElementX.app"
BlueprintName = "ElementX"
ReferencedContainer = "container:ElementX.xcodeproj">
</BuildableReference>
</CodeCoverageTargets>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
@@ -111,29 +104,12 @@
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "NO"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<CommandLineArguments>
</CommandLineArguments>
<EnvironmentVariables>
<EnvironmentVariable
key = "INTEGRATION_TESTS_HOST"
value = "${INTEGRATION_TESTS_HOST}"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "INTEGRATION_TESTS_PASSWORD"
value = "${INTEGRATION_TESTS_PASSWORD}"
isEnabled = "YES">
</EnvironmentVariable>
<EnvironmentVariable
key = "INTEGRATION_TESTS_USERNAME"
value = "${INTEGRATION_TESTS_USERNAME}"
isEnabled = "YES">
</EnvironmentVariable>
</EnvironmentVariables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
@@ -29,8 +29,7 @@
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
codeCoverageEnabled = "YES"
onlyGenerateCoverageForSpecifiedTargets = "YES"
systemAttachmentLifetime = "keepNever">
onlyGenerateCoverageForSpecifiedTargets = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"