Commit 250bde53 authored by Rémy Coutable's avatar Rémy Coutable

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
parents 431bbfa2 18d5541c
.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 @@ class Index < Page::Base
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?)
......
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