]> source.dussan.org Git - archiva.git/commitdiff
add some notes about tests that won't work in other browsers
authorBrett Porter <brett@apache.org>
Thu, 14 Jan 2010 01:47:20 +0000 (01:47 +0000)
committerBrett Porter <brett@apache.org>
Thu, 14 Jan 2010 01:47:20 +0000 (01:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899027 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-test/src/test/testng/org/apache/archiva/web/test/ArtifactManagementTest.java

index 3558e150013c76893242fc3eb67ca53f36634844..21c6cd59ff48e63a547c589ce23a9f7e9fd054a4 100644 (file)
@@ -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'" );