-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
After upgrade serenity to version 4.1.10 I get an error on test scenario details, test report is not generated correctly #3468
Comments
Can you provide a sample project that reproduces this issue? |
this is the build.gradle group = 'com.fanduel.fgp' defaultTasks 'clean', 'test', 'aggregate' repositories { ext { dependencies {
} test {
} gradle.startParameter.continueOnFailure = true ` |
@fericeand same, after upgrading to 4.1.12, generated report does not contain pages for scenario details. |
Try running with the filenames uncompressed - not much has changed between 4.1.12 and 4.1.0 though. |
@wakaleo I played with versions a little bit, it has nothing to do with serenity-core. Issue happens when to upgrade |
I don't use Gradle so most of the Gradle changes are community driven. Can you have a look at the code and see if you can see anything? |
@wakaleo as I see it's a known issue |
downgraading the serenity gradle plugin version to 4.0.1 fixes the problem |
Can you tell me the first version where you see the issue occurring? |
I've tried directly with 4.1.10 and it fails. before I've used 3.. version |
It appears to be a Gradle-specific issue caused by a PR. I will roll back the PR. |
Can you try with version 4.1.13? |
I get this error with 4.1.13 | fatal: failed to download artifacts: No artifacts found for downloading |
Try again in an hour or so - the plugin was deployed recently |
Starting a Gradle Daemon (subsequent builds will be faster) | |
OK, looks like there's a bug in the PR that tried to fix the bug in the original PR. I am not familiar with Gradle or these changes, so unless someone from the community can test locally and raise a PR, I will just revert to an older version which will have some other known issues. |
Can you try with 4.1.14? |
same error with no such key for 4.1.14 |
It could be project specific, as the reports now work correctly for the test suites I have been testing with (see for example https://github.com/serenity-bdd/screenplay-pattern-todomvc.git). For project-specific support you will need to get some commercial support so we can help with that. |
Does serenity version 4.1.14 supports java 21 ? The build passes but not able to run Test Cases |
Yes |
I tried serenity version 4.1.14 with java 18 and java 21. It does not run. But java 11 runs. Any changes needed to be done ? |
Check your dependencies. Serenity 4.1.x and 4.2.x runs fine with Java 21, but JUnit can be more fiddly. |
What happened?
After upgrading serenity to 4.1.10 and java to version 21 the serenity report is not generated correctly. When clicking on scenario link from generated report to see the details I'm getting the error
"NoSuchKey: The specified key does not exist.
status code: 404, request id: 806WFWKCBT5R3W18, host id: YvSr5k8vq1dnmgRlD4G59VIxjg8d2kg6UKwtdHgXnKxoEk9rvk1KTjCU8ZdcfYbeFynHsONCoG0="
I am using Junit5, Serenity 4.1.10, Java 21 and gradle.
What did you expect to happen?
I am expecting to see test result details when clicking on scenario link
Serenity BDD version
4.1.10
JDK version
21
Execution environment
The report is generated through Buildkite and we use Gradle
How to reproduce the bug.
Upgrading serenity to latest version and using junit5
How can we make it happen?
Work on this myself and propose a PR (with Serenity BDD team guidance)
The text was updated successfully, but these errors were encountered: