page.shouldhave_content('Sorry, we cannot revert this merge request automatically.')
end
step'I revert the changes in a new merge request'do
page.within('#modal-revert-commit')do
click_button'Revert'
end
end
step'I should see the new merge request notice'do
page.shouldhave_content('The merge request has been successfully reverted. You can now submit a merge request to get this change into the original branch.')