You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
xLexip
changed the title
TypeError: browserInstance.goTo is not a function
3.0.0-rc.0: TypeError: browserInstance.goTo is not a function
Oct 30, 2024
thanks for reporting this issue. I could reproduce it.
It seems like since v9 the hooks have changed their internal behavior. We need to investigate this further. As a workaround you could move your wdi5.goTo(...) directly into an it(...) step.
To Reproduce
I have a basic test with
Logs/Console Output
Runtime Env (please complete the following information):
wdi5/wdio-ui5-service
: 3.0.0-rc.0UI5
: 1.120 LTS/LATESTwdio
: 9.2.1node
: 20.15.1OS
: Ubuntu LTSBrowser
: firefox (v134.0a1)Additional context
The test are run in an GitLab CI environment with
--headless
.The text was updated successfully, but these errors were encountered: