Commit 7127543c authored by holivier's avatar holivier

Forgot to comment call to contactMechs in PartyRecap

parent 4dff007d
......@@ -32,13 +32,13 @@ public class PartyRecapFjs extends SimpleTestSuite{
* </ul>
* </li>
* </ul>
*
*
* @throws Exception
*/
@Test
public void functionnalTest() throws Exception {
OfbizSWdHelper.login(this, testCaseData.getDataObj("login"), "Starting basic PartyMgmt Portal page test");
// if you want go on an other component / theme / language call
// if you want go on an other component / theme / language call
OfbizSWdHelper.changeThemeLanguage(this.getBaseUrl(), "partymgr", "English - [en]", "TOMAHAWK", this);
// You are now in the partymgr Module, logged in as admin, in English with the TOMAHAWK theme
// Put some nice Selenium Code here
......@@ -68,12 +68,12 @@ public class PartyRecapFjs extends SimpleTestSuite{
waitFor = driverWait.until(ExpectedConditions.presenceOfElementLocated(By.xpath("//div[@id='ListParties_recap_div']/a[@href='/partymgr/control/showPortalPage?portalPageId=PartyRecap&partyId="+partyId+"']/img")));
waitFor.click();
driverWait.until(ExpectedConditions.presenceOfElementLocated(By.xpath("//div[@id='scrlt_PartyNotes']")));
//Testing the differents portlets :
//Attribute :
// PartyFjsScreens.attribute(this);
//ContactMechs :
PartyFjsScreens.contactMechs(this, partyId, false);
//PartyFjsScreens.contactMechs(this, partyId, false);
//Details :
driverWait.until(ExpectedConditions.presenceOfElementLocated(By.xpath("//div[@id='scrlt_PartyInfo']")));
assertTrue(PartyFjsScreens.detail(this, partyId).contains("Testing comment"));
......@@ -94,9 +94,9 @@ public class PartyRecapFjs extends SimpleTestSuite{
PartyFjsScreens.roles(this);
//User Login :
PartyFjsScreens.userLogin(this, "User1b","User2b");
}
public static boolean isAlertPresent(FirefoxDriver driver) {
try {
driver.switchTo().alert();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment