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

Any exclusuions when using serenity-cucumber6 with rest-assured? #27

Open
sudheerah opened this issue May 30, 2022 · 2 comments
Open

Any exclusuions when using serenity-cucumber6 with rest-assured? #27

sudheerah opened this issue May 30, 2022 · 2 comments

Comments

@sudheerah
Copy link

sudheerah commented May 30, 2022

Hi,
Just wanted know anything needs to exclude if uses serenity-cucumber6 with rest-assured

Below are the versions I am using:

Java17
Gradle 7.4.2
serenity-cucumber6 - 2.6.0
serenity-rest-assured -  2.6.0
net.serenity-bdd.serenity-gradle-plugin - 3.2.5

I find missing pie charts in the serenity reports. So I doubt some dependency issues/conflicts causing this.

image

@sudheerah sudheerah changed the title Any exclusuion when using Serenity-Cucumber6 Any exclusuions when using Serenity-Cucumber6? May 30, 2022
@sudheerah sudheerah changed the title Any exclusuions when using Serenity-Cucumber6? Any exclusuions when using Serenity-Cucumber6 with rest-assured? May 30, 2022
@sudheerah sudheerah changed the title Any exclusuions when using Serenity-Cucumber6 with rest-assured? Any exclusuions when using serenity-cucumber6 with rest-assured? May 30, 2022
@sudheerah
Copy link
Author

sudheerah commented Jun 10, 2022

I was managed to get the charts back after upgrading report libs as below.

        testImplementation "net.serenity-bdd:serenity-reports:3.1.0"
        testImplementation "net.serenity-bdd:serenity-report-resources:3.1.0"

Please make sure exclude other lower version has been added via transitive dependency, if any

testImplementation ("net.serenity-bdd:serenity-rest-assured:2.6.0"){
    exclude group: "net.serenity-bdd", module: "serenity-reports"
    exclude group: "net.serenity-bdd", module: "serenity-report-resources"
}

@wakaleo
Copy link
Member

wakaleo commented Jun 10, 2022

All the serenity library versions must be the same. The latest Cucumber library is serenity-cucumber.

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

2 participants