diff options
author | Stan Hu <stanhu@gmail.com> | 2016-10-17 06:21:57 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-10-17 15:14:46 +0300 |
commit | 7e3ac73241107beb7e5334b52c60e53c1cebb6f0 (patch) | |
tree | 92a4bf1bc5fabdcd3726d05bf2a1fb2e2b3a43f1 /spec | |
parent | b777bd73f30bc5a2cf03e73512ec31bbe747b320 (diff) |
Merge branch 'fix-spinach-compare-tests' into 'master'
Fix broken Spinach tests caused by changes in !6550
!6550 added dropdowns for the branch "from" and "to" fields, but these Spinach tests were not updated accordingly.
Partial fix to #23378
See merge request !6910
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/compare_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/compare_spec.rb b/spec/features/compare_spec.rb index 33dfd0d5b62..c22109d19b6 100644 --- a/spec/features/compare_spec.rb +++ b/spec/features/compare_spec.rb @@ -45,6 +45,6 @@ describe "Compare", js: true do dropdown = find(".js-compare-#{dropdown_type}-dropdown") dropdown.find(".compare-dropdown-toggle").click dropdown.fill_in("Filter by branch/tag", with: selection) - click_link selection + find_link(selection, visible: true).click end end |