Commit 69ca1597 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Fix MR versions spec

parent 72e94991
......@@ -24,7 +24,7 @@ feature 'Merge Request versions', js: true, feature: true do
before do
page.within '.mr-version-dropdown' do
find('.btn-default').click
click_link 'version 1'
find(:link, 'version 1').trigger('click')
end
end
......@@ -45,7 +45,7 @@ feature 'Merge Request versions', js: true, feature: true do
before do
page.within '.mr-version-compare-dropdown' do
find('.btn-default').click
click_link 'version 1'
find(:link, 'version 1').trigger('click')
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