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

No summary-report.html is generated version 3.6.7 #3066

Open
ngavrish opened this issue Feb 24, 2023 · 1 comment
Open

No summary-report.html is generated version 3.6.7 #3066

ngavrish opened this issue Feb 24, 2023 · 1 comment

Comments

@ngavrish
Copy link

plugins {
    id "net.serenity-bdd.serenity-gradle-plugin" version "3.6.7"
    id 'java'
    //id "org.hibernate.orm" version "6.1.6.Final"
}

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

repositories {
    flatDir {
        dirs '/Users/802619/projects/silverbird/testautomation/silverbird-serenity-autotest/libs'
    }
    mavenCentral()
    maven {
        url "https://plugins.gradle.org/m2/"
    }
    maven {
        url "https://repo1.maven.org"
    }
    maven {
        url "https://repo1.maven.org/maven2/"
    }
    maven {
        url "https://repository.jboss.org/nexus/content/repositories/releases/"
    }
    maven {
        url "https://repo.maven.apache.org/maven2/"
    }
    maven {
        url "https://repo.clojars.org"
    }
    maven {
        url "https://clojars.org/repo/"
    }

//    maven (uri("/Users/802619/projects/silverbird/testautomation/silverbird-serenity-autotest/libs/hibernate-commons-annotations-6.0.2.Final.jar"))

}

sourceCompatibility = 1.8
targetCompatibility = 1.8

ext {
    slf4jVersion = '1.7.7'
    serenityCoreVersion = '3.6.7'
    junitVersion = '5.8.2'
    assertJVersion = '3.23.1'
    lombokVersion = '1.18.24'
    logbackVersion = '1.2.11'
    redisVersion = '4.3.1'
    mysqlVersion = '8.0.32'
    hibernateVersion = '6.1.6'
    glassfishVersion = '3.0.0'
}

dependencies {
    'org.hibernate.common:hibernate-commons-annotations:6.0.2.Final'
    testImplementation "net.serenity-bdd:serenity-core:${serenityCoreVersion}",
            "net.serenity-bdd:serenity-junit5:${serenityCoreVersion}",
            "org.junit.jupiter:junit-jupiter-api:${junitVersion}",
            "org.junit.jupiter:junit-jupiter-engine:${junitVersion}",
            "org.junit.vintage:junit-vintage-engine:${junitVersion}",
            "org.assertj:assertj-core:${assertJVersion}",
            "org.projectlombok:lombok:${lombokVersion}",
            "ch.qos.logback:logback-classic:${logbackVersion}",
            "net.serenity-bdd:serenity-screenplay:${serenityCoreVersion}",
            "net.serenity-bdd:serenity-ensure:${serenityCoreVersion}",
            "net.serenity-bdd:serenity-screenplay-webdriver:${serenityCoreVersion}"
    implementation "redis.clients:jedis:${redisVersion}"
    implementation "mysql:mysql-connector-java:${mysqlVersion}"
//    Problem with 6.1.6:
//    https://stackoverflow.com/questions/75362930/hibernate-6-x-fails-could-not-resolve-org-hibernate-commonhibernate-commons-ann
    //implementation('org.hibernate:hibernate-core:6.1.6.Final')
    implementation('org.hibernate:hibernate-core:5.6.1.Final')
    "org.glassfish.jaxb:jaxb-runtime:${glassfishVersion}"
    implementation "net.serenity-bdd:serenity-gradle-plugin:${serenityCoreVersion}"
    implementation "net.serenity-bdd:serenity-single-page-report:${serenityCoreVersion}"
}

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

gradle.startParameter.continueOnFailure = true

test.finalizedBy(aggregate, reports)

serenity {
    reports = ["single-page-html"]

    // Specify the root package of any JUnit acceptance tests
//    testRoot="frontoffice"
}


//apply plugin: "org.hibernate.orm"
apply plugin: "net.serenity-bdd.serenity-gradle-plugin"
apply plugin: 'maven-publish'
@ngavrish
Copy link
Author

Task :reports
Generating Additional Serenity Reports for silverbird-serenity-autotest to directory /Users/802619/projects/silverbird/testautomation/silverbird-serenity-autotest/target/site/serenity
No report found on classpath with name single-page-html

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