-
-
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
Generation of the Serenity emailable reports #2669
Comments
should be next to the reports index.html called |
You have serenity-core at 3.1.1 and serenity-single-page-report at 2.4.24. Make sure all the Serenity libraries use the same version. |
To generate the additional reports in Gradle, use the |
I tried all these but unable solve the problem. Please find my gradle file below defaultTasks 'clean', 'test', 'aggregate' apply plugin: 'java' group 'org.automationserenity' repositories { buildscript { } serenity { ext { dependencies {
// implementation group: 'org.seleniumhq.selenium', name: 'selenium-java', version: '4.0.0-beta-4' } test { tasks.withType(Test) {
} gradle.startParameter.continueOnFailure = true dependencies { } |
Please anyone let me know whats wrong i am doing here.. i tried multiple ways but did not find exact solution |
You are mixing Serenity versions:
And others. Fix the dependency conflicts and your reports should generate normally. |
Closing for lack of activity - presuming resolved. |
Hi there.
Issue: No serenity-summary.html in **\target\site\serenity
Currently i am using
serenityCoreVersion = '3.1.1'
junitVersion = '4.11 '
assertJVersion = '3.21.0'
logbackVersion = '1.2.3'
serenityCucumberVersion = '2.3.2'
Gradle version: 7.3.3
emailable report added in build.gradle
buildscript {
project.ext {
serenityVersion = '2.4.24'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath('net.serenity-bdd:serenity-gradle-plugin:' + serenityVersion)
classpath("net.serenity-bdd:serenity-single-page-report:2.4.24")
}
}
serenity {
reports = ["single-page-html"]
}
After setting the dependency in the build.gradle as instructed in the above documentation, and triggering the aggregate lifecycle, the only .html file I see generated is the usual acceptance report (index.html).
Is the emailable report supposed to be generated alongside the acceptance report, and what should the generated filename be?
The text was updated successfully, but these errors were encountered: