Skip to content

Make math tests unflaky by cancelling hovers

What does this MR do and why?

Make math tests unflaky by cancelling hovers.

I've been unable to reproduce the actual cause of the hover, but by inducing the same hover artificially, I could reproduce the original test flakes. This method in turn successfully causes the hover to be dismissed, and should be stable.

If the tests continue to flake in spite of this, we need to look at the screenshots to see if the same hover is still appearing. If so, it suggests we're causing it, at some point after the create_and_visit_issue_with_description call.

References

Supersedes these quarantine MRs:

Example failing job containing all three failures (the tests are always in the same group, so they always come together):

Screenshots from job artifacts showing failure mode:

math_rendering_applying_limits_on_math_rendering_when_limits_should_be_applied_default_shows_error_message_when_too_many_expansions

math_rendering_when_math_tries_to_cover_other_elements_on_the_page_prevents_hijacking_for_display_math

math_rendering_when_math_tries_to_cover_other_elements_on_the_page_prevents_hijacking_for_inline_math

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading