'Creates a new knowledge base article.
Translate article'

def test_that_article_can_be_translated(self, base_url, selenium, variables):

    user = variables['users']['admin']
    kb_new_article = KnowledgeBaseNewArticle(base_url, selenium).open(user['username'], user['password'])
    mock_article = MockArticle()
    kb_new_article.set_article(mock_article)
    kb_new_article.submit_article()
    kb_article_history = kb_new_article.set_article_comment_box(mock_article['comment'])
    kb_translate_pg = kb_article_history.navigation.click_translate_article()
    kb_translate_pg.click_translate_language('Deutsch    (de)')
    mock_article_deutsch = MockArticle(suffix='_deutsch')
    kb_translate_pg.type_title(mock_article_deutsch['title'])
    kb_translate_pg.type_slug(mock_article_deutsch['slug'])
    kb_translate_pg.type_search_result_summary(mock_article_deutsch['summary'])
    kb_translate_pg.click_submit_review()
    change_comment = mock_article_deutsch['comment']
    kb_translate_pg.type_modal_describe_changes(change_comment)
    kb_article_history = kb_translate_pg.click_modal_submit_changes_button()
    assert (change_comment == kb_article_history.most_recent_revision_comment)
    assert ('Deutsch' in kb_article_history.revision_history)
    kb_article_history.delete_entire_article_document()
