Commit 7d5664df authored by Desiree Chevalier's avatar Desiree Chevalier Committed by Mark Lapierre

Fix edit scoped label spec

parent c2a74490
...@@ -8,10 +8,6 @@ module QA ...@@ -8,10 +8,6 @@ module QA
class Show < QA::Page::Base class Show < QA::Page::Base
include QA::Page::Component::Issuable::Common include QA::Page::Component::Issuable::Common
view 'app/assets/javascripts/issue_show/components/title.vue' do
element :title, required: true
end
view 'ee/app/assets/javascripts/epic/components/epic_header.vue' do view 'ee/app/assets/javascripts/epic/components/epic_header.vue' do
element :close_reopen_epic_button element :close_reopen_epic_button
end end
......
...@@ -8,6 +8,7 @@ module QA ...@@ -8,6 +8,7 @@ module QA
def self.included(base) def self.included(base)
base.view 'app/assets/javascripts/issue_show/components/title.vue' do base.view 'app/assets/javascripts/issue_show/components/title.vue' do
element :edit_button element :edit_button
element :title, required: true
end end
base.view 'app/assets/javascripts/issue_show/components/fields/title.vue' do base.view 'app/assets/javascripts/issue_show/components/fields/title.vue' do
......
...@@ -157,7 +157,7 @@ module QA ...@@ -157,7 +157,7 @@ module QA
def select_filter_with_text(text) def select_filter_with_text(text)
retry_on_exception do retry_on_exception do
click_body click_element(:title)
click_element :discussion_filter click_element :discussion_filter
find_element(:filter_options, text: text).click find_element(:filter_options, text: text).click
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment