ui5-community / wdi5

official UI5 end-to-end test framework for UI5 web-apps. wdi5 = Webdriver.IO + UI5 Test API
https://ui5-community.github.io/wdi5/
Apache License 2.0
103 stars 43 forks source link

Element has no focus error #545

Closed diya-dhan closed 1 year ago

diya-dhan commented 1 year ago

I've been testing my fiori app and thus have been making use of the OData V4 test library. I am trying to change the row of a table using the ObjectPage.onTable().iChangeRow() function. But I keep running into the following error:

the string "Changing row values of table '{id: fe::table::conversations::LineItem::i18nConversations}' with old values='0' to new values='{Message: ABCDEFGHIJK, Timestamp: 19 Nov 2023, 20:57:38}' - FAILURE\nFailure in Opa success function\nException thrown by the testcode:'Error: DOM representation of control 'Element sap.m.Input#input0-clone40-__clone41' has no focus DOM reference

NOTE : until yesterday this code worked fine when running the script in non-headless mode. this problem first occurred when running it headless and now I am facing the same problem when running it normally as well.

Here is the function call:

image

The intention is to create a new row in the table Conversations (as shown below). Here are the corresponding elements:

image

Here are the corresponding error logs received:

image

Runtime Env :

wdi5/wdio-ui5-service : 1.5.0 @ui5/cli : "12.14.10", @wdio/cli: "8.16.11", node : v18.14.0 OS: MacOS Ventura Browser + Version : Firefox, Version : 116.0.0

github-actions[bot] commented 1 year ago

hey πŸ‘‹ - silence for 30 days 🀐 ... anybody? πŸ˜€

github-actions[bot] commented 1 year ago

closed πŸ“΄ because silencio 🀫 since an additional 14 days after staleness πŸ“ 

bkrencker commented 9 months ago

Have same error here.. maybe somebody can pick this issue up and have a look at it?