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 'qa/qa/page/component/rich_text_popover.rb')
-rw-r--r--qa/qa/page/component/rich_text_popover.rb32
1 files changed, 0 insertions, 32 deletions
diff --git a/qa/qa/page/component/rich_text_popover.rb b/qa/qa/page/component/rich_text_popover.rb
deleted file mode 100644
index f5b0c668fb1..00000000000
--- a/qa/qa/page/component/rich_text_popover.rb
+++ /dev/null
@@ -1,32 +0,0 @@
-# frozen_string_literal: true
-
-module QA
- module Page
- module Component
- module RichTextPopover
- extend QA::Page::PageConcern
-
- def self.included(base)
- super
-
- base.view 'app/assets/javascripts/vue_shared/components/markdown/editor_mode_switcher.vue' do
- element 'rich-text-promo-popover'
- end
-
- base.view 'app/views/shared/_broadcast_message.html.haml' do
- element :close_button
- end
- end
-
- def close_rich_text_promo_popover_if_present
- return unless has_element?('rich-text-promo-popover', wait: 0)
-
- within_element('rich-text-promo-popover') do
- click_element('close-button')
- end
- has_no_element?('rich-text-promo-popover')
- end
- end
- end
- end
-end