From e68c68eab5a0096d9179baa1ab0bb677e35a91e4 Mon Sep 17 00:00:00 2001 From: poonam yadav Date: Thu, 14 Sep 2023 17:51:11 +0530 Subject: [PATCH] WEBUI-1269: update package.json files --- .github/workflows/ftest.yaml | 19 ++++++++++--------- package.json | 12 ++++++------ packages/nuxeo-web-ui-ftest/package.json | 12 ++++++------ plugin/a11y/package.json | 16 ++++++++-------- 4 files changed, 30 insertions(+), 29 deletions(-) diff --git a/.github/workflows/ftest.yaml b/.github/workflows/ftest.yaml index 886e31a487..4e4a2d9fbc 100644 --- a/.github/workflows/ftest.yaml +++ b/.github/workflows/ftest.yaml @@ -45,6 +45,11 @@ jobs: distribution: 'zulu' java-version: '11' + - name: Install google chrome + 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 + - name: Determine nuxeo-elements branch to link id: pick_nuxeo_elements_branch run: | @@ -113,15 +118,11 @@ jobs: ' > ~/.m2/settings.xml - #================================================================================================================== - # this line of code has been commented on due to some driver issues, we will resume it once WEBUI-1267 is resolved. - #================================================================================================================== - # - name: Functional tests - # env: - # RUN_ALL: false - # BAIL: 0 - # run: mvn -ntp install -Pftest -DskipInstall - #================================================================================================================== + - name: Functional tests + env: + RUN_ALL: false + BAIL: 0 + run: mvn -ntp install -Pftest -DskipInstall - name: Archive cucumber reports if: ${{ always() }} diff --git a/package.json b/package.json index 5e884bd3df..139f36031f 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "Apache-2.0", "vendor": "Nuxeo", "engines": { - "node": ">=14.0.0" + "node": ">=18.0.0" }, "devDependencies": { "@cucumber/cucumber": "^7.0.0", @@ -57,7 +57,7 @@ "vm-browserify": "^1.1.2", "wdio-chromedriver-service": "^8.0.0", "wdio-cucumber-reporter": "0.0.2", - "wdio-json-reporter": "^2.0.0", + "wdio-json-reporter": "^3.0.0", "webpack": "^5.3.0", "webpack-bundle-analyzer": "^3.9.0", "webpack-cli": "^4.1.0", @@ -74,7 +74,7 @@ "prebuild": "npm-run-all prepare:*", "prepare:tmp": "rm -rf .tmp", "prepare:i18n": "node scripts/merge-messages.js", - "prepare:workbox": "workbox copyLibraries .tmp && mv .tmp/workbox-v$npm_package_devDependencies_workbox_cli .tmp/workbox", + "prepare:workbox": "workbox copyLibraries .tmp && mv .tmp/workbox-v3.6.3 .tmp/workbox", "build": "webpack --env production", "postbuild": "npm-run-all fix:*", "fix:preview": "replace 'elements/' '${window.location.pathname}/' dist/index.html", @@ -174,7 +174,7 @@ "@polymer/paper-toolbar": "^3.0.0", "@polymer/paper-tooltip": "^3.0.0", "@polymer/polymer": "^3.0.0", - "@wdio/allure-reporter": "^7.2.0", + "@wdio/allure-reporter": "^7.25.4", "@webcomponents/html-imports": "^1.2.0", "aws-sdk": "^2.420.0", "dotenv": "^8.0.0", @@ -185,12 +185,12 @@ "jsondiffpatch": "^0.3.11", "jsplumb": "2.13.0", "lit-element": "^3.2.2", - "nuxeo": "^4.0.3", + "nuxeo": "^3.2.1", "select2": "~3.5.1", "three": "~0.125.0", "uuid": "^3.3.2", "web-animations-js": "^2.3.1", - "webdriverio": "^7.16.16" + "webdriverio": "^7.28.1" }, "husky": { "hooks": { diff --git a/packages/nuxeo-web-ui-ftest/package.json b/packages/nuxeo-web-ui-ftest/package.json index 3c331643a3..b6daf89624 100644 --- a/packages/nuxeo-web-ui-ftest/package.json +++ b/packages/nuxeo-web-ui-ftest/package.json @@ -11,7 +11,7 @@ }, "license": "Apache-2.0", "engines": { - "node": ">=10.23.0 <15.0.0" + "node": ">=18.0.0" }, "dependencies": { "@babel/core": "^7.15.0", @@ -19,10 +19,10 @@ "@babel/register": "^7.14.5", "@cucumber/cucumber": "^7.0.0", "@cucumber/tag-expressions": "^2.0.4", - "@wdio/cli": "7.20.5", - "@wdio/cucumber-framework": "^7.20.3", + "@wdio/cli": "^7.25.4", + "@wdio/cucumber-framework": "^7.25.4", "@wdio/local-runner": "^7.2.0", - "@wdio/selenium-standalone-service": "7.2.0", + "@wdio/selenium-standalone-service": "^7.2.0", "@wdio/spec-reporter": "^7.2.0", "@wdio/sync": "^7.2.0", "babel-plugin-transform-rename-import": "^2.3.0", @@ -39,9 +39,9 @@ "moment": "^2.22.0", "multiple-cucumber-html-reporter": "^1.18.0", "node-fetch": "^2.6.1", - "nuxeo": "^4.0.3", + "nuxeo": "^3.6.0", "wdio-chromedriver-service": "^7.0.0", - "wdio-cucumberjs-json-reporter": "^2.0.3", + "wdio-cucumberjs-json-reporter": "^4.4.3", "webdriverio": "^7.2.0" } } diff --git a/plugin/a11y/package.json b/plugin/a11y/package.json index ded7b397c3..fb847138af 100644 --- a/plugin/a11y/package.json +++ b/plugin/a11y/package.json @@ -2,7 +2,7 @@ "name": "@nuxeo/nuxeo-web-ui-a11y", "version": "1.0.0", "engines": { - "node": ">=10.23.0" + "node": ">=18.0.0" }, "scripts": { "start": "npm run test", @@ -15,15 +15,15 @@ "@babel/preset-env": "^7.15.0", "@babel/register": "^7.14.5", "@nuxeo/nuxeo-web-ui-ftest": "file:../../packages/nuxeo-web-ui-ftest", - "@wdio/cli": "^8.15.5", - "@wdio/local-runner": "^8.15.4", - "@wdio/mocha-framework": "8.15.4", - "@wdio/selenium-standalone-service": "^8.14.0", - "@wdio/spec-reporter": "^8.14.0", - "@wdio/sync": "^7.27.0", + "@wdio/cli": "^7.25.4", + "@wdio/local-runner": "^7.20.5", + "@wdio/mocha-framework": "^7.2.0", + "@wdio/selenium-standalone-service": "^7.2.0", + "@wdio/spec-reporter": "^7.2.0", + "@wdio/sync": "^7.2.0", "axe-core": "^4.1.2", "chrome-launcher": "^0.14.0", "node-fetch": "^2.6.1", "wdio-chromedriver-service": "^7.0.0" } -} +} \ No newline at end of file