use of org.mifos.test.acceptance.framework.HomePage in project head by mifos.
the class AdditionalHolidayTest method navigateToCreateLoanAccountSearchPage.
private CreateLoanAccountSearchPage navigateToCreateLoanAccountSearchPage() {
LoginPage loginPage = appLauncher.launchMifos();
loginPage.verifyPage();
HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
ClientsAndAccountsHomepage clientsAndAccountsPage = homePage.navigateToClientsAndAccountsUsingHeaderTab();
return clientsAndAccountsPage.navigateToCreateLoanAccountUsingLeftMenu();
}
use of org.mifos.test.acceptance.framework.HomePage in project head by mifos.
the class NavigationHelper method navigateToLoanAccountPage.
public LoanAccountPage navigateToLoanAccountPage(String loanAccountID) {
HomePage homePage = navigateToHomePage();
SearchResultsPage searchResultsPage = homePage.search(loanAccountID);
searchResultsPage.verifyPage();
LoanAccountPage loanAccountPage = searchResultsPage.navigateToLoanAccountDetailPage(loanAccountID);
return loanAccountPage;
}
use of org.mifos.test.acceptance.framework.HomePage in project head by mifos.
the class LoanTestHelper method navigateToLoanAccountPage.
public LoanAccountPage navigateToLoanAccountPage(CreateLoanAccountSearchParameters searchParams) {
String searchString = searchParams.getSearchString();
LoginPage loginPage = new AppLauncher(selenium).launchMifos().logout();
loginPage.verifyPage();
HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
homePage.verifyPage();
SearchResultsPage searchResultsPage = homePage.search(searchString);
return searchResultsPage.navigateToLoanAccountDetailPage(searchString);
}
use of org.mifos.test.acceptance.framework.HomePage in project head by mifos.
the class GroupTest method testHitGroupDashboard.
// one of the dependent methods throws Exception
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@Test(singleThreaded = true, groups = { "group", "acceptance", "ui", "no_db_unit" })
public void testHitGroupDashboard() throws Exception {
LoginPage loginPage = appLauncher.launchMifos();
HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
SearchResultsPage searchResultsPage = homePage.search("Default Group");
searchResultsPage.verifyPage();
// click on any search result leading to a group dashboard
searchResultsPage.navigateToGroupViewDetailsPage("link=Default Group*");
}
use of org.mifos.test.acceptance.framework.HomePage in project head by mifos.
the class NavigationHelper method navigateToClientViewDetailsPage.
public ClientViewDetailsPage navigateToClientViewDetailsPage(String clientName) {
HomePage homePage = navigateToHomePage();
SearchResultsPage searchResultsPage = homePage.search(clientName);
searchResultsPage.verifyPage();
return searchResultsPage.navigateToClientViewDetailsPage("link=*" + clientName + "*");
}
Aggregations