diff options
Diffstat (limited to 'spec/features/nav/pinned_nav_items_spec.rb')
-rw-r--r-- | spec/features/nav/pinned_nav_items_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/nav/pinned_nav_items_spec.rb b/spec/features/nav/pinned_nav_items_spec.rb index 1a3ac973ed4..b4d6464ec50 100644 --- a/spec/features/nav/pinned_nav_items_spec.rb +++ b/spec/features/nav/pinned_nav_items_spec.rb @@ -105,7 +105,7 @@ RSpec.describe 'Navigation menu item pinning', :js, feature_category: :navigatio it 'can be unpinned from within its section' do section = find("button", text: 'Operate') - within(section.sibling('ul')) do + within(section.sibling('div')) do remove_pin('Terraform modules') end |