Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/content_editor_helpers.rb')
-rw-r--r--spec/support/helpers/content_editor_helpers.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/helpers/content_editor_helpers.rb b/spec/support/helpers/content_editor_helpers.rb
index a6cc2560d0b..7597a13e475 100644
--- a/spec/support/helpers/content_editor_helpers.rb
+++ b/spec/support/helpers/content_editor_helpers.rb
@@ -9,6 +9,10 @@ module ContentEditorHelpers
end
end
+ def switch_to_markdown_editor
+ click_button("Switch to plain text editing")
+ end
+
def switch_to_content_editor
click_button("Switch to rich text editing")
end