diff --git a/tests/web_tests/test_element.py b/tests/web_tests/test_element.py index 0cb660ac..c5439f78 100644 --- a/tests/web_tests/test_element.py +++ b/tests/web_tests/test_element.py @@ -89,9 +89,10 @@ def test_type_clear_text_get_value(pizza_order_page): assert all((text_added, text_erased)) +@pytest.mark.xfail_platform('selenium-safari', reason='Fail in CI env') def test_hover(mouse_event_page): initial_not_displayed = not mouse_event_page.dropdown.is_displayed() - mouse_event_page.choose_language_button.scroll_into_view(sleep=1).hover() + mouse_event_page.choose_language_button.scroll_into_view(sleep=0.1).hover() after_hover_displayed = mouse_event_page.dropdown.wait_visibility_without_error().is_displayed() mouse_event_page.choose_language_button.hover_outside() after_outside_hover_displayed = not mouse_event_page.dropdown.wait_hidden().is_displayed()