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
This commit is contained in:
commit
cb8654e856
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue