Skip to content

Resolve flaky test in spec/features/markdown/mermaid_spec.rb:105

What does this MR do?

Change the CSS selector so that Capybara waits for the attributes to be added.

This was introduced in 9b873276 when we passed the useMaxWidth option to mermaid.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #212996 (closed)

Edited by Yorick Peterse

Merge request reports