Closed htammen closed 1 year ago
usually the nav bar changes from data:
(which indicates "remote control by software") to the actual URL of the app under test.
Dumb question: do you have the app running at localhost:4004
before you start off the actual test runs?
Asking this b/c wdi5
doesn't run any app starts, but "only" the tests.
In a live session @vobu and I figured out that it is necessary to have Google Chrome installed locally. I only had Chromium installed.
Describe the bug When I start my test with
wdio run wdio.conf.js
the chromium browser starts but the address bar of the browser showsdata: ,
instead of my baseurl. As a result my tests are not executed at all.When I set the config.capabilities to
the correct url is called in the browser.
When running with Firefox (geckodriver) the correct url is also run but in that case I get other errors in my test setup which don't appear when I'm using the
chromium
setting.To Reproduce Steps to reproduce the behavior:
This is my wdio.conf.js file
Expected behavior I would expect that the my baseUrl
http://localhost:4004/#fields-manage
is called.Logs/Console Output
Screenshots
Runtime Env (please complete the following information):
My
npm list
output:wdi5/wdio-ui5-service
-version: 1.0.5UI5
version: 1.108.2wdio
-version (output ofwdio --version
): 7.29.1node
-version (output ofnode --version
): v18.12.0Additional context I added some wdio hooks and set breakpoints. As you can see in the screenshot the baseUrl is still correct in the
beforeSession
hook. The other functions I set breakpoints are not called.