private ImportTransactionsPage importTransaction(String importFile) { AdminPage adminPage = navigationHelper.navigateToAdminPage(); ImportTransactionsPage importTransactionsPage = adminPage.navigateToImportTransactionsPage(); importTransactionsPage.verifyPage(); importTransactionsPage.reviewTransactions(importFile, EXCEL_IMPORT_TYPE); return importTransactionsPage; }
// 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); }