From e9de1830c736ebb3fda7f54beb3aa09f08f029f0 Mon Sep 17 00:00:00 2001 From: Matt Cooley Date: Fri, 22 Jul 2022 16:35:17 -0700 Subject: [PATCH] Set screen resolution with pipelines task --- build/pipelines/templates/run-ui-tests.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/pipelines/templates/run-ui-tests.yaml b/build/pipelines/templates/run-ui-tests.yaml index 52912c23..960fb134 100644 --- a/build/pipelines/templates/run-ui-tests.yaml +++ b/build/pipelines/templates/run-ui-tests.yaml @@ -26,6 +26,13 @@ jobs: inputs: filePath: $(Build.SourcesDirectory)\build\scripts\TurnOffAnimationEffects.ps1 + - task: ScreenResolutionUtility@1 + displayName: Set resolution to 1920x1080 + inputs: + displaySettings: 'specific' + width: 1920 + height: 1080 + - task: DownloadBuildArtifacts@0 displayName: Download MsixBundle and CalculatorUITests inputs: