diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index a22bdbccda..8284d631cc 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -169,7 +169,7 @@ stages: workingDir: 'src\Umbraco.Tests.AcceptanceTest' - task: Npm@1 displayName: Run Cypress (Desktop) - condition: eq(PrepareTask.result,'Succeeded') + condition: always() inputs: workingDir: src\Umbraco.Tests.AcceptanceTest command: 'custom' @@ -177,7 +177,7 @@ stages: - task: Npm@1 displayName: Run Cypress (Tablet portrait) - condition: eq(PrepareTask.result,'Succeeded') + condition: always() inputs: workingDir: src\Umbraco.Tests.AcceptanceTest command: 'custom' @@ -185,14 +185,14 @@ stages: - task: Npm@1 displayName: Run Cypress (Mobile protrait) - condition: eq(PrepareTask.result,'Succeeded') + condition: always() inputs: workingDir: src\Umbraco.Tests.AcceptanceTest command: 'custom' customCommand: 'run test -- --config="viewportHeight=812,viewportWidth=375,screenshotsFolder=cypress/artifacts/mobile/screenshots,videosFolder=cypress/artifacts/mobile/videos,videoUploadOnPasses=false"' - task: PublishPipelineArtifact@1 displayName: "Publish test artifacts" - condition: eq(PrepareTask.result,'Succeeded') + condition: always() inputs: targetPath: '$(Build.SourcesDirectory)/src/Umbraco.Tests.AcceptanceTest/cypress/artifacts' artifact: 'Test artifacts'