From d79b0b72d7b018e07ab8a2c438a37fb03fd91e22 Mon Sep 17 00:00:00 2001 From: Arnaud Buchholz Date: Fri, 24 Jan 2025 14:44:45 -0500 Subject: [PATCH] fix: re-enable screenshot since it was addressed in webdriverio@9.7.0 (#117) --- docs/webdriverio.md | 3 ++- src/defaults/webdriverio.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/webdriverio.md b/docs/webdriverio.md index d31a087..c4ef3ca 100644 --- a/docs/webdriverio.md +++ b/docs/webdriverio.md @@ -5,7 +5,7 @@ | `--browser` | `$/webdriverio.js` | |---|---| | Module | [webdriverio](https://www.npmjs.com/package/webdriverio) | -| Screenshots | ✔️ `.png` see [#117](https://github.com/ArnaudBuchholz/ui5-test-runner/issues/117) | +| Screenshots 2️⃣ | ✔️ `.png` | Scripts | ✔️ | | Traces 1️⃣ | ❌ | @@ -40,3 +40,4 @@ For instance : ## Implementation notes * 1️⃣ Traces are not yet implemented +* 2️⃣ Version `v9.6.x` of `webdriver.io` has problems with screenshot, see [#117](https://github.com/ArnaudBuchholz/ui5-test-runner/issues/117) \ No newline at end of file diff --git a/src/defaults/webdriverio.js b/src/defaults/webdriverio.js index e07efb8..6d1b99b 100644 --- a/src/defaults/webdriverio.js +++ b/src/defaults/webdriverio.js @@ -18,7 +18,7 @@ require('./browser')({ async capabilities ({ settings, options }) { return { modules: ['webdriverio'], - // screenshot: '.png', // TODO: https://github.com/webdriverio/webdriverio/issues/14108 + screenshot: '.png', scripts: true, traces: [] }