use of org.mifos.test.acceptance.framework.client.ClientViewDetailsPage in project head by mifos.
the class LoanTestHelper method verifyLoansAreNotOnClientsLoanLists.
public void verifyLoansAreNotOnClientsLoanLists(String[] clients, String productName) {
ClientsAndAccountsHomepage clientsAndAccountsHomepage = navigationHelper.navigateToClientsAndAccountsPage();
for (String client : clients) {
ClientViewDetailsPage clientViewDetailsPage = clientsAndAccountsHomepage.searchForClient(client).navigateToSearchResult(client);
clientViewDetailsPage.verifyLoanDoesntExist(productName);
clientsAndAccountsHomepage = clientViewDetailsPage.navigateToClientsAndAccountsPageUsingHeaderTab();
}
}
use of org.mifos.test.acceptance.framework.client.ClientViewDetailsPage 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