use of org.wso2.iot.integration.ui.pages.devices.EnrollDevicePage in project product-iots by wso2.
the class SampleInstallationVerification method installationVerificationTest.
@Test(description = "Verify the sample is available in Virtual devices section.", groups = Constants.TestSample.INSTALL_VERIFY, dependsOnGroups = Constants.TestSample.SAMPLE_INSTALL)
public void installationVerificationTest() throws IOException {
EnrollDevicePage enrollDevicePage = adminDashboard.enrollNewDevice();
Assert.assertTrue(enrollDevicePage.isInstalled());
}
use of org.wso2.iot.integration.ui.pages.devices.EnrollDevicePage in project product-iots by wso2.
the class SampleEnrollmentTest method setup.
@BeforeClass(alwaysRun = true)
public void setup() throws XPathExpressionException, XMLStreamException, IOException {
super.init();
driver = BrowserManager.getWebDriver();
LoginUtils.login(driver, automationContext, getWebAppURL());
IOTAdminDashboard adminDashboard = new IOTAdminDashboard(driver);
EnrollDevicePage enrollDevicePage = adminDashboard.enrollNewDevice();
connectedCupDeviceTypeViewPage = enrollDevicePage.gotoConnectedCupDeviceTypeViewPage();
}
Aggregations