From c624ecffa84e64bb07030157716d75e44bb211b2 Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Tue, 24 Sep 2024 15:11:34 +0530 Subject: [PATCH] WEBUI-1583: ftest pipeline failing in nuxeo-web-ui --- .github/workflows/ftest.yaml | 7 +------ packages/nuxeo-web-ui-ftest/scripts/test.js | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index ffe3688aad..77e0d34e66 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -46,11 +46,6 @@ jobs: distribution: 'zulu' java-version: '11' - - name: Install google chrome 128.0.6613.137 - run: | - wget https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_128.0.6613.137-1_amd64.deb - apt install -y --allow-downgrades ./google-chrome-stable_128.0.6613.137-1_amd64.deb - - name: Determine nuxeo-elements branch to link id: pick_nuxeo_elements_branch run: | @@ -167,4 +162,4 @@ jobs: name: packages path: | plugin/web-ui/marketplace/target/nuxeo-web-ui-marketplace-*.zip - plugin/itests/marketplace/target/nuxeo-web-ui-marketplace-itests-*.zip + plugin/itests/marketplace/target/nuxeo-web-ui-marketplace-itests-*.zip \ No newline at end of file diff --git a/packages/nuxeo-web-ui-ftest/scripts/test.js b/packages/nuxeo-web-ui-ftest/scripts/test.js index 9f3e3cc803..b40eb6de86 100755 --- a/packages/nuxeo-web-ui-ftest/scripts/test.js +++ b/packages/nuxeo-web-ui-ftest/scripts/test.js @@ -112,7 +112,7 @@ if (process.env.DRIVER_VERSION == null) { console.log(`${version} detected.`); const match = version && version.match(/([0-9]+)\./); if (match) { - const checkVersion = 128; // fixed chrome version to avoid functional test breaking + const checkVersion = match[1]; try { done = fetch(`https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_${checkVersion}`).then( (response) => {