Exemple #1
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);
 }
Exemple #2
0
 @Override
 @SuppressWarnings("PMD.SignatureDeclareThrowsException")
 // one of the dependent methods throws Exception
 @BeforeMethod
 public void setUp() throws Exception {
   pluginsUtil.loadPlugin();
   navigationHelper = new NavigationHelper(selenium);
   propertiesHelper = new CustomPropertiesHelper(selenium);
 }
Exemple #3
0
 @AfterMethod
 public void tearDown() {
   (new MifosPage(selenium)).logout();
   pluginsUtil.unloadPlugin();
 }