wdi5 icon indicating copy to clipboard operation
wdi5 copied to clipboard

3.0.0-rc.0: TypeError: browserInstance.goTo is not a function

Open xLexip opened this issue 1 year ago • 1 comments

To Reproduce I have a basic test with

before(async function () {
	await wdi5.goTo({ sHash: "#/business-objects" });
});

Logs/Console Output

[...]

[firefox 134.0a1 linux #0-0] browserInstance.goTo is not a function
[firefox 134.0a1 linux #0-0] TypeError: browserInstance.goTo is not a function
[firefox 134.0a1 linux #0-0]     at Function.<anonymous> (/builds/project/node_modules/wdio-ui5-service/src/wdi5.ts:117:35)
[firefox 134.0a1 linux #0-0]     at step (/builds/project/node_modules/wdio-ui5-service/cjs/wdi5.js:33:23)
[firefox 134.0a1 linux #0-0]     at Object.next (/builds/project/node_modules/wdio-ui5-service/cjs/wdi5.js:14:53)
[firefox 134.0a1 linux #0-0]     at /builds/project/node_modules/wdio-ui5-service/cjs/wdi5.js:8:71
[firefox 134.0a1 linux #0-0]     at new Promise (<anonymous>)
[firefox 134.0a1 linux #0-0]     at __awaiter (/builds/project/node_modules/wdio-ui5-service/cjs/wdi5.js:4:12)
[firefox 134.0a1 linux #0-0]     at Function.wdi5.goTo (/builds/project/node_modules/wdio-ui5-service/src/wdi5.ts:105:5)
[firefox 134.0a1 linux #0-0]     at Context.<anonymous> (/builds/project/test/app/e2e-tests/business-objects/bo-templates.test.js:16:14)
Spec Files:	 0 passed, 3 failed, 3 total (100% completed) in 00:00:48  

Runtime Env (please complete the following information):

  • wdi5/wdio-ui5-service: 3.0.0-rc.0
  • UI5: 1.120 LTS/LATEST
  • wdio: 9.2.1
  • node: 20.15.1
  • OS: Ubuntu LTS
  • Browser: firefox (v134.0a1)

Additional context The test are run in an GitLab CI environment with --headless.

xLexip avatar Oct 30 '24 16:10 xLexip