// 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); }
@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); }
@AfterMethod public void tearDown() { (new MifosPage(selenium)).logout(); pluginsUtil.unloadPlugin(); }