Commit 1bf5d2f4 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'sh-fix-epic-spec-failure' into 'master'

Workaround for epic spec failure

Closes #4185

See merge request gitlab-org/gitlab-ee!3914
parents b96c9b43 4f84c74f
......@@ -55,6 +55,10 @@ describe 'Epic Issues', :js do
def add_issues(references)
find('.related-issues-block h3.panel-title button').click
find('.js-add-issuable-form-input').set(references)
# When adding long references, for some reason the input gets stuck
# waiting for more text. Send a keystroke before clicking the button to
# get out of this mode.
find('.js-add-issuable-form-input').send_keys(:tab)
find('.js-add-issuable-form-add-button').click
wait_for_requests
......
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