Fix issuables_counter_spec
This commit is contained in:
parent
0c6b1ad858
commit
ee444bf340
1 changed files with 2 additions and 2 deletions
|
@ -35,9 +35,9 @@ describe 'Navigation bar counter', feature: true, js: true, caching: true do
|
|||
end
|
||||
|
||||
def expect_counters(issuable_type, count)
|
||||
dashboard_count = find('li.active span.badge')
|
||||
dashboard_count = find('li.active')
|
||||
find('.global-dropdown-toggle').click
|
||||
nav_count = find(".dashboard-shortcuts-#{issuable_type} span.badge")
|
||||
nav_count = find(".dashboard-shortcuts-#{issuable_type}")
|
||||
|
||||
expect(nav_count).to have_content(count)
|
||||
expect(dashboard_count).to have_content(count)
|
||||
|
|
Loading…
Reference in a new issue