Commit 08a9e805 authored by Stan Hu's avatar Stan Hu Committed by Rémy Coutable

Merge branch 'fix-compare-spec' into 'master'

Fix broken rspec in compare text

!6910 changed the filter text from "Filter by branch/tag" to "Filter by Git revision"

See merge request !6926
parent 23cb84b5
...@@ -44,7 +44,7 @@ describe "Compare", js: true do ...@@ -44,7 +44,7 @@ describe "Compare", js: true do
def select_using_dropdown(dropdown_type, selection) def select_using_dropdown(dropdown_type, selection)
dropdown = find(".js-compare-#{dropdown_type}-dropdown") dropdown = find(".js-compare-#{dropdown_type}-dropdown")
dropdown.find(".compare-dropdown-toggle").click dropdown.find(".compare-dropdown-toggle").click
dropdown.fill_in("Filter by branch/tag", with: selection) dropdown.fill_in("Filter by Git revision", with: selection)
find_link(selection, visible: true).click find_link(selection, visible: true).click
end end
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