Commit 21b4c1c2 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'fix-create_new_mr_spec-dropdown-transient-failure-ee' into 'master'

find and match first dropdown before clicking

See merge request !1795
parents d2cf8335 a175cdbb
...@@ -34,7 +34,7 @@ feature 'Create New Merge Request', feature: true, js: true do ...@@ -34,7 +34,7 @@ feature 'Create New Merge Request', feature: true, js: true do
expect(page).to have_content('Target branch') expect(page).to have_content('Target branch')
first('.js-target-branch').click first('.js-target-branch').click
first('.dropdown-target-branch .dropdown-content a', text: 'v1.1.0').click find('.dropdown-target-branch .dropdown-content a', text: 'v1.1.0', match: :first).click
expect(page).to have_content "b83d6e3" expect(page).to have_content "b83d6e3"
end end
......
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