-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to change window target folder in serenity 4.0 #3250
Comments
Use serenity.conf rather than serenity.properties, which is no longer fully supported in Serenity 4.0.0, e.g.
|
For Windows, this should work:
or
|
I am not able to reproduce this - did you run mvn serenity:aggregate or grade aggregate? |
yes i tried manually or for command line but result failed . you can execute my proyect and add these command ? i cant understand why failed on windows move evidences How to reproduce the bug. |
Try using the latest versions of JUnit |
i tryed actualized all libraruies but failed to move files. serenity build.gradle `defaultTasks 'clean', 'test', 'aggregate' repositories { buildscript { apply plugin: 'java' sourceCompatibility = 11 ext { dependencies { test { gradle.startParameter.continueOnFailure = true test.finalizedBy(aggregate) ` an my serenity conf ` chrome.switches = """remote-allow-origins=*;ignore-certificate-errors;start-maximized;incognito """ webdriver { //driver = "edge" timeouts { } ` |
Possibly a Windows/Gradle-specific issue. |
What happened?
Hi experts.
study material:
https://serenity-bdd.github.io/docs/reference/serenity-properties
https://johnfergusonsmart.com/configuring-different-output-directories-serenity-bdd-maven/
My project is a gradle implement serenity 4.0.0-beta-3.
I want my report to be saved on my local drive c
i tried change output directory of serenity screenplay to my folder "C:\SeleniumEvidencias" :
i tried whit :
execute by cmd : gradle clean test --tests Ru_busquedaGoogle -Dwebdriver.driver=chrome -Dserenity.outputDirectory=C:/SeleniumEvidencias
i tried whit
aggregate lines on serenity.properties
serenity.project.name = "My Special Project"
serenity.test.root = "src.resources.feature"
serenity.outputDirectory = C:/SeleniumEvidencias
this is my structure for proyect :
but this is result
What did you expect to happen?
i need the report on disk local c :
Serenity BDD version
4.0.0-beta-3
JDK version
17.0.7
Execution environment
windows
chrome
How to reproduce the bug.
https://github.com/jecardenasri01/serenity-screenplay-4.0.0-beta-3
How can we make it happen?
The text was updated successfully, but these errors were encountered: