'Start a new knowledge base article.
Preview.
Verify the contents in the preview'

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

    user = variables['users']['default']
    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.click_article_preview_button()
    actual_preview_text = kb_new_article.article_preview_text
    assert (mock_article['content'] == actual_preview_text)
