Search in sources :

Example 11 with MifosPage

use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.

the class ImportTransactionsTest method importTransactionPageLoad.

//  Test the import transaction page loads with no plugins available  - regression test for MIFOS-2683
@SuppressWarnings("PMD.SignatureDeclareThrowsException")
@Test(enabled = true, groups = "no_db_unit")
public void importTransactionPageLoad() throws Exception {
    navigationHelper = new NavigationHelper(selenium);
    String tempFileName = pluginsUtil.movePluginToTemp();
    AdminPage adminPage = navigationHelper.navigateToAdminPage();
    ImportTransactionsPage importTransactionsPage = adminPage.navigateToImportTransactionsPage();
    importTransactionsPage.verifyPage();
    pluginsUtil.movePluginFromTemp(tempFileName);
    (new MifosPage(selenium)).logout();
}
Also used : AdminPage(org.mifos.test.acceptance.framework.admin.AdminPage) NavigationHelper(org.mifos.test.acceptance.framework.testhelpers.NavigationHelper) ImportTransactionsPage(org.mifos.test.acceptance.framework.admin.ImportTransactionsPage) MifosPage(org.mifos.test.acceptance.framework.MifosPage) Test(org.testng.annotations.Test)

Example 12 with MifosPage

use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.

the class LoanImportTest method logOut.

@AfterMethod
public void logOut() {
    (new MifosPage(selenium)).logout();
    new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
Also used : MifosPage(org.mifos.test.acceptance.framework.MifosPage) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) AfterMethod(org.testng.annotations.AfterMethod)

Example 13 with MifosPage

use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.

the class ClientDataImportTest method logOut.

@AfterMethod
public void logOut() {
    (new MifosPage(selenium)).logout();
    new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
Also used : MifosPage(org.mifos.test.acceptance.framework.MifosPage) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) AfterMethod(org.testng.annotations.AfterMethod)

Example 14 with MifosPage

use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.

the class SavingsImportTest method logOut.

@AfterMethod
public void logOut() {
    (new MifosPage(selenium)).logout();
    new DateTimeUpdaterRemoteTestingService(selenium).resetDateTime();
}
Also used : MifosPage(org.mifos.test.acceptance.framework.MifosPage) DateTimeUpdaterRemoteTestingService(org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService) AfterMethod(org.testng.annotations.AfterMethod)

Example 15 with MifosPage

use of org.mifos.test.acceptance.framework.MifosPage in project head by mifos.

the class RedoNewGlimLoanDisbursalTest method logOut.

@AfterMethod
public void logOut() {
    customPropertiesHelper.setNewGroupLoanWithMembers(false);
    new MifosPage(selenium).logout();
}
Also used : MifosPage(org.mifos.test.acceptance.framework.MifosPage) AfterMethod(org.testng.annotations.AfterMethod)

Aggregations

MifosPage (org.mifos.test.acceptance.framework.MifosPage)21 AfterMethod (org.testng.annotations.AfterMethod)10 DateTimeUpdaterRemoteTestingService (org.mifos.test.acceptance.remote.DateTimeUpdaterRemoteTestingService)8 HomePage (org.mifos.test.acceptance.framework.HomePage)4 LoginPage (org.mifos.test.acceptance.framework.login.LoginPage)4 QuestionnairePage (org.mifos.test.acceptance.framework.questionnaire.QuestionnairePage)3 AppLauncher (org.mifos.test.acceptance.framework.AppLauncher)2 AdminPage (org.mifos.test.acceptance.framework.admin.AdminPage)2 ClientViewDetailsPage (org.mifos.test.acceptance.framework.client.ClientViewDetailsPage)2 NavigationHelper (org.mifos.test.acceptance.framework.testhelpers.NavigationHelper)2 Test (org.testng.annotations.Test)2 ArrayList (java.util.ArrayList)1 HashMap (java.util.HashMap)1 Map (java.util.Map)1 DateTimeService (org.mifos.framework.util.DateTimeService)1 EditPenaltyPreviewPage (org.mifos.test.acceptance.framework.admin.EditPenaltyPreviewPage)1 ImportTransactionsPage (org.mifos.test.acceptance.framework.admin.ImportTransactionsPage)1 NewPenaltyPreviewPage (org.mifos.test.acceptance.framework.admin.NewPenaltyPreviewPage)1 ClientSearchResultsPage (org.mifos.test.acceptance.framework.client.ClientSearchResultsPage)1 ChangePasswordPage (org.mifos.test.acceptance.framework.login.ChangePasswordPage)1