Search in sources :

Example 6 with ApplicationsPanel

use of org.xwiki.panels.test.po.ApplicationsPanel in project xwiki-platform by xwiki.

the class FilterIT method setUp.

@Before
public void setUp() {
    // Navigate to the Filter app by clicking in the Application Panel.
    // This verifies that the Filter application is registered in the Applications Panel.
    // It also verifies that the Translation is registered properly.
    ApplicationsPanel applicationPanel = ApplicationsPanel.gotoPage();
    this.vp = applicationPanel.clickApplication("Filter Streams Converter");
    // Verify we're on the right page!
    Assert.assertEquals("Filter", this.vp.getMetaDataValue("space"));
    Assert.assertEquals("WebHome", this.vp.getMetaDataValue("page"));
}
Also used : ApplicationsPanel(org.xwiki.panels.test.po.ApplicationsPanel) Before(org.junit.Before)

Aggregations

ApplicationsPanel (org.xwiki.panels.test.po.ApplicationsPanel)6 AbstractTest (org.xwiki.test.ui.AbstractTest)5 Test (org.junit.Test)4 ViewPage (org.xwiki.test.ui.po.ViewPage)4 Before (org.junit.Before)1 ApplicationsPanelAdministrationPage (org.xwiki.panels.test.po.ApplicationsPanelAdministrationPage)1 ReleaseEntryEditPage (org.xwiki.release.test.po.ReleaseEntryEditPage)1 ReleaseHomePage (org.xwiki.release.test.po.ReleaseHomePage)1 LiveTableElement (org.xwiki.test.ui.po.LiveTableElement)1