use of org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductPreviewPage in project head by mifos.
the class DefineNewSavingsProductTest method createSavingsProductWithoutInterestRateDetails.
public void createSavingsProductWithoutInterestRateDetails() throws Exception {
SavingsProductParameters params = savingsProductHelper.getGenericSavingsProductParameters(new DateTime(), SavingsProductParameters.VOLUNTARY, SavingsProductParameters.CENTERS);
params.setShortName(StringUtil.getRandomString(3));
DefineNewSavingsProductPreviewPage savingsProductPreviewPage = savingsProductHelper.getDefineSavingsProductPreviewPageWithoutInterestRateDetails(params);
savingsProductPreviewPage.verifyAllElementsAreNotPresent("id=interestRateDetails");
savingsProductPreviewPage.submitAndNavigateToDefineNewSavingsProductConfirmationPage().navigateToSavingsProductDetails().verifyAllElementsAreNotPresent("id=interestRateDetails");
}
Aggregations