Skip to content

Rewrite content_editor_spec to run with ff on and off

What does this MR do and why?

Describe in detail what your merge request does and why.

Updates qa/specs/features/browser_ui/3_create/wiki/content_editor_spec.rb test so that it can run with both ff on and off. It will help us to maintain coverage while the feature being rolled out on different environments in #345398 (closed). The test was quarantined after it failed when wiki_switch_between_content_editor_raw_markdown ff was briefly enabled in staging, this approach should enable the test to run in any case and do not overwrite environment ff status.

Also addresses delay failures we've been witnessing with some added explicit waits (see #338654 (closed)).

QA failure - #346149 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Anastasia McDonald

Merge request reports