-
Improvement
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
None
-
-
Empty show more show less
-
Basel 41
-
8
When executing tests on a fast machine, current expected condition dialogIsOpen might be returning true even though the dialog is still in transition. This can become a problem when trying to access element afterwards: they will be found in the DOM but due to the animation/transition still being in progress, selenium is not able to click on the item, resulting in test failure.
With this issue we should tackle the most prominent two cases: dialogs and tabs.
Thanks to mgeljic who has provided screenshots showing the various states of such a click, we can now provide locators and adjust/add expected conditions.
The status' are:
- First tab is active
- Click on second tab
- Transition is ongoing and tab marked active
- Tab marked active and transition done
As a result a tab can be considered open when it has the class active and when the app-preloader is gone from the DOM.
- is depended upon by
-
MGNLEE-436 Use better expected conditions for 'dialogIsOpen' and 'tabIsOpen'
- Closed