Merge branch 'qa-ml-add-label-selector' into 'master'
Fix failing e2e test: qa/specs/features/browser_ui/3_create/merge_request/create_merge_request_spec.rb Closes gitlab-org/quality/staging#38 See merge request gitlab-org/gitlab-ce!25304
This commit is contained in:
commit
250bde53e2
|
@ -1,4 +1,4 @@
|
|||
.text-center
|
||||
.svg-content
|
||||
.svg-content.qa-label-svg
|
||||
= image_tag 'illustrations/priority_labels.svg'
|
||||
%p Star labels to start sorting by priority
|
||||
|
|
|
@ -14,6 +14,10 @@ module QA
|
|||
element :label_svg
|
||||
end
|
||||
|
||||
view 'app/views/shared/empty_states/_priority_labels.html.haml' do
|
||||
element :label_svg
|
||||
end
|
||||
|
||||
def go_to_new_label
|
||||
# The 'labels.svg' takes a fraction of a second to load after which the "New label" button shifts up a bit
|
||||
# This can cause webdriver to miss the hit so we wait for the svg to load (implicitly with has_element?)
|
||||
|
|
Loading…
Reference in New Issue