Closed vzenzo closed 4 years ago
It would help if you can create a project and share the repository so I can investigate. Please use the below and revert back:
extent.reporter.spark.start=true
extent.reporter.spark.config=
extent.reporter.spark.out=./reports/extent/
screenshot.dir=./reports/extent/
screenshot.rel.path=./
Note: the adapter will try to locate the folder relative to your project basePath. So the above is valid if you have the following structure:
project
/src
/target
/test-output
/reports
/extent
It would help if you can create a project and share the repository so I can investigate. Please use the below and revert back:
extent.reporter.spark.start=true extent.reporter.spark.config= extent.reporter.spark.out=./reports/extent/ screenshot.dir=./reports/extent/ screenshot.rel.path=./
Note: the adapter will try to locate the folder relative to your project basePath. So the above is valid if you have the following structure:
project /src /target /test-output /reports /extent
the problem was that if the project folder has space in name for example My Test, it will create My%20Test, but if you work in folder My_Test, it works fine.
Thanks for the update. Closing this, as its the same as #48.
duplicate #48
So basically I have folders like Projects -project v1 -project v2 -project v3
My main test project is in project 3 folder, each time I run test the folder called project%20v3 is made and there it saves screenshots. The SparkReport and HTML report are saved in proper directory
I've tried everything, from mvn clean install, to reimportintg dependencies but it keeps saving them there. It used to work but when I made new version of project it messed up the screenshot path
My extent.properties file is