Commit 5015d29f authored by Kushal Pandya's avatar Kushal Pandya

Add test for Filtered search bar

parent f741f620
......@@ -22,6 +22,12 @@ describe 'epics list', :js do
expect(first('.nav-sidebar .active a .count')).to have_content('2')
end
it 'renders the filtered search bar correctly' do
page.within('.content-wrapper .content') do
expect(page).to have_css('.epics-filters')
end
end
it 'renders the list correctly' do
page.within('.content-wrapper .content') do
expect(find('.top-area')).to have_content('All 2')
......
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