Author: Alex.Kolonitsky
Date: 2009-05-13 10:55:41 -0400 (Wed, 13 May 2009)
New Revision: 14167
Modified:
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/SearchTest.java
Log:
fix test search
Modified:
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/SearchTest.java
===================================================================
---
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/SearchTest.java 2009-05-13
14:49:44 UTC (rev 14166)
+++
trunk/examples/photoalbum/tests/src/test/java/org/richfaces/photoalbum/testng/SearchTest.java 2009-05-13
14:55:41 UTC (rev 14167)
@@ -26,7 +26,7 @@
public void testSearchForSimpleUser() {
renderPage();
- checkResult(NATURE, 4, 3, OBJECTS_ALL);
+ checkResult(NATURE, 1, 3, OBJECTS_ALL);
}
@Test
@@ -39,7 +39,7 @@
selenium.check(OBJECTS_MY);
selenium.check(OBJECTS_SHARED);
- checkResult(NATURE, 2, 3, OBJECTS_ALL);
+ checkResult(NATURE, 1, 3, OBJECTS_ALL);
}
@Test
@@ -52,7 +52,7 @@
selenium.check(OBJECTS_MY);
selenium.uncheck(OBJECTS_SHARED);
- checkResult(SPORT, 1, 1, OBJECTS_ALL);
+ checkResult(SPORT, 1, 3, OBJECTS_ALL);
}
@Test