'Scenario: User submits invalid input to the \'add image\' form
Given I am editing a response on a discussion page
When I click the \'add image\' icon in the editor toolbar
And enter an invalid url to the URL input field
And enter an empty string in the Description input field
And click the \'OK\' button
Then I should be shown 2 error messages'

@attr(shard=2)
def test_edit_response_add_image_error_msg(self):

    self.setup_user()
    self.setup_view()
    page = self.create_single_thread_page('response_edit_test_thread')
    page.visit()
    page.start_response_edit('response_self_author')
    page.add_content_via_editor_button('image', 'response_self_author', '', '')
    page.verify_link_editor_error_messages_shown()
