Search in sources :

Example 1 with DeviceGroupsPage

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));
}
Also used : DeviceGroupsPage(org.wso2.iot.integration.ui.pages.groups.DeviceGroupsPage) Test(org.testng.annotations.Test)

Aggregations

Test (org.testng.annotations.Test)1 DeviceGroupsPage (org.wso2.iot.integration.ui.pages.groups.DeviceGroupsPage)1