diff options
author | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-03-04 11:23:55 +0300 |
---|---|---|
committer | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-03-04 16:58:23 +0300 |
commit | ed29dd5293896aa3848d799420bb63991c55af49 (patch) | |
tree | c987fb45b1932d0bf7655497a3dd16b9a8eda1b7 /spec/support | |
parent | e4f9c3f63ad7e8147acecd2324de90b63ffcd940 (diff) |
Align nav-sidebar with design.gitlab.com docs
Updated nav-sidebar to reflect the documented
behaviour from the design.gitlab.com docs:
https://design.gitlab.com/regions/navigation#contextual-navigation
Updated rspec tests to reflect the expected behaviour
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/features/reportable_note_shared_examples.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/features/reportable_note_shared_examples.rb b/spec/support/features/reportable_note_shared_examples.rb index 8cfce49da8a..89dfbf931d2 100644 --- a/spec/support/features/reportable_note_shared_examples.rb +++ b/spec/support/features/reportable_note_shared_examples.rb @@ -41,7 +41,7 @@ shared_examples 'reportable note' do |type| def open_dropdown(dropdown) # make window wide enough that tooltip doesn't trigger horizontal scrollbar - resize_window(1200, 800) + restore_window_size dropdown.find('.more-actions-toggle').click dropdown.find('.dropdown-menu li', match: :first) |