Commit 0b0fc1a9 authored by Sean Gregory's avatar Sean Gregory Committed by Kushal Pandya

Fix failing Jira e2e spec

parent fc277453
......@@ -166,7 +166,6 @@ export default {
class="issue gl-display-flex! gl-px-5!"
:class="{ closed: issuable.closedAt, today: createdInPastDay }"
:data-labels="labelIdsString"
data-qa-selector="issuable_item_container"
:data-qa-issue-id="issuableId"
>
<gl-form-checkbox
......
......@@ -9,10 +9,7 @@ module QA
class Index < QA::Page::Base
view 'app/assets/javascripts/vue_shared/issuable/list/components/issuable_list_root.vue' do
element :issuable_search_container
end
view 'app/assets/javascripts/vue_shared/issuable/list/components/issuable_item.vue' do
element :issuable_item_container
element :issuable_container
end
def search_issues(issue_search_text)
......@@ -30,7 +27,7 @@ module QA
def click_issue(issue_key)
id = issue_key.split('-')[-1]
within_element(:issuable_item_container, issue_id: id) do
within_element(:issuable_container, issue_id: id) do
find('a.issue-title-text').click
end
end
......
......@@ -61,8 +61,7 @@ module QA
it(
'views an issue',
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348236',
quarantine: { type: :investigating }
testcase: 'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348236'
) do
EE::Page::Project::Issue::Jira::Index.perform do |jira_index_page|
jira_index_page.click_issue(@issue_key_two)
......
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