geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r580445 - in /geronimo/server/branches/2.0/testsuite/console-testsuite: advanced/ advanced/src/test/java/org/apache/geronimo/testsuite/console/ basic/
Date Fri, 28 Sep 2007 18:02:58 GMT
Author: gawor
Date: Fri Sep 28 11:02:56 2007
New Revision: 580445

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

Modified:
    geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/pom.xml
    geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java
    geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java
    geronimo/server/branches/2.0/testsuite/console-testsuite/basic/pom.xml

Modified: geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/pom.xml?rev=580445&r1=580444&r2=580445&view=diff
==============================================================================
--- geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/pom.xml (original)
+++ geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/pom.xml Fri Sep 28 11:02:56
2007
@@ -46,6 +46,11 @@
             <id>child</id>
             <build>
                 <plugins>
+                   <plugin>
+                      <groupId>org.codehaus.mojo</groupId>
+                      <artifactId>selenium-maven-plugin</artifactId>
+                   </plugin>
+
                     <plugin>
                         <artifactId>maven-surefire-plugin</artifactId>
                         <configuration>

Modified: geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java?rev=580445&r1=580444&r2=580445&view=diff
==============================================================================
--- geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java
(original)
+++ geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/DBManagerTest.java
Fri Sep 28 11:02:56 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/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java?rev=580445&r1=580444&r2=580445&view=diff
==============================================================================
--- geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java
(original)
+++ geronimo/server/branches/2.0/testsuite/console-testsuite/advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java
Fri Sep 28 11:02:56 2007
@@ -59,7 +59,7 @@
             selenium.waitForPageToLoad("30000");
             selenium.click("link=Uninstall");
             selenium.waitForPageToLoad("30000");
-            assertTrue(selenium.getConfirmation().matches("^Are you sure you want 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)"));

Modified: geronimo/server/branches/2.0/testsuite/console-testsuite/basic/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.0/testsuite/console-testsuite/basic/pom.xml?rev=580445&r1=580444&r2=580445&view=diff
==============================================================================
--- geronimo/server/branches/2.0/testsuite/console-testsuite/basic/pom.xml (original)
+++ geronimo/server/branches/2.0/testsuite/console-testsuite/basic/pom.xml Fri Sep 28 11:02:56
2007
@@ -46,6 +46,11 @@
             <id>child</id>
             <build>
                 <plugins>
+                   <plugin>
+                      <groupId>org.codehaus.mojo</groupId>
+                      <artifactId>selenium-maven-plugin</artifactId>
+                   </plugin>
+
                     <plugin>
                         <artifactId>maven-surefire-plugin</artifactId>
                         <configuration>



Mime
View raw message