Commit d4f3fca9 authored by Mike Greiling's avatar Mike Greiling

fix broken add_cookies

parent d7b48eb0
...@@ -6,7 +6,8 @@ feature 'Merge requests > User posts diff notes', :js do ...@@ -6,7 +6,8 @@ feature 'Merge requests > User posts diff notes', :js do
let(:project) { merge_request.source_project } let(:project) { merge_request.source_project }
before do before do
page.driver.set_cookie('sidebar_collapsed', 'true') visit '/'
page.driver.browser.manage.add_cookie(name: 'sidebar_collapsed', value: 'true')
project.add_developer(user) project.add_developer(user)
sign_in(user) sign_in(user)
......
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