From f96be76fc9f22b29f0a81c74a5f5aa0ba221cbc1 Mon Sep 17 00:00:00 2001 From: Peter Muessig Date: Sun, 25 Aug 2024 09:36:47 +0200 Subject: [PATCH] chore: next try to fix the wdi5 issues --- showcases/ui5-app/webapp/test/e2e/binding.test.js | 1 + showcases/ui5-app/webapp/test/e2e/wdio.conf.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/showcases/ui5-app/webapp/test/e2e/binding.test.js b/showcases/ui5-app/webapp/test/e2e/binding.test.js index a236c871e..8b8900c9e 100644 --- a/showcases/ui5-app/webapp/test/e2e/binding.test.js +++ b/showcases/ui5-app/webapp/test/e2e/binding.test.js @@ -23,6 +23,7 @@ describe("binding", function () { // ui5 api + high-speed aggregation retrieval: https://ui5-community.github.io/wdi5/#/usage?id=getshorthand-conveniences const oList = await browser.asControl(list); + console.log("oList", oList); const aListItems = await oList.getItems(true); expect(aListItems.length).toBeGreaterThanOrEqual(1); }); diff --git a/showcases/ui5-app/webapp/test/e2e/wdio.conf.js b/showcases/ui5-app/webapp/test/e2e/wdio.conf.js index 0dea3ee81..5c405be0a 100644 --- a/showcases/ui5-app/webapp/test/e2e/wdio.conf.js +++ b/showcases/ui5-app/webapp/test/e2e/wdio.conf.js @@ -53,7 +53,7 @@ exports.config = { browserName: "chrome", "goog:chromeOptions": { w3c: false, - args: process.env.HEADLESS ? ["--headless"] : ["window-size=1440,800"], + args: process.env.HEADLESS ? ["--headless", "window-size=1440,800"] : ["window-size=1440,800"], }, acceptInsecureCerts: true, // If outputDir is provided WebdriverIO can capture driver session logs