[
http://jira.codehaus.org/browse/MRM-1323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gwen Harold Autencio updated MRM-1323:
--------------------------------------
Attachment: MRM-1323.patch
Hi, i'm attaching an initial patch for the fix of selenium webapp tests running
in IE7.
No test failures in IE7 after applying patch.
Btw, I'm getting test failures in firefox.
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running TestSuite
Tests run: 108, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 318.266 sec
<<< FAILURE!
Results :
Failed tests:
testSearchExistingArtifactUsingAdvancedSearchGroupId(org.apache.archiva.web.test.SearchTest)
testSearchExistingArtifact(org.apache.archiva.web.test.SearchTest)
Tests run: 108, Failures: 2, Errors: 0, Skipped: 0
I think the cause of this is when it's try to assert the text "Hits: 1 to 1 of
1" it's failing becuase it's displaying "Hits: 1 to 2 of 2". Because of the
testDotNetTypes() which also uploads another test artifact causes it to return
2 hits.
In IE7 testDotNetTypes() is skipped which results to only 1 Hit.
> archiva webapp tests failed to run in internet explorer
> -------------------------------------------------------
>
> Key: MRM-1323
> URL: http://jira.codehaus.org/browse/MRM-1323
> Project: Archiva
> Issue Type: Bug
> Reporter: Marecor Baclay
> Assignee: Marecor Baclay
> Fix For: 1.4
>
> Attachments: MRM-1323.patch
>
>
> noticed also that with different browsers used, they have different number of
> tests run.
> *output (browser: firefox):*
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running TestSuite
> Tests run: 106, Failures: 8, Errors: 0, Skipped: 98, Time elapsed: 30.64 sec
> <<< FAILURE!
> Results :
> Failed tests:
> testWithBadUsername(org.apache.archiva.web.test.LoginTest)
> testWithBadPassword(org.apache.archiva.web.test.LoginTest)
> testWithEmptyUsername(org.apache.archiva.web.test.LoginTest)
> testWithEmptyPassword(org.apache.archiva.web.test.LoginTest)
> testWithCorrectUsernamePassword(org.apache.archiva.web.test.LoginTest)
> testFindArtifactNullValues(org.apache.archiva.web.test.FindArtifactTest)
> testFindArtifactUsingChecksum(org.apache.archiva.web.test.FindArtifactTest)
> testBundledRepository(org.apache.archiva.web.test.RepositoryTest)
> Tests run: 106, Failures: 8, Errors: 0, Skipped: 98
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> *output (browser: IE):*
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running TestSuite
> Tests run: 110, Failures: 1, Errors: 0, Skipped: 109, Time elapsed: 21.375
> sec <<< FAILURE!
> Results :
> Failed tests:
> initializeArchiva(org.apache.archiva.web.test.ArchivaAdminTest)
> Tests run: 110, Failures: 1, Errors: 0, Skipped: 109
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira