geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r818694 - /geronimo/server/branches/2.2/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java
Date Fri, 25 Sep 2009 02:11:09 GMT
Author: xuhaihong
Date: Fri Sep 25 02:11:08 2009
New Revision: 818694

URL: http://svn.apache.org/viewvc?rev=818694&view=rev
Log:
Update console test case due to some code changes of the user/group portlet

Modified:
    geronimo/server/branches/2.2/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java

Modified: geronimo/server/branches/2.2/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java?rev=818694&r1=818693&r2=818694&view=diff
==============================================================================
--- geronimo/server/branches/2.2/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java
(original)
+++ geronimo/server/branches/2.2/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java
Fri Sep 25 02:11:08 2009
@@ -37,7 +37,7 @@
         selenium.click("//input[@value='Add']");
         waitForPageLoad();
         assertTrue(selenium.isTextPresent("myuser"));
-        selenium.click("link=Delete");
+        selenium.click("//a[@onclick=\"return confirm('Confirm Delete user myuser?');\"]");
         waitForPageLoad();
         assertTrue(selenium.getConfirmation().matches("^Confirm Delete user myuser[\\s\\S]$"));
         waitForPageLoad();



Mime
View raw message