-
-
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
Cannot select appointments of Planning Calendar #257
Comments
Hi @malkoto1, Anyways |
that being said, what |
Hi all, thanks for the comments. @dominikfeininger - the planning calendar is found and has all its methods. (the getControlInfo() method returns all the information and all the functions that are applicable to the control). @vobu - It was template for a bug and I am not sure that I have a bug with me
The devDependencies:
|
Hi there, an update from my investigation: As you can see, the rows of the calendar are named in the following way: __row0-__xmlview0--schedulePlanningCalendar-1, __row0-__xmlview0--schedulePlanningCalendar-2... as the error: ```
I found that I can retrieve the rows with the following ids: __row0-__xmlview0--schedulePlanningCalendar-1-CLI, __row0-__xmlview0--schedulePlanningCalendar-2-CLI It seems to me that the locator cannot find elements by ID as expected. It is not that smart. The DOM tree looks as follows: There is no element in it with the ID of the aggregated element. The question is "Am I still missing something or just the wdio5 itself lacks skills?" |
How does your selector looks like? It might be that you found a bug in UI5. The Id of the Row is not generated as its supposed to be. We already know of a similar issue with Would be happy to do a deep investigation myself. Can you please provide a full minimal example? Or contribute an example in the WDI5 example app. Thx |
Hi there, Plsease see attached a sample project. |
Hi, sry for the delay. Had a glance into your example. Thanks for providing the code. Unfortunately it is like expected. See the screenshot. It is a UI5 "Bug". The This should be fixed on UI5 side. Until then I will provide a working solution like we did with the |
Hi @malkoto1, unfortunately my first intention did't fix it right away. PR is not ready yet. The PlanningCalendar and it's aggregations seem to work in a tricky and non straight forward way. ps. I am going to be on vacation the next two weeks and won't continue to work on this PR. Feel free to investigate and improve it yourself. |
Hi Dominik, I am a bit overwhelmed with tasks but hope that very soon will upload the test to the example. Meanwhile, while we do things on WDI5 side, shouldn't we create an issue on UI5 side for that? Regards, |
Hi Dominik, Did you manage to try another round for a workaround on that? Moreover, should we contact UI5 guys and try to push them to change something on their side? |
(not Dominik, but still 😆 ) Dominik is on vacation and afterwards on parental leave. I know that he plans on working on this issue after he's back from vacation, during his parental leave - no guarantees time-wise though, as 👶 has precedence ;) |
Thanks a lot for the update! Of course that the baby is with priority :D |
hey 👋 - silence for 30 days 🤐 ... anybody? 😀 |
closed 📴 because silencio 🤫 since an additional 14 days after staleness 📠 |
Guys, This needs to be reopened as we are waiting for a fix here. (Dominik is on paternity, isn't there anyone else that can take a look?) |
Hello all, is there any movement on this item? |
Hi there I have and application to test that uses the planning calendar control.
I am stuck on getting all the appointments of a given row.
What I receive for each row is the following (when I run the above test):
And if I try to run the commented line instead (to get the Control Info) I get the following output for every element
The planning calendar seems to be located correctly, but the aggregations are not. Is there something that I am missing? Or am I doing something wrong? Or this is how it works: We can only get the keys of the aggregations and then we need to locate them separately with "asControl() and a selector?
The text was updated successfully, but these errors were encountered: