use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isElementPresentMatchTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if an element is present")
public void isElementPresentMatchTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertTrue(app.newElement(Locator.ID, "submit_button", 0).is().present());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method negativeIsAlertPresentTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration negative test to check the isAlertPresent method")
public void negativeIsAlertPresentTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.is().alertPresent());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isSomethingSelectedTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if something is selected from a dropdown")
public void isSomethingSelectedTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertTrue(app.newElement(Locator.ID, "car_list").is().somethingSelected());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isElementTableTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if an element is a table")
public void isElementTableTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "that").click();
Assert.assertTrue(app.newElement(Locator.ID, "table").is().table());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isElementSelectInputTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if an element is input")
public void isElementSelectInputTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.newElement(Locator.ID, "input_box").is().select());
// verify no issues
finish();
}
Aggregations