From c2e207691655c64993024a1d9ad847fb8da767da Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Wed, 13 Apr 2011 03:08:42 +0000 Subject: [PATCH] [MRM-1111] fix xpath after reverting to default freemarker templates git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091633 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/archiva/web/test/RepositoryScanningTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/RepositoryScanningTest.java b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/RepositoryScanningTest.java index 82ff698f2..5dcabd470 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/RepositoryScanningTest.java +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/RepositoryScanningTest.java @@ -47,7 +47,7 @@ public class RepositoryScanningTest { setFieldValue( "newpattern_0", "**/*.zip" ); clickAddIcon( "newpattern_0" ); - Assert.assertEquals( getSelenium().getText( "//span[@class='errorMessage']" ), + Assert.assertEquals( getSelenium().getText( "//ul[@class='errorMessage']/li/span" ), "Not adding pattern \"**/*.zip\" to filetype artifacts as it already exists." ); }