From bd6ad18dbebea4b2197986a0da295b67c9e4accb Mon Sep 17 00:00:00 2001 From: Volker Buzek Date: Sun, 28 Apr 2024 16:42:41 +0200 Subject: [PATCH] chore: housekeeping (#606) * chore(deps): update * fix(wdio): use min v8.32.2 for auto-browser download ...so that the auto download of chrome for testing doesn't fail see https://github.com/webdriverio/webdriverio/releases/tag/v8.32.2 * ci(docker): install git * ci(docker): update dedicated package.json * test(fe-app): fix ui5 version bootstrap * wip(webdriver-only): skip stale element safeguard * fix: interactable type definition --------- Co-authored-by: D048415 --- docker/Dockerfile.standalone | 3 + docker/package-standalone.json | 12 +- examples/fe-app/package.json | 2 +- examples/fe-app/webapp/index.html | 9 +- examples/ui5-js-app-esm/package.json | 4 +- .../webapp/test/e2e/ui5-late.test.js | 2 +- examples/ui5-ts-app/package.json | 8 +- .../test/e2e/protocol/stale-element.test.ts | 11 +- .../e2e/protocol/wdio-ui5-webdriver.conf.ts | 4 + examples/ui5-ts-app/test/e2e/ui5-late.test.ts | 2 +- package-lock.json | 40485 ++++++++++------ package.json | 32 +- src/types/wdi5.types.ts | 2 +- 13 files changed, 25253 insertions(+), 15323 deletions(-) diff --git a/docker/Dockerfile.standalone b/docker/Dockerfile.standalone index 5e6b64dd..4e616879 100644 --- a/docker/Dockerfile.standalone +++ b/docker/Dockerfile.standalone @@ -11,6 +11,9 @@ RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable RUN wget -O- https://dl.google.com/linux/linux_signing_key.pub |gpg --dearmor > /etc/apt/trusted.gpg.d/google.gpg RUN apt update RUN apt install -y google-chrome-stable --no-install-recommends +# install git +# see #599 https://github.com/ui5-community/wdi5/issues/599 +RUN apt install -y git WORKDIR /app diff --git a/docker/package-standalone.json b/docker/package-standalone.json index 81c815e3..160f085f 100644 --- a/docker/package-standalone.json +++ b/docker/package-standalone.json @@ -8,17 +8,17 @@ }, "devDependencies": { "@ui5/cli": "latest", - "@wdio/cli": "^8", + "@wdio/cli": ">=8.14.0", "@wdio/mocha-framework": "^8", "@wdio/spec-reporter": "^8", "@wdio/local-runner": "^8", - "fs-extra": "^10.1.0", - "mocha": "^9.2.2", - "npm-run-all": "^4.1.5", + "fs-extra": "latest", + "mocha": "latest", + "npm-run-all": "latest", "ui5-middleware-simpleproxy": "latest", - "wait-on": "^6.0.1", + "wait-on": "latest", "wdio-ui5-service": "latest", - "webdriverio": "^8" + "webdriverio": ">8.32.2" }, "ui5": { "dependencies": ["ui5-middleware-simpleproxy"] diff --git a/examples/fe-app/package.json b/examples/fe-app/package.json index f5bcde31..0926ac1f 100644 --- a/examples/fe-app/package.json +++ b/examples/fe-app/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@ui5/cli": "^3", "@wdio/cli": "^8", - "detect-libc": "^2.0.1", + "detect-libc": "^2.0.3", "@wdio/local-runner": "^8", "@wdio/mocha-framework": "^8", "@wdio/spec-reporter": "^8", diff --git a/examples/fe-app/webapp/index.html b/examples/fe-app/webapp/index.html index 8edff78f..e27c96d7 100644 --- a/examples/fe-app/webapp/index.html +++ b/examples/fe-app/webapp/index.html @@ -1,4 +1,4 @@ - + @@ -22,13 +22,14 @@ } - +