From 74e923b7e844d692669ed21e8c40d1cf7451fefd Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Thu, 14 Mar 2024 13:19:06 -0400 Subject: [PATCH 1/2] ci: Bump chromium (cherry picked from commit 2905faece574e6bdf5b5f9f8208389d7b907cb2e) --- build/ci/scripts/wasm-uitest-run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/ci/scripts/wasm-uitest-run.sh b/build/ci/scripts/wasm-uitest-run.sh index ff568f1114..384174e712 100644 --- a/build/ci/scripts/wasm-uitest-run.sh +++ b/build/ci/scripts/wasm-uitest-run.sh @@ -4,7 +4,7 @@ IFS=$'\n\t' export UNO_UITEST_TARGETURI=http://localhost:5000 export UNO_UITEST_DRIVERPATH_CHROME=$BUILD_SOURCESDIRECTORY/build/node_modules/chromedriver/lib/chromedriver -export UNO_UITEST_CHROME_BINARY_PATH=$BUILD_SOURCESDIRECTORY/build/node_modules/puppeteer/.local-chromium/linux-991974/chrome-linux/chrome +export UNO_UITEST_CHROME_BINARY_PATH=~/.cache/puppeteer/chrome/linux-119.0.6045.105/chrome-linux64/chrome export UNO_UITEST_SCREENSHOT_PATH=$BUILD_ARTIFACTSTAGINGDIRECTORY/screenshots/wasm export BIN_LOG_PATH=$BUILD_ARTIFACTSTAGINGDIRECTORY/wasm-uitest.binlog export UNO_UITEST_PLATFORM=Browser @@ -25,8 +25,8 @@ dotnet run --project $UNO_UITEST_WASM_PROJECT -c Release --no-build & cd $BUILD_SOURCESDIRECTORY/build -npm i chromedriver@102.0.0 -npm i puppeteer@14.1.0 +npm i chromedriver@119.0.0 +npm i puppeteer@21.6.1 mkdir -p $UNO_UITEST_SCREENSHOT_PATH From 6a2b92b99122926554cdcdc00a22e9451ad66a15 Mon Sep 17 00:00:00 2001 From: Jerome Laban Date: Thu, 14 Mar 2024 14:14:12 -0400 Subject: [PATCH 2/2] chore: Bump node (cherry picked from commit e2ef59b80533840a75f098d32a76e883834984ab) --- build/ci/.azure-pipelines.UITests.Wasm.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/ci/.azure-pipelines.UITests.Wasm.yml b/build/ci/.azure-pipelines.UITests.Wasm.yml index 120ef88cc5..61da1bae6d 100644 --- a/build/ci/.azure-pipelines.UITests.Wasm.yml +++ b/build/ci/.azure-pipelines.UITests.Wasm.yml @@ -16,6 +16,10 @@ jobs: - template: templates/dotnet-install.yml - template: templates/canary-updater.yml + + - task: NodeTool@0 + inputs: + versionSpec: '18.x' - bash: | chmod +x build/ci/scripts/wasm-uitest-run.sh