geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r580444 - in /geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console: DBManagerTest.java JMSResourcesTest.java
Date Fri, 28 Sep 2007 18:02:23 GMT
Author: gawor
Date: Fri Sep 28 11:02:22 2007
New Revision: 580444

URL: http://svn.apache.org/viewvc?rev=580444&view=rev
Log:
fix console tests

Modified:
    geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java
    geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java

Modified: geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java?rev=580444&r1=580443&r2=580444&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java
(original)
+++ geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java
Fri Sep 28 11:02:22 2007
@@ -40,7 +40,8 @@
             selenium.select("useDB", "label=MyUniqueDB");
             selenium.click("document.Pluto_internalDB_DBManager_row2_col1_p1_DBForm.action[2]");
             selenium.waitForPageToLoad("30000");
-            selenium.click("link=Application");
+            //selenium.click("link=Application");
+            selenium.click("//a[contains(@href, 'db=MyUniqueDB')]");
             selenium.waitForPageToLoad("30000");
             assertTrue(selenium.isTextPresent("MYTABLE"));
             selenium.select("deleteDB", "label=SystemDatabase");

Modified: geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java?rev=580444&r1=580443&r2=580444&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java
(original)
+++ geronimo/server/trunk/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java
Fri Sep 28 11:02:22 2007
@@ -59,8 +59,7 @@
             selenium.waitForPageToLoad("30000");
             selenium.click("link=Uninstall");
             selenium.waitForPageToLoad("30000");
-            System.out.println(selenium.getConfirmation());
-            assertTrue(selenium.getConfirmation().matches("^Are you certain you wish to uninstall
console\\.jms/UniqueName/1\\.0/rar[\\s\\S]?$"));
+            assertTrue(selenium.getConfirmation().matches("^Are you certain you wish to uninstall
console\\.jms/UniqueName/1\\.0/rar[\\s\\S]*"));
             selenium.click("link=JMS Resources");
             selenium.waitForPageToLoad("30000");
             assertFalse(selenium.isTextPresent("UniqueName (console.jms/UniqueName/1.0/rar)"));



Mime
View raw message