예제 #1
0
  private ImportTransactionsPage importTransaction(String importFile) {
    AdminPage adminPage = navigationHelper.navigateToAdminPage();
    ImportTransactionsPage importTransactionsPage = adminPage.navigateToImportTransactionsPage();
    importTransactionsPage.verifyPage();
    importTransactionsPage.reviewTransactions(importFile, EXCEL_IMPORT_TYPE);

    return importTransactionsPage;
  }
예제 #2
0
 //  Test the import transaction page loads with no plugins available  - regression test for
 // MIFOS-2683
 @SuppressWarnings("PMD.SignatureDeclareThrowsException")
 @Test(enabled = true)
 public void importTransactionPageLoad() throws Exception {
   String tempFileName = pluginsUtil.movePluginToTemp();
   AdminPage adminPage = navigationHelper.navigateToAdminPage();
   ImportTransactionsPage importTransactionsPage = adminPage.navigateToImportTransactionsPage();
   importTransactionsPage.verifyPage();
   pluginsUtil.movePluginFromTemp(tempFileName);
 }