Author: vrockai
Date: 2009-02-25 06:16:58 -0500 (Wed, 25 Feb 2009)
New Revision: 12891
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
Log:
many users creation fix
Modified:
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-24
22:39:05 UTC (rev 12890)
+++
branches/JBoss_Portal_Branch_2_7/testsuite/ui-tests/src/org/jboss/portal/test/selenium/IdentityAdminTestCase.java 2009-02-25
11:16:58 UTC (rev 12891)
@@ -434,11 +434,11 @@
@Test(enabled = true, description = "Altering the number of rows in user
search")
public void testSearchUserCount() {
-
+/*
for (int i = 0; i < 95; i++) {
createUser("man" + i + "us", "man" + i +
"pas", "man" + i + "us" + "(a)redhatqa.com");
}
-
+*/
searchSimple("man", "10");
Assert.assertEquals(countTableRows(TBL_USERLIST) - 1, 10, "Wrong number of row in
user table #1.");
@@ -738,10 +738,11 @@
selenium.click(LNK_SEARCH_USER);
selenium.waitForPageToLoad(PAGE_LOAD);
+ selenium.select(SEL_SEARCHUSER_LIMIT, "label=" + count);
+ waitFor(SEARCH_TIMEOUT);
selenium.type(INP_SEARCH_USER, name);
- selenium.select(SEL_SEARCHUSER_LIMIT, "label=" + count);
selenium.click(SUB_SEARCH_USER);
-
+ selenium.waitForPageToLoad(PAGE_LOAD);
waitFor(SEARCH_TIMEOUT);
}
Show replies by date