-
-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Describe the bug
With v9 and wdi5 v3 my test can not interact and find the dialog in OData V4, works with OData V2 (Can´t explain that, may have something to do with Fiori Elements, but also does not work with OData V4 Freestyle).
It only works with 'wdio:enforceWebDriverClassic': true int the config file.
To Reproduce
Steps to reproduce the behavior:
- git clone https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter
- git checkout test/wdi5-problem
- pnpm i
- pnpm build && pnpm --filter ordersv2fe120 build && pnpm --filter ordersv4fe120 build && pnpm --filter ordersv4freestyle120 build
- pnpm start:server
- pnpm start:v4freestyle
- cd examples && npm run test -- ordersv4freestyle 120 --spec ./test/specs/wizard/Upload.test.js
- Test works --> remove
'wdio:enforceWebDriverClassic': true - cd examples && npm run test -- ordersv4freestyle 120 --spec ./test/specs/wizard/Upload.test.js
- Test does not work
- cd examples && npm run test -- ordersv2fe 120 --spec ./test/specs/all/UploadFileListReport.test.js
- Test works (Content in dialog found )
Upload.test.js, Dialog is not found here:
https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/blob/7a4aef3ca249439c75673b379e5aa29af29410fa/examples/test/specs/wizard/Upload.test.js#L35-L45
If remove this, it does not work:
https://github.com/spreadsheetimporter/ui5-cc-spreadsheetimporter/blob/7a4aef3ca249439c75673b379e5aa29af29410fa/examples/test/wdio-base.conf.js#L42
Expected behavior
I get content and the dialog
Runtime Env (please complete the following information):
wdi5/wdio-ui5-service:3.0.0-rc.0(same error with current state ofv9-support)UI5version: 1.120.30wdio9.15.0node-version (output ofnode --version): 20- OS: [e.g. Linux openSuSE]: macOS
- Browser + Version Chrome 1.137