Commit b673fcc1 authored by Mike Greiling's avatar Mike Greiling

clear localstorage between tests

parent 5e63566b
......@@ -11,6 +11,10 @@ feature 'Issue markdown toolbar', :js do
visit project_issue_path(project, issue)
end
after do
execute_script("localStorage.clear();");
end
it "doesn't include first new line when adding bold" do
find('#note-body').native.send_keys('test')
find('#note-body').native.send_key(:enter)
......
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