geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r820208 - /geronimo/server/branches/2.1/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java
Date Wed, 30 Sep 2009 08:35:55 GMT
Author: xuhaihong
Date: Wed Sep 30 08:35:55 2009
New Revision: 820208

URL: http://svn.apache.org/viewvc?rev=820208&view=rev
Log:
Fix testNewUser case failure

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

Modified: geronimo/server/branches/2.1/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java?rev=820208&r1=820207&r2=820208&view=diff
==============================================================================
--- geronimo/server/branches/2.1/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java
(original)
+++ geronimo/server/branches/2.1/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/ConsoleRealmTest.java
Wed Sep 30 08:35:55 2009
@@ -39,7 +39,7 @@
             selenium.click("//input[@value='Add']");
             selenium.waitForPageToLoad("30000");
             assertTrue(selenium.isTextPresent("myuser"));
-            selenium.click("link=Delete");
+            selenium.click("//a[@onclick=\"return confirm('Confirm Delete user myuser?');\"]");
             selenium.waitForPageToLoad("30000");
             assertTrue(selenium.getConfirmation().matches("^Confirm Delete user myuser[\\s\\S]$"));
             selenium.waitForPageToLoad("30000");



Mime
View raw message