continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r1542934 - /continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractPurgeTest.java
Date Mon, 18 Nov 2013 07:41:08 GMT
Author: brett
Date: Mon Nov 18 07:41:08 2013
New Revision: 1542934

URL: http://svn.apache.org/r1542934
Log:
[CONTINUUM-2713] adjust tests for HTML changes

Modified:
    continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractPurgeTest.java

Modified: continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractPurgeTest.java
URL: http://svn.apache.org/viewvc/continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractPurgeTest.java?rev=1542934&r1=1542933&r2=1542934&view=diff
==============================================================================
--- continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractPurgeTest.java
(original)
+++ continuum/branches/CONTINUUM-2713/continuum-webapp-test/src/test/testng/org/apache/continuum/web/test/parent/AbstractPurgeTest.java
Mon Nov 18 07:41:08 2013
@@ -111,8 +111,7 @@ public abstract class AbstractPurgeTest
     {
         goToGeneralPurgePage();
         assertGeneralPurgePage();
-        clickLinkWithXPath(
-            "//preceding::input[@value='repository' and @type='hidden']//following::input[@type='submit']"
);
+        clickLinkWithXPath( "//form[@name='addRepoPurgeConfig']/input[@type='submit']" );
         assertAddRepositoryPurgePage();
     }
 
@@ -160,9 +159,7 @@ public abstract class AbstractPurgeTest
     protected void goToAddDirectoryPurge()
     {
         goToGeneralPurgePage();
-        assertGeneralPurgePage();
-        clickLinkWithXPath(
-            "//preceding::input[@value='directory' and @type='hidden']//following::input[@type='submit']"
);
+        clickLinkWithXPath( "//form[@name='addDirPurgeConfig']/input[@type='submit']" );
         assertAddEditDirectoryPurgePage();
     }
 



Mime
View raw message