Commit b4d9b2c1 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'qa/fix_jira_spec' into 'master'

Fix failing Jira e2e spec

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