Commit 2fbd63fa authored by Phil Hughes's avatar Phil Hughes

spec fixes

parent 10734d19
......@@ -14,7 +14,7 @@ describe 'Issues csv' do
def request_csv(params = {})
visit project_issues_path(project, params)
page.within('.breadcrumbs') do
page.within('.nav-controls') do
click_on 'Export as CSV'
end
click_on 'Export issues'
......
......@@ -818,7 +818,7 @@ describe 'Filter issues', js: true do
it 'updates atom feed link for group issues' do
visit issues_group_path(group, milestone_title: milestone.title, assignee_id: user.id)
link = find('.breadcrumbs a', text: 'Subscribe')
link = find('.nav-controls a', text: 'Subscribe')
params = CGI.parse(URI.parse(link[:href]).query)
auto_discovery_link = find('link[type="application/atom+xml"]', visible: false)
auto_discovery_params = CGI.parse(URI.parse(auto_discovery_link[:href]).query)
......
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