Commit 2ce3e8ac authored by Kaspar Vollenweider's avatar Kaspar Vollenweider

fix system test failing because of ambiguosity

parent f1b41aee
Pipeline #38211 failed with stage
in 16 minutes and 14 seconds
- top_nav ||= false
- unless top_nav
= bootstrap_paginate(@users)
nav.navbar.section-navigation
nav.navbar.section-navigation class=('section-navigation-top' if top_nav)
hr
- if top_nav
ul.list-unstyled
......
......@@ -115,7 +115,7 @@ class UsersTest < ApplicationSystemTestCase
assert page.has_link? social_worker.full_name
assert page.has_link? user_volunteer.full_name
within '.section-navigation' do
within '.section-navigation-top' do
click_link 'Rolle'
click_link 'Superadmin'
end
......@@ -127,7 +127,7 @@ class UsersTest < ApplicationSystemTestCase
refute page.has_link? user_volunteer.full_name
end
within '.section-navigation' do
within '.section-navigation-top' do
click_link 'Rolle: Superadmin'
click_link 'Freiwillige/r'
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment