From edb78dd3ae8edf81084bdea309a031508afb0a40 Mon Sep 17 00:00:00 2001 From: Matt Cooley Date: Tue, 5 Jul 2022 13:48:31 -0700 Subject: [PATCH] Set screen resolution using 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 159f55d7..d74ee9c4 100644 --- a/build/pipelines/templates/run-ui-tests.yaml +++ b/build/pipelines/templates/run-ui-tests.yaml @@ -20,6 +20,13 @@ jobs: steps: - checkout: none + - task: ScreenResolutionUtility@1 + displayName: Set resolution to 1920x1080 + inputs: + displaySettings: 'specific' + width: 1920 + height: 1080 + - task: DownloadBuildArtifacts@0 displayName: Download MsixBundle and CalculatorUITests inputs: