Package org.xwiki.blog.test.po

Examples of org.xwiki.blog.test.po.BlogPostInlinePage.waitToLoad()


        // Create the blog post.
        CreateBlogPostPane createBlogPostPane = BlogHomePage.gotoPage().getCreateBlogPostPane();
        createBlogPostPane.setTitle(getTestMethodName());
        BlogPostInlinePage blogPostInlinePage = createBlogPostPane.clickCreateButton();
        blogPostInlinePage.waitToLoad();

        Assert.assertEquals(getTestMethodName(), blogPostInlinePage.getTitle());

        blogPostInlinePage.setTitle("Test blog title");
        blogPostInlinePage.setContent("Test blog content");
View Full Code Here


        Assert.assertEquals(Collections.singletonList("Personal"), blogPostViewPage.getCategories());
        Assert.assertFalse(blogPostViewPage.isPublished());

        // Edit the blog post.
        blogPostInlinePage = blogPostViewPage.clickEditBlogPostIcon();
        blogPostInlinePage.waitToLoad();

        Assert.assertEquals("Test blog title", blogPostInlinePage.getTitle());
        Assert.assertEquals("Test blog content", blogPostInlinePage.getContent());
        Assert.assertEquals(Collections.singletonList("Personal"), blogPostInlinePage.getCategories());
        Assert.assertFalse(blogPostInlinePage.isPublished());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.