зеркало из https://github.com/mozilla/kitsune.git
5dda7567da
- Fix locators issues due to the transition from selectize to tom-select. - Extended the checkbox_interaction() function in basepage.py to handle ElementHandles and implemented a retry mechanism if the element check() or uncheck() has failed due to some reason. - Modified the click() function in basepage.py to: 1. Accept and interact with ElementHandles. 2. Implement a retry mechanism based on a given expected_locator or expected_url after the click action. If the expected_locator or expected_url condition is not fulfilled after the click action we are forcing a re-click on the target element. 3. Wait for networkidle before attempting to click on the element. - Updated the page objects, tests and flows for which flakiness occurred in the past to use the newly implemented click() and function re-call mechanism. - Added a helper function in basepage.py which moves the mouse to a given location. |
||
---|---|---|
.. | ||
core | ||
flows | ||
messages | ||
pages | ||
reports | ||
test_data | ||
tests | ||
pytest.ini |