use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.
the class CollectionSheetEntrySimpleTest method logOut.
@AfterMethod
public void logOut() {
(new MifosPage(selenium)).logout();
new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.
the class CollectionSheetEntryCustomerAccountTest method logOut.
@AfterMethod
public void logOut() {
(new MifosPage(selenium)).logout();
new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.
the class ClientTest method testAttachQuestionGroup.
private void testAttachQuestionGroup(String response) {
QuestionnairePage questionnairePage = viewClientDetailsPage.getQuestionnairePage(questionGroupTitle);
verifyCancel(questionnairePage);
questionnairePage = checkMandatoryQuestionValidation(questionGroupTitle, question1, question2, viewClientDetailsPage);
questionnairePage.setResponse(question1, response);
MifosPage mifosPage = questionnairePage.submit();
Assert.assertTrue(mifosPage instanceof ClientViewDetailsPage);
ClientViewDetailsPage clientViewDetailsPage = (ClientViewDetailsPage) mifosPage;
viewClientDetailsPage = clientViewDetailsPage;
}
use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.
the class ClientTest method testEditQuestionGroup.
private void testEditQuestionGroup(String answer) {
int instanceId = latestInstanceId(questionGroupInstancesOfClient);
QuestionGroupResponsePage questionGroupResponsePage = viewClientDetailsPage.navigateToQuestionGroupResponsePage(instanceId);
QuestionnairePage questionnairePage = questionGroupResponsePage.navigateToEditResponses();
verifyCancel(questionnairePage);
questionGroupResponsePage = viewClientDetailsPage.navigateToQuestionGroupResponsePage(instanceId);
questionnairePage = questionGroupResponsePage.navigateToEditResponses();
questionnairePage.setResponse(question1, answer);
MifosPage mifosPage = questionnairePage.submit();
Assert.assertTrue(mifosPage instanceof ClientViewDetailsPage);
ClientViewDetailsPage clientViewDetailsPage = (ClientViewDetailsPage) mifosPage;
viewClientDetailsPage = clientViewDetailsPage;
}
use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.
the class CollectionSheetEntryTest method logOut.
@AfterMethod
public void logOut() {
(new MifosPage(selenium)).logout();
new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
Aggregations