use of org.mifos.test.acceptance.framework.search.SearchResultsPage 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.search.SearchResultsPage 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.search.SearchResultsPage 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.search.SearchResultsPage 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 + "*");
}
use of org.mifos.test.acceptance.framework.search.SearchResultsPage in project head by mifos.
the class ViewClosedAccountsTest method navigateToClientDetailsFromClosedAccounts.
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
public void navigateToClientDetailsFromClosedAccounts() throws Exception {
LoginPage loginPage = appLauncher.launchMifos();
HomePage homePage = loginPage.loginSuccessfullyUsingDefaultCredentials();
homePage.verifyPage();
SearchResultsPage searchResultsPage = homePage.search("Client1233266063395");
searchResultsPage.verifyPage();
ClientViewDetailsPage clientViewDetailsPage = searchResultsPage.navigateToClientViewDetailsPage("link=Stu*");
ClosedAccountsPage closedAccountsPage = clientViewDetailsPage.navigateToClosedAccountsPage();
closedAccountsPage.verifyPage();
closedAccountsPage.returnToClientViewDetailsPage();
}
Aggregations