Merge branch 'rs-fix-issue-filter-spec' into 'master'
Fix issue milestone filter spec See merge request !2990
This commit is contained in:
commit
65040978db
|
@ -13,7 +13,7 @@ feature 'Issue filtering by Milestone', feature: true do
|
|||
visit_issues(project)
|
||||
filter_by_milestone(Milestone::None.title)
|
||||
|
||||
expect(page).to have_css('.title', count: 1)
|
||||
expect(page).to have_css('.issue .title', count: 1)
|
||||
end
|
||||
|
||||
scenario 'filters by a specific Milestone', js: true do
|
||||
|
@ -23,7 +23,7 @@ feature 'Issue filtering by Milestone', feature: true do
|
|||
visit_issues(project)
|
||||
filter_by_milestone(milestone.title)
|
||||
|
||||
expect(page).to have_css('.title', count: 1)
|
||||
expect(page).to have_css('.issue .title', count: 1)
|
||||
end
|
||||
|
||||
def visit_issues(project)
|
||||
|
|
Loading…
Reference in New Issue