kitsune/playwright_tests/messages/mess_system_pages_messages
Emil Ghitta 5dda7567da - Creating a new helper function in utilities.py that gives the possibility of re-calling a function which failed due to a 502 error. This function relies on catching a warning emitted by the handle_502_error function inside conftest.py.
- 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.
2024-11-06 19:00:43 +02:00
..
edit_cont_areas_page_messages.py - Updating yml file (#5802) 2023-12-04 09:04:17 -08:00
inbox_page_messages.py - Updating yml file (#5802) 2023-12-04 09:04:17 -08:00
new_message_page_messages.py - Creating a new helper function in utilities.py that gives the possibility of re-calling a function which failed due to a 502 error. This function relies on catching a warning emitted by the handle_502_error function inside conftest.py. 2024-11-06 19:00:43 +02:00
sent_messages_page_messages.py - Updating yml file (#5802) 2023-12-04 09:04:17 -08:00