From 294c3c633165ce685783eabd9c73b809f5469f17 Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 14 Jan 2010 01:47:20 +0000 Subject: [PATCH] add some notes about tests that won't work in other browsers git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899027 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/archiva/web/test/ArtifactManagementTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArtifactManagementTest.java b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArtifactManagementTest.java index 3558e1500..21c6cd59f 100644 --- a/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArtifactManagementTest.java +++ b/archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArtifactManagementTest.java @@ -85,6 +85,7 @@ public class ArtifactManagementTest public void testAddArtifactValidValues() { + // TODO: disable test on non *chrome browsers, there is no way to do file uploads (SEL-63) addArtifact( getGroupId() , getArtifactId(), getVersion(), getPackaging() , getArtifactFilePath(), getRepositoryId() ); assertTextPresent( "Artifact 'test:test:1.0' was successfully deployed to repository 'internal'" ); } @@ -93,6 +94,7 @@ public class ArtifactManagementTest @Test(dependsOnMethods = { "testAddArtifactValidValues" } ) public void testAddArtifactBlockRedeployments() { + // TODO: disable test on non *chrome browsers, there is no way to do file uploads (SEL-63) addArtifact( getGroupId() , getArtifactId(), getVersion(), getPackaging() , getArtifactFilePath(), getRepositoryId() ); assertTextPresent( "Overwriting released artifacts in repository '" + getRepositoryId() + "' is not allowed." ); } @@ -105,6 +107,7 @@ public class ArtifactManagementTest String version = getProperty( "VERSION1" ); String packaging = getProperty( "PACKAGING1" ); String repositoryId = getProperty( "REPOSITORYID1" ); + // TODO: do this differently as it only works in Firefox's chrome mode addArtifact( groupId , artifactId, version, packaging , getArtifactFilePath(), repositoryId ); assertTextPresent( "Artifact 'delete:delete:1.0' was successfully deployed to repository 'internal'" ); -- 2.39.5