use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class NavigationHelper method navigateToHomePageAsLogedUser.
public HomePage navigateToHomePageAsLogedUser(String userName, String password) {
LoginPage loginPage = new AppLauncher(selenium).launchMifos();
loginPage.verifyPage();
HomePage homePage = loginPage.loginSuccessfulAs(userName, password);
homePage.verifyPage();
return homePage;
}
use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class ViewClosedAccountsTest method setUp.
@Override
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
appLauncher = new AppLauncher(selenium);
new InitializeApplicationRemoteTestingService().reinitializeApplication(selenium);
}
use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class WaiveLoanFeeTest method setUp.
@Override
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
appLauncher = new AppLauncher(selenium);
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
DateTime targetTime = new DateTime(2011, 2, 28, 14, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
}
use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class EditLoanProductTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
appLauncher = new AppLauncher(selenium);
}
use of org.mifos.test.acceptance.framework.AppLauncher in project head by mifos.
the class AccountingIntegrationTest method setUp.
@Override
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
// one of the dependent methods throws Exception
@BeforeMethod
public void setUp() throws Exception {
super.setUp();
appLauncher = new AppLauncher(selenium);
initRemote.dataLoadAndCacheRefresh(dbUnitUtilities, "REST_API_20110912_dbunit.xml", dataSource, selenium);
DateTimeUpdaterRemoteTestingService dateTimeUpdaterRemoteTestingService = new DateTimeUpdaterRemoteTestingService(selenium);
DateTime targetTime = new DateTime(2012, 12, 4, 13, 0, 0, 0);
dateTimeUpdaterRemoteTestingService.setDateTime(targetTime);
}
Aggregations