You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to generate the reports but not able to add the customfields . Working with windows10, openjdk 11.
could you please look into the same ?
#Request : Could you please let me know how to generate serenity reports folder with date and time using gradle. I am able to generate it using maven -surfire plugin in maven but not getting a way to the same gradle. If you have any solution for the same.
The text was updated successfully, but these errors were encountered:
I can't reproduce this - try with the latest version of serenity-core and serenity-cucumber (and consider switching to Cucumber 5, we no longer support the version of Cucumber you are using).
Not able to add customfields such as application version, user etc. in serenity single page html report.
I am using following version
SerenityCoreVersion = 2.1.5
SerenityScreenPlayCoreVersion = 2.1.5
SerenityCucumberVersion = 1.9.50
This is my build.gradle
repositories {
mavenCentral()
}
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath("net.serenity-bdd:serenity-gradle-plugin:${SerenityCoreVersion}")
classpath("net.serenity-bdd:serenity-single-page-report:${SerenityCoreVersion}")
classpath("net.serenity-bdd:serenity-json-summary-report:${SerenityCoreVersion}")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'net.serenity-bdd.aggregator'
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
}
serenity {
reports = ["single-page-html","json-summary"]
}
test {
testLogging.showStandardStreams = true
}
gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate)
Serenity.properties
report.customfields.ApplicationVersion = 1.2.3
report.customfields.environment = staging
I am able to generate the reports but not able to add the customfields . Working with windows10, openjdk 11.
could you please look into the same ?
#Request : Could you please let me know how to generate serenity reports folder with date and time using gradle. I am able to generate it using maven -surfire plugin in maven but not getting a way to the same gradle. If you have any solution for the same.
The text was updated successfully, but these errors were encountered: