From 85abd43b51f83929b8ec6b28bfb32d224ed5e456 Mon Sep 17 00:00:00 2001 From: rahuljain-dev Date: Thu, 7 Sep 2023 14:53:01 +0530 Subject: [PATCH] WEBUI-1260: need to downgrade chrome browser version --- .github/workflows/a11y.yaml | 8 ++++++++ .github/workflows/ftest.yaml | 8 ++++++++ packages/nuxeo-web-ui-ftest/package.json | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/a11y.yaml b/.github/workflows/a11y.yaml index 8aa4d21ebe..ee141710bd 100644 --- a/.github/workflows/a11y.yaml +++ b/.github/workflows/a11y.yaml @@ -48,6 +48,14 @@ jobs: distribution: 'zulu' java-version: '11' + - name: Install google chrome + shell: bash + run: | + wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb + apt install -y --allow-downgrades ./google-chrome-stable_114.0.5735.90-1_amd64.deb + ln -s /usr/bin/google-chrome /usr/bin/chrome -f + chrome --version + - name: 'Update settings.xml with server configuration' run: | echo ' diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index ef95a8aeaa..02af1f1df2 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -45,6 +45,14 @@ jobs: distribution: 'zulu' java-version: '11' + - name: Install google chrome + shell: bash + run: | + wget -q https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb + apt install -y --allow-downgrades ./google-chrome-stable_114.0.5735.90-1_amd64.deb + ln -s /usr/bin/google-chrome /usr/bin/chrome -f + chrome --version + - name: Determine nuxeo-elements branch to link id: pick_nuxeo_elements_branch run: | diff --git a/packages/nuxeo-web-ui-ftest/package.json b/packages/nuxeo-web-ui-ftest/package.json index 6ffee03325..011a41b9c0 100644 --- a/packages/nuxeo-web-ui-ftest/package.json +++ b/packages/nuxeo-web-ui-ftest/package.json @@ -21,7 +21,7 @@ "@cucumber/tag-expressions": "^2.0.4", "@wdio/cli": "7.20.5", "@wdio/cucumber-framework": "^7.20.3", - "@wdio/local-runner": "^7.2.0", + "@wdio/local-runner": "7.2.0", "@wdio/selenium-standalone-service": "7.2.0", "@wdio/spec-reporter": "^7.2.0", "@wdio/sync": "^7.2.0",