Author: konstantin.mishin
Date: 2009-04-23 08:54:00 -0400 (Thu, 23 Apr 2009)
New Revision: 13793
Modified:
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java
Log:
RF-6909
Modified:
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java
===================================================================
---
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java 2009-04-23
12:32:01 UTC (rev 13792)
+++
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/RealWorldHelper.java 2009-04-23
12:54:00 UTC (rev 13793)
@@ -109,7 +109,7 @@
selenium.type(HtmlConstants.LoginPage.passwordId, UserInfoConstants.LOGIN_PASSWORD);
selenium.click(HtmlConstants.LoginPage.loginButtonPath);
- selenium.waitForPageToLoad("10000");
+ waitForAjaxCompletion(selenium);
if (!isLogined(selenium, UserInfoConstants.LOGIN_NAME)) {
Assert.fail("Authentication was not succesfull. Logged user text should contain
typed login name");
@@ -167,10 +167,8 @@
public static void openImageFromAlbumArea(Selenium selenium) {
String imageName =
selenium.getText(RealWorldHelper.HtmlConstants.AlbumArea.IMAGE_NAME_PATH);
-
selenium.click(RealWorldHelper.HtmlConstants.AlbumArea.IMAGE_LINK_PATH);
waitForAjaxCompletion(selenium);
-
testImageArea(selenium, imageName);
}
Show replies by date