Package org.xwiki.test.ui.xe.elements

Examples of org.xwiki.test.ui.xe.elements.AllDocsPage.gotoPage()


    // Used example from JIRA issue
    @Test
    public void testAttachmentsPane()
    {
        AllDocsPage docsPage = new AllDocsPage();
        docsPage.gotoPage();
        LiveTableElement liveTable = docsPage.clickAttachmentsTab();
        // Here we test if all the Columns are displayed
        Assert.assertTrue("No Filename column found", liveTable.hasColumn("Filename"));
        Assert.assertTrue("No Space column found", liveTable.hasColumn("Space"));
        Assert.assertTrue("No Date column found", liveTable.hasColumn("Date"));
View Full Code Here


{
    @Test
    public void testTableViewActions() throws Exception
    {
        AllDocsPage page = new AllDocsPage();
        page.gotoPage();

        // Test 1: Verify that the Action column is displayed only for administrators.
        LiveTableElement livetable = page.clickIndexTab();
        Assert.assertTrue("No Actions column found", livetable.hasColumn("Actions"));
        page.logout();
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.