diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index bc58dcb0bc..363cc2f82a 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -173,7 +173,7 @@ stages: errorActionPreference: 'continue' workingDirectory: 'src\Umbraco.Tests.AcceptanceTest' script: | - node_modules/.bin/cypress run --reporter junit --reporter-options "mochaFile=results/test-output-D-[hash].xml,toConsole=true" --config videoUploadOnPasses=false,viewportHeight=1600,viewportWidth=2560,screenshotsFolder=cypress/artifacts/desktop/screenshots,videosFolder=cypress/artifacts/desktop/videos + node_modules\.bin\cypress run --reporter=junit --reporter-options="mochaFile=results/test-output-D-[hash].xml,toConsole=true" --config="videoUploadOnPasses=false,viewportHeight=1600,viewportWidth=2560,screenshotsFolder=cypress/artifacts/desktop/screenshots,videosFolder=cypress/artifacts/desktop/videos" - task: PowerShell@2 displayName: Run Cypress (Tablet portrait) inputs: @@ -181,7 +181,7 @@ stages: errorActionPreference: 'continue' workingDirectory: 'src\Umbraco.Tests.AcceptanceTest' script: | - node_modules/.bin/cypress run --reporter junit --reporter-options "mochaFile=results/test-output-T-[hash].xml,toConsole=true" --config videoUploadOnPasses=false,viewportHeight=1366,viewportWidth=1024,screenshotsFolder=cypress/artifacts/tablet/screenshots,videosFolder=cypress/artifacts/tablet/videos + node_modules\.bin\cypress run --reporter=junit --reporter-options="mochaFile=results/test-output-T-[hash].xml,toConsole=true" --config="videoUploadOnPasses=false,viewportHeight=1366,viewportWidth=1024,screenshotsFolder=cypress/artifacts/tablet/screenshots,videosFolder=cypress/artifacts/tablet/videos" - task: PowerShell@2 displayName: Run Cypress (Mobile protrait) inputs: @@ -189,7 +189,7 @@ stages: errorActionPreference: 'continue' workingDirectory: 'src\Umbraco.Tests.AcceptanceTest' script: | - node_modules/.bin/cypress run --reporter junit --reporter-options "mochaFile=results/test-output-M-[hash].xml,toConsole=true" --config videoUploadOnPasses=false,viewportHeight=812,viewportWidth=375,screenshotsFolder=cypress/artifacts/mobile/screenshots,videosFolder=cypress/artifacts/mobile/videos + node_modules\.bin\cypress run --reporter=junit --reporter-options="mochaFile=results/test-output-M-[hash].xml,toConsole=true" --config="videoUploadOnPasses=false,viewportHeight=812,viewportWidth=375,screenshotsFolder=cypress/artifacts/mobile/screenshots,videosFolder=cypress/artifacts/mobile/videos" - task: PublishTestResults@2 inputs: testResultsFormat: 'JUnit'