Search in sources :

Example 1 with DefineNewSavingsProductPreviewPage

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");
}
Also used : DefineNewSavingsProductPreviewPage(org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductPreviewPage) SavingsProductParameters(org.mifos.test.acceptance.framework.savingsproduct.SavingsProductParameters) DateTime(org.joda.time.DateTime)

Aggregations

DateTime (org.joda.time.DateTime)1 DefineNewSavingsProductPreviewPage (org.mifos.test.acceptance.framework.savingsproduct.DefineNewSavingsProductPreviewPage)1 SavingsProductParameters (org.mifos.test.acceptance.framework.savingsproduct.SavingsProductParameters)1