From 828b2f7770cb77e76d0d68b1934417c0e10a7b5f Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Mon, 23 Sep 2024 16:51:01 +0530 Subject: [PATCH 1/5] ftest --- .github/workflows/ftest.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index eeea861cb0..1f3d8f689d 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -130,7 +130,7 @@ jobs: env: RUN_ALL: false BAIL: 0 - run: mvn -ntp install -Pftest -DskipInstall + run: mvn -ntp install -Pftest -DskipInstall -Dcucumber.options="--timeout 100000" - name: Archive cucumber reports if: ${{ always() }} From ecc0d9d50a95b1bfe8f97ae5092682f255fbb35f Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Tue, 24 Sep 2024 07:31:57 +0530 Subject: [PATCH 2/5] ftest --- .github/workflows/ftest.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index 1f3d8f689d..ab609c626e 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -46,6 +46,11 @@ jobs: distribution: 'zulu' java-version: '17' + - 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: | From 6fe6591380edacf51ac82d94e51eca3171b17733 Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Tue, 24 Sep 2024 10:54:38 +0530 Subject: [PATCH 3/5] ftest --- packages/nuxeo-web-ui-ftest/scripts/test.js | 37 +++++++++++---------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/packages/nuxeo-web-ui-ftest/scripts/test.js b/packages/nuxeo-web-ui-ftest/scripts/test.js index b40eb6de86..d3f96d6224 100755 --- a/packages/nuxeo-web-ui-ftest/scripts/test.js +++ b/packages/nuxeo-web-ui-ftest/scripts/test.js @@ -111,26 +111,27 @@ if (process.env.DRIVER_VERSION == null) { // eslint-disable-next-line no-console console.log(`${version} detected.`); const match = version && version.match(/([0-9]+)\./); + if (match) { - const checkVersion = match[1]; + // const checkVersion = match[1]; try { - done = fetch(`https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_${checkVersion}`).then( - (response) => { - if (response.ok) { - return response - .text() - .then((newDriverVersion) => { - // eslint-disable-next-line no-console - console.log(`ChromeDriver ${newDriverVersion} needed.`); - process.env.DRIVER_VERSION = newDriverVersion; - }) - .catch((e) => { - console.error('unable to parse ChromeDriver version: ', e); - }); - } - console.error('unable to fetch ChromeDriver version: ', response); - }, - ); + done = fetch( + `https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/128.0.6613.137/linux64/chromedriver-linux64.zip`, + ).then((response) => { + if (response.ok) { + return response + .text() + .then((newDriverVersion) => { + // eslint-disable-next-line no-console + console.log(`ChromeDriver ${newDriverVersion} needed.`); + process.env.DRIVER_VERSION = newDriverVersion; + }) + .catch((e) => { + console.error('unable to parse ChromeDriver version: ', e); + }); + } + console.error('unable to fetch ChromeDriver version: ', response); + }); } catch (e) { console.error('unable to fetch ChromeDriver version: ', e); } From 73d1be0b9bf7d37237624694f6e200ad1b3e063c Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Tue, 24 Sep 2024 11:09:12 +0530 Subject: [PATCH 4/5] ftest --- packages/nuxeo-web-ui-ftest/scripts/test.js | 37 ++++++++++----------- 1 file changed, 18 insertions(+), 19 deletions(-) diff --git a/packages/nuxeo-web-ui-ftest/scripts/test.js b/packages/nuxeo-web-ui-ftest/scripts/test.js index d3f96d6224..6e4729ae59 100755 --- a/packages/nuxeo-web-ui-ftest/scripts/test.js +++ b/packages/nuxeo-web-ui-ftest/scripts/test.js @@ -111,27 +111,26 @@ if (process.env.DRIVER_VERSION == null) { // eslint-disable-next-line no-console console.log(`${version} detected.`); const match = version && version.match(/([0-9]+)\./); - if (match) { - // const checkVersion = match[1]; + const checkVersion = '128.0.6613.137'; try { - done = fetch( - `https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/128.0.6613.137/linux64/chromedriver-linux64.zip`, - ).then((response) => { - if (response.ok) { - return response - .text() - .then((newDriverVersion) => { - // eslint-disable-next-line no-console - console.log(`ChromeDriver ${newDriverVersion} needed.`); - process.env.DRIVER_VERSION = newDriverVersion; - }) - .catch((e) => { - console.error('unable to parse ChromeDriver version: ', e); - }); - } - console.error('unable to fetch ChromeDriver version: ', response); - }); + done = fetch(`https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_${checkVersion}`).then( + (response) => { + if (response.ok) { + return response + .text() + .then((newDriverVersion) => { + // eslint-disable-next-line no-console + console.log(`ChromeDriver ${newDriverVersion} needed.`); + process.env.DRIVER_VERSION = newDriverVersion; + }) + .catch((e) => { + console.error('unable to parse ChromeDriver version: ', e); + }); + } + console.error('unable to fetch ChromeDriver version: ', response); + }, + ); } catch (e) { console.error('unable to fetch ChromeDriver version: ', e); } From 906c323872691bf5c81355e4e3d1f959da27c4ee Mon Sep 17 00:00:00 2001 From: rakeshkumar1019 Date: Tue, 24 Sep 2024 11:12:30 +0530 Subject: [PATCH 5/5] ftest --- packages/nuxeo-web-ui-ftest/scripts/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxeo-web-ui-ftest/scripts/test.js b/packages/nuxeo-web-ui-ftest/scripts/test.js index 6e4729ae59..b449772cc2 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.0.6613.137'; + const checkVersion = '128'; try { done = fetch(`https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_${checkVersion}`).then( (response) => {