-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown error: cannot deserialize the result value received from Runtime.callFunctionOn #557
Comments
ping to FE lib integration specialist @Siolto on this one :) |
Error exists since SAPUI5 Version 1.115.0 on Fiori Elements v4 applications. Further analysis needed |
Ok, thanks for looking into it. |
not yet... I am more confused by the issue than i really understand it. I will keep you in the loop. |
In general await browser.asControl({
selector: {
id: "ui.v4.ordersv4fe::OrdersList--fe::FilterBar::Orders-btnSearch"
}
}).press();
await browser.pause(2000)
await browser.goTo({ sHash: "#/Orders(ID={orderId},IsActiveEntity=true)" });
await browser.pause(1000)
await browser.goTo({ sHash: "#/Orders(ID={orderId},IsActiveEntity=true)/Items(ID={itemId},IsActiveEntity=true)" });
const field = await browser.asControl({
selector: {
id: `ui.v4.ordersv4fe::Orders_ItemsObjectPage--fe::FormContainer::Identification::FormElement::DataField::validFrom::Field`
}
});
const bindingContext = await field.getBindingContext()
console.log(bindingContext) If one of the steps is missing or we directly jump to the detail page everything is working fine |
Thank you for the detailed investigation. |
fix helped me, all tests are green :) |
Describe the bug
Error thrown with FE V4 SAPUI5 1.120 on method
getBindingContext()
https://github.com/marianfoo/ui5-cc-spreadsheetimporter/blob/4dd811a70272fc6171555436c8c065bf0c4829bc/examples/test/specs/Objects/FEV4.js#L60see github action run:
https://github.com/marianfoo/ui5-cc-spreadsheetimporter/actions/runs/6816727497/job/18538689782
It seems error only for Fiori Elements OData V4 with SAPUI5 Version 1.120
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/marianfoo/ui5-cc-spreadsheetimporter
git checkout test/120
pnpm i
pnpm start:server
pnpm start:v4fe:120
cd examples
npm run test -- ordersv4fe 120 --spec ./test/specs/all/UploadFileObjectPage.test.js
Expected behavior
No error
Logs/Console Output
if applicable, please copypasta code-fenced log output, e.g.
Runtime Env (please complete the following information):
wdi5/wdio-ui5-service
-version: 2.0.2UI5
version: 1.120.0wdio
-version (output ofwdio --version
): 8.18.2node
-version (output ofnode --version
): 18.4The text was updated successfully, but these errors were encountered: