use of org.xwiki.officeimporter.test.po.OfficeServerAdministrationSectionPage in project xwiki-platform by xwiki.
the class OfficeImporterTest method setUp.
@Before
public void setUp() {
// Connect the wiki to the office server if it is not already done
AdministrationPage administrationPage = AdministrationPage.gotoPage();
administrationPage.clickSection("Content", "Office Server");
OfficeServerAdministrationSectionPage officeServerAdministrationSectionPage = new OfficeServerAdministrationSectionPage();
if (!"Connected".equals(officeServerAdministrationSectionPage.getServerState())) {
officeServerAdministrationSectionPage.startServer();
assertEquals("Connected", officeServerAdministrationSectionPage.getServerState());
}
}
Aggregations