diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-07-19 02:00:15 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-07-21 19:55:16 +0300 |
commit | d997109482136bda30744f56ea2cd4aba2b45848 (patch) | |
tree | ab92c2d858fa181f9c4e6e2c8ff48014ff54a2f2 /spec/features/expand_collapse_diffs_spec.rb | |
parent | 0b3369f8bf18a5382c82e4099ce206b3e37858fe (diff) | |
download | gitlab-ce-diff-options.tar.gz |
Spec fixes for removed UI elements.diff-options
Diffstat (limited to 'spec/features/expand_collapse_diffs_spec.rb')
-rw-r--r-- | spec/features/expand_collapse_diffs_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/expand_collapse_diffs_spec.rb b/spec/features/expand_collapse_diffs_spec.rb index 688f68d3cff..853441426db 100644 --- a/spec/features/expand_collapse_diffs_spec.rb +++ b/spec/features/expand_collapse_diffs_spec.rb @@ -210,7 +210,8 @@ feature 'Expand and collapse diffs', js: true, feature: true do context 'expanding all diffs' do before do - click_link('Expand all') + find('.inline-parallel-buttons [data-toggle=dropdown]').trigger('click') + find('.inline-parallel-buttons .expand-all').trigger('click') wait_for_ajax execute_script('window.ajaxUris = []; $(document).ajaxSend(function(event, xhr, settings) { ajaxUris.push(settings.url) });') end |