diff --git a/e2eTests/scenarios/BCApps/runtest.ps1 b/e2eTests/scenarios/BCApps/runtest.ps1 index df016d9b6..3eafd7552 100644 --- a/e2eTests/scenarios/BCApps/runtest.ps1 +++ b/e2eTests/scenarios/BCApps/runtest.ps1 @@ -125,10 +125,12 @@ if (-not $run) { } WaitWorkflow -repository $repository -runid $run.id -# There should be only 1 app rebuilt +# There should be at least 1 app and 1 test app rebuilt Test-ArtifactsFromRun -runid $run.id -folder '.prartifacts' -repoVersion '*.*' -appVersion '*.*' $appCount = @(Get-ChildItem -Path '.prartifacts/*-Apps-*/*.app' -Recurse).Count -$appCount | Should -Be 1 +$testAppCount = @(Get-ChildItem -Path '.prartifacts/*-TestApps-*/*.app' -Recurse).Count +$appCount | Should -BeGreaterThan 0 +$testAppCount | Should -BeGreaterThan 0 Pop-Location RemoveRepository -repository $repository -path $repoPath