geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r577977 - in /geronimo/server/trunk/testsuite/console-testsuite: advanced/pom.xml advanced/src/test/java/org/apache/geronimo/testsuite/console/JMSResourcesTest.java basic/pom.xml
Date Fri, 21 Sep 2007 04:02:34 GMT
Author: gawor
Date: Thu Sep 20 21:02:34 2007
New Revision: 577977

URL: http://svn.apache.org/viewvc?rev=577977&view=rev
Log:
add selenium plugin and fix console test

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

Modified: geronimo/server/trunk/testsuite/console-testsuite/advanced/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/advanced/pom.xml?rev=577977&r1=577976&r2=577977&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/console-testsuite/advanced/pom.xml (original)
+++ geronimo/server/trunk/testsuite/console-testsuite/advanced/pom.xml Thu Sep 20 21:02:34
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/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=577977&r1=577976&r2=577977&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
Thu Sep 20 21:02:34 2007
@@ -59,7 +59,8 @@
             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]$"));
+            System.out.println(selenium.getConfirmation());
+            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/trunk/testsuite/console-testsuite/basic/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/console-testsuite/basic/pom.xml?rev=577977&r1=577976&r2=577977&view=diff
==============================================================================
--- geronimo/server/trunk/testsuite/console-testsuite/basic/pom.xml (original)
+++ geronimo/server/trunk/testsuite/console-testsuite/basic/pom.xml Thu Sep 20 21:02:34 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