-
Notifications
You must be signed in to change notification settings - Fork 74
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
Review dropdown filter behavior for Ticket owner dropdown #3563
Comments
See #3100 for more context |
So far, the investigation showed: The click via GUI is indeed treated differently than triggering the click event via javascript. This can be observed via |
Re: AgentTicketOwner.t this looks promising:
Not super-happy but it makes the test green, and as all my attempts to somehow trigger the lazy load from Selenium failed... Didn't find time to look into AgentTicketZoom.t yet, looking forward to do so. |
Looks great, thank you for taking the time! |
I think that the better solution is to use the |
I remember trying out a few things around the |
Use the click() method that actually updates the list of owners. Do not rely on clicking on the wanted owner, set the value of the selection directly.
Yes, using the Are there objections to applying #3990 ? |
The following would also work on my machine (in the sense of making the test green):
Not that it makes me any happier - whilst closer to actually testing the UI, it now relies on 'benefits of sleep'. Plus I would have a hard time to explain why this - unlike the 20 or so much more straightforward solutions I tried first - actually works .-( |
@MichaelThumes , yes, I would prefer your latest solution with the three clicks as it is closer to what is happening in the GUI. |
had a look at AgentTicketZoom.t as well does not look related to me - rather simply html/css changes?. Anyway here comes another candidate:
|
In unit tests
scripts/test/Selenium/Agent/AgentTicketActionCommon/AgentTicketOwner.t
andscripts/test/Selenium/Agent/AgentTicketZoom.t
, a failure can be observed when a new ticket owner is to be set. Assumption is that both failures are related to the same issue.Additional observation: When using the dropdown filter manually via GUI, it works, but it does not when triggering a click event via Selenium test.
The text was updated successfully, but these errors were encountered: