use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isSomethingNotCheckedTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if something is selected from a checkbox")
public void isSomethingNotCheckedTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.newElement(Locator.ID, "that").is().somethingSelected());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method negativeIsPromptPresentTest.
@Test(groups = { "integration", "actions", "is" }, description = "A integration negative test to check the isPromptPresent method")
public void negativeIsPromptPresentTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.is().promptPresent());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method negativeIsTextPresentInSourceTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration negative test to check the isTextPresentInSource method")
public void negativeIsTextPresentInSourceTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.newElement(Locator.ID, "submit_button").click();
Assert.assertFalse(app.is().textPresentInSource("Hello World"));
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isSomethingNotSelectedTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if something is selected from a dropdown")
public void isSomethingNotSelectedTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.newElement(Locator.ID, "car_list_multiple").is().somethingSelected());
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionIsIT method isElementTableNotExistTest.
@Test(groups = { "integration", "actions", "is" }, description = "An integration test to check if an element is a table")
public void isElementTableNotExistTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
Assert.assertFalse(app.newElement(Locator.ID, "non-existent-name").is().table());
// verify no issues
finish();
}
Aggregations