Details
-
Type:
Test
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.4.0 (Beta)
-
Component/s: Testing
-
Labels:None
-
Environment:Linux
-
Complexity:Intermediate
-
Patch Submitted:Yes
-
Number of attachments :
Description
The attached patch includes the following changes:
Changed continuum-webapp-tests/pom.xml selenium version from 0.9.2 to 1.0.1
Added a captureEntirePageScreenshot to AbstractSeleniumTest.java
Added a catch block for every failed assertion to do a screen capture and save them to target/screenshots directory
Formatted the filename of the captured file as "methodName(className.java:lineNumber)-time.png"
Additional Info:
Maven version: 2.0.10
Java version: 1.5.0_16
OS name: "linux" version: "2.6.27-14-generic" arch: "i386" Family: "unix"
Patch created at revision 785116.
Build Results:
Results :
Tests run: 167, Failures: 0, Errors: 0, Skipped: 0
Please disregard the first attachment and use CaptureScreenshotForAbstractSeleniumTest.patch
Minor code changes were made to this new one.
Additional Info:
Patch created at revision 785468
Results :
Tests run: 167, Failures: 0, Errors: 0, Skipped: 0
[INFO] [cargo:stop
{execution: stop-container}]
[INFO] [install:install]
[INFO] Installing /home/blago/Documents/apache/continuum/trunk/continuum-webapp-test/pom.xml to /home/blago/.m2/repository/org/apache/continuum/continuum-webapp-test/1.4.0-SNAPSHOT/continuum-webapp-test-1.4.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 23 minutes 21 seconds
[INFO] Finished at: Wed Jun 17 12:05:44 GMT+08:00 2009
[INFO] Final Memory: 32M/113M
[INFO] ------------------------------------------------------------------------