Search in sources :

Example 1 with UserListingPage

use of org.wso2.iot.integration.ui.pages.uesr.UserListingPage in project product-iots by wso2.

the class AdminFunctionsTest method deleteUserTest.

@Test(description = "Test for deleting a created user", dependsOnMethods = { "createUserTest" })
public void deleteUserTest() throws XPathExpressionException, IOException, InterruptedException {
    driver.get(getWebAppURL() + Constants.IOT_HOME_URL);
    IOTAdminDashboard adminDashboard = new IOTAdminDashboard(driver);
    UserListingPage userListingPage = adminDashboard.viewUser();
    userListingPage.deleteUser();
}
Also used : UserListingPage(org.wso2.iot.integration.ui.pages.uesr.UserListingPage) IOTAdminDashboard(org.wso2.iot.integration.ui.pages.home.IOTAdminDashboard) Test(org.testng.annotations.Test)

Aggregations

Test (org.testng.annotations.Test)1 IOTAdminDashboard (org.wso2.iot.integration.ui.pages.home.IOTAdminDashboard)1 UserListingPage (org.wso2.iot.integration.ui.pages.uesr.UserListingPage)1