-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
enterText method does not trigger Suggest Event #355
Comments
Hi @borceacristiann, thanks for submitting this issue. For |
I just checked it myself and the suggestions are not triggered when we use Regards, |
Hello @Siolto , @borceacristiann , I will take a look and notify you when I have any update. BR, |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
hey @hmanchev - were you able to research this? |
Hi colleagues, after sync with OPA colleagues, I can conclude that this is not a bug. Actually such functionality (suggestions) could be subject of unit testing. In the case of E2E test, you probably want to automate scenario and just providing proper text should be enough. Nevertheless, @borceacristiann could you please give more details about the use case or scenario which you want to automate? This will be helpful to extend some documentation and/or propose some solution. |
Hi @hmanchev, I have the following scenario:
Unfortunately, the suggest event is not triggered after calling the enterText method, respectively the suggestion list is not displayed and I cannot select any item from the list. |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
Hi @borceacristiann, Thanks for the details. I will discuss them with OPA colleagues will see whether we can improve docs. |
Hi @hmanchev, I'm not looking to cover this suggestion function. I just need the suggestions list to be displayed(after calling the "enterText" method) so that I can select the filter values. And it is necessary to choose the filter values to fulfill my test case which aims to check if the table can be filtered by multiple values and if it is filtered correctly. |
Hi @borceacristiann, I'm trying to reproduce the issue and so far in my testing the "suggest" event does fire and the dropdown in displayed: Do you reproduce the same on the above sample? If yes, can you try to modify it a bit to resemble your setup where the issue can be reproduced? Thanks |
Hi @borceacristiann, I recalled now that you are reproducing the issue using the wdi5 API, while my sample https://jsbin.com/kicagezula/1/edit uses directly the OPA5 API (namely, the https://sapui5.hana.ondemand.com/#/api/sap.ui.test.actions.EnterText action) to enter the text. Do you nevertheless see a way to reproduce the issue using the sample at https://jsbin.com/kicagezula/1/edit Thanks |
Hi @kineticjs, this can only be reproduced by writing and running the tests using wdio together with wdi5. When I manually test the sapui5 application, the suggestions list is displayed properly, respectively the problem is thatentering text into a MultiInput using enterText method is not triggering suggest event and suggestion list is not rendered |
Sample https://jsbin.com/kicagezula/1/edit cannot reproduce the issue in the context of OPA5 only and @borceacristiann commented that so far it is only reproducible when using wdio together with wdi5. Would you look at the issue again from wdi5 side? |
Hi @kineticjs, sorry for the late response. With your snippet I could figure out what the problem is. In this specific case the On the one hand wdi5 has to pass more information and on the other hand
Maybe it would be good to sync on this topic. @hmanchev and @vobu what do you think? |
Hello, |
Hello @borceacristiann, which version of UI5 are you using and if it is not latest what are you plans to upgrade? |
Hi @jdichev we are using 1.96.0 UI5 version. In the near future we do not plan to change the version because according SAPUI5 Versions Maintenance Status Thanks. |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
I ran into another issue where a table row cannot be selected. The reason is because the interaction Just wanted to add my +1 vote for the resolution of this issue. Thanks. |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
closed 📴 because silencio 🤫 since an additional 14 days after staleness 📠 |
closed 📴 because silencio 🤫 since an additional 14 days after staleness 📠 |
closed 📴 because silencio 🤫 since an additional 14 days after staleness 📠 |
reopened live during the wdi5 steering committee :) |
Hello @borceacristiann, Can you give us a reason what prevents you from using a newer version? Unfortunately, the change in OPA was introduced as a new feature with version 1.113 and features are not allowed to be down-ported as per UI5 policy. Best regards, |
Describe the bug
sap.m.MultiInput have suggestionColumns and suggestionRows aggregations used for tabular input suggestions. Besides this, sap.m.MultiInput has the startSuggestion property used to specify minimum length of the entered text in input before suggest event is fired.
Unfortunately, the suggest event is not triggered after calling the enterText method, respectively the suggestionsm list is not displayed.
The below is my code. I'm just invoking the enterText method
To Reproduce
enter text into a MultiInput using enterText method, suggest event is not triggered and suggestion list is not rendered
Expected behavior
enter text into a MultiInput using enterText method, suggest event is triggered and suggestion list is rendered
Runtime Env (please complete the following information):
wdi5/wdio-ui5-service
-version: 0.9.13UI5
version: 1.96.0wdio
-version: 7.25.0node
-version: 14.17.3The text was updated successfully, but these errors were encountered: