From df43f9139693d3f1b8abd5745f6f585cd3cdb788 Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Tue, 23 Mar 2021 06:50:57 +0100 Subject: [PATCH] Update azure-pipelines.yml for Azure Pipelines --- build/azure-pipelines.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'