use of org.wso2.iot.integration.ui.pages.groups.DeviceGroupsPage in project product-iots by wso2.
the class DeviceGroupTest method isGroupCreatedTest.
@Test(description = "Check whether the created group exists", dependsOnMethods = { "addNewGroupTest" })
public void isGroupCreatedTest() throws IOException, XPathExpressionException {
driver.get(getWebAppURL() + Constants.IOT_HOME_URL);
DeviceGroupsPage groupsPage = adminDashboard.viewGroups();
Assert.assertTrue(groupsPage.isGroupCreated(Constants.GROUP_NAME));
}
Aggregations