bug3529 Added a trial fix for leaderboard selenium tests for hudson

This commit is contained in:
Vladislav Chumak committed 2017-04-06 12:06:06 +02:00
1 parent 9f8e6e1078
commit c1aa783294
2 files changed
+2 -2

No files matched your search

@@ -45,7 +45,7 @@ public class LeaderboardConfigurationPanelPO extends PageArea {
public LeaderboardUrlConfigurationDialogPO getLeaderboardPageUrlConfigurationDialog() {
clickActionImage(ACTION_NAME_CONFIGURE_URL);
return waitForPO(LeaderboardUrlConfigurationDialogPO::new, "LeaderboardPageUrlConfigurationDialog", 10);
return waitForPO(LeaderboardUrlConfigurationDialogPO::new, "LeaderboardPageUrlConfigurationDialog", 60);
}
}
@@ -144,6 +144,6 @@ public class DataEntryPO extends CellTableRowPO {
}
protected void clickActionImage(String actionName) {
this.context.findElement(By.xpath(".//td/div/div[@name=\"" + actionName + "\"]")).click();
this.context.findElement(By.xpath(".//td/div/div[@name=\"" + actionName + "\"]/img")).click();
}
}