Skip to content
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

The report failed on test step #28

Open
jecardenasri01 opened this issue Aug 5, 2023 · 0 comments
Open

The report failed on test step #28

jecardenasri01 opened this issue Aug 5, 2023 · 0 comments

Comments

@jecardenasri01
Copy link

Hi experts.

I have a problem whit my project implement serenity and screenplay ,all the steps in report are equal to test

image
image
image

build :

buildscript {
ext.serenityCoreVersion = '3.3.0'
repositories {
mavenCentral()
}
dependencies {
classpath("net.serenity-bdd:serenity-gradle-plugin:3.4.2")
classpath "net.serenity-bdd:serenity-single-page-report:$serenityCoreVersion"
}
}

plugins {
id "net.serenity-bdd.serenity-gradle-plugin" version "${serenityCoreVersion}"
id 'java'
id 'eclipse'
id 'idea'
}

defaultTasks 'clean','test','aggregate'

group 'co.com.base.gradle'
version '1.0-SNAPSHOT'

compileJava.options.encoding = "UTF-8"
compileTestJava.options.encoding = "UTF-8"

sourceCompatibility = 1.8
targetCompatibility = 1.8

repositories {
mavenCentral()
}

ext {
junitVersion = '5.8.2'
logbackVersion = '1.2.10'
lombokVersion = '1.18.22'
}

dependencies {
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"

implementation ("net.serenity-bdd:serenity-core:${serenityCoreVersion}")
implementation "net.serenity-bdd:serenity-junit5:${serenityCoreVersion}"
implementation "net.serenity-bdd:serenity-cucumber:${serenityCoreVersion}"
implementation "net.serenity-bdd:serenity-rest-assured:${serenityCoreVersion}"

implementation "net.serenity-bdd:serenity-ensure:${serenityCoreVersion}"

// implementation "net.serenity-bdd:serenity-ensure:2.3.5"
implementation "net.serenity-bdd:serenity-screenplay:${serenityCoreVersion}"
implementation "net.serenity-bdd:serenity-screenplay-webdriver:${serenityCoreVersion}"
implementation "net.serenity-bdd:serenity-screenplay-rest:${serenityCoreVersion}"

implementation "ch.qos.logback:logback-classic:${logbackVersion}"

compileOnly "org.projectlombok:lombok:${lombokVersion}"
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
testCompileOnly "org.projectlombok:lombok:${lombokVersion}"
testAnnotationProcessor "org.projectlombok:lombok:${lombokVersion}"

}

test {
useJUnitPlatform()
testLogging.showStandardStreams = true
systemProperties System.getProperties()
}

serenity {
testRoot = "co.com.base.gradle.runners"
requirementsBaseDir = "src/test/resources/features"
reports = ["single-page-html"]
}

gradle.startParameter.continueOnFailure = true
test.finalizedBy(aggregate)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant