Commit 9a767309 authored by Dan Davison's avatar Dan Davison

Merge branch 'qa-e2e-iteration-ff-fix' into 'master'

Update e2e iteration selectors to work with and without ff enabled

See merge request gitlab-org/gitlab!64534
parents 53d9e8ba 8158b561
......@@ -78,7 +78,11 @@ export default {
<p class="gl-font-weight-bold gl-line-height-20 gl-m-0">
{{ getCadenceTitle(currentAttribute) }}
</p>
<gl-link class="gl-text-gray-900! gl-line-height-20" :href="attributeUrl">
<gl-link
class="gl-text-gray-900! gl-line-height-20"
:href="attributeUrl"
data-qa-selector="iteration_link"
>
<gl-icon name="iteration" class="gl-mr-1" />
{{ attributeTitle }}
</gl-link>
......
......@@ -16,8 +16,8 @@ module QA
element :edit_link
end
view 'app/assets/javascripts/sidebar/components/sidebar_dropdown_widget.vue' do
element :iteration_link, "`${issuableAttribute}_link`" # rubocop:disable QA/ElementWithPattern
view 'ee/app/assets/javascripts/sidebar/components/iteration_sidebar_dropdown_widget.vue' do
element :iteration_link
end
view 'app/views/shared/issuable/_sidebar.html.haml' do
......
......@@ -23,7 +23,7 @@ module QA
Flow::Login.sign_in
end
it 'assigns a group iteration to an existing issue', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1173', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/332484', type: :stale } do
it 'assigns a group iteration to an existing issue', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1173' do
issue.visit!
Page::Project::Issue::Show.perform do |issue|
......
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