use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGoIT method deleteCookieTest.
@Test(groups = { "integration", "actions", "go" }, description = "An integration test to check the deleteCookie method")
public void deleteCookieTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.deleteCookie("cookie");
Cookie cookie = app.get().cookie("cookie");
org.testng.Assert.assertNull(cookie);
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGoIT method refreshPageHardErrorTest.
@Test(groups = { "integration", "actions", "go" }, description = "An integration test to check the refreshPageHard method")
public void refreshPageHardErrorTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.killDriver();
app.refreshHard();
// verify 1 issue
finish(1);
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGoIT method goBackOnePageNoBackTest.
@Test(groups = { "integration", "actions", "go" }, description = "An integration test to check the goBackOnePage method")
public void goBackOnePageNoBackTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.goBack();
// verify no issues
finish();
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGoIT method goForwardOnePageErrorTest.
@Test(groups = { "integration", "actions", "go" }, description = "An integration test to check the goForwardOnePage method")
public void goForwardOnePageErrorTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.killDriver();
app.goForward();
// verify 1 issue
finish(1);
}
use of com.coveros.selenified.application.App in project selenified by Coveros.
the class ActionGoIT method deleteNonExistentCookieTest.
@Test(groups = { "integration", "actions", "go" }, description = "An integration test to check the deleteCookie method")
public void deleteNonExistentCookieTest() {
// use this object to manipulate the app
App app = this.apps.get();
// perform some actions
app.deleteCookie("new_cookie");
// verify 1 issue
finish(1);
}
Aggregations