diff options
Diffstat (limited to 'spec/support/helpers/content_editor_helpers.rb')
-rw-r--r-- | spec/support/helpers/content_editor_helpers.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/support/helpers/content_editor_helpers.rb b/spec/support/helpers/content_editor_helpers.rb index 7597a13e475..7e7ecc197fc 100644 --- a/spec/support/helpers/content_editor_helpers.rb +++ b/spec/support/helpers/content_editor_helpers.rb @@ -1,14 +1,6 @@ # frozen_string_literal: true module ContentEditorHelpers - def close_rich_text_promo_popover_if_present - return unless page.has_css?("[data-testid='rich-text-promo-popover']") - - page.within("[data-testid='rich-text-promo-popover']") do - click_button "Close" - end - end - def switch_to_markdown_editor click_button("Switch to plain text editing") end |