@AfterClass(groups = "wso2.es.notification", alwaysRun = true)
 public void tearDown() throws Exception {
   // delete gadget and email, logout from admin console and publisher
   resourceAdminServiceClient.deleteResource(resourcePath);
   ESUtil.logoutFromAdminConsole(driver, baseUrl);
   driver.get(baseUrl + PUBLISHER_LOGOUT_URL);
   driver.quit();
 }