Invictum / serenity-reportportal-integration

Serenity TAF integration with Report Portal
Apache License 2.0
20 stars 19 forks source link

Key Attributes not showing when using serenity-reportportal-integration version 1.4.3 #134

Closed Kumar-Manish1 closed 3 years ago

Kumar-Manish1 commented 3 years ago
  1. Key and value attributes are appeared when we use invictum dependency version 1.5.5 or 1.5....onwards but build of sanity is getting failed due to build issue and it looks like all test cases are being passed and no result is showing on the report portal.

  2. when we use version 1.4....onwards then the sanity is getting pass correctly but key and value attributes are not showing .

Invictum commented 3 years ago

Hi @Kumar-Manish1,

What version of Report Portal server side is used?

On Feb 22, 2021, at 03:46, Kumar-Manish1 notifications@github.com wrote:

 Key and value attributes are appeared when we use invictum dependency version 1.5.5 or 1.5....onwards but build of sanity is getting failed due to build issue and it looks like all test cases are being passed and no result is showing on the report portal.

when we use version 1.4....onwards then the sanity is getting pass correctly but key and value attributes are not showing .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Kumar-Manish1 commented 3 years ago

Report Portal version is 5.3.3

Invictum commented 3 years ago

So first of all integration of 1.5.x+ must be used, because it compatible with RP 5. Next I assume legacy attributes are used, but to make sure can you provide an example of tests run command? Or if possible example of project that reproduces an issue.

On Feb 22, 2021, at 07:34, Kumar-Manish1 notifications@github.com wrote:

 Report Portal version is 5.3.3

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

Kumar-Manish1 commented 3 years ago

ok so when I am using 1.5.5 version then key attributes are appeared but after that I am facing build failure issue just because of this errro Exception in thread "Thread-0" java.lang.NullPointerException at com.github.invictum.reportportal.injector.ReportLaunchProvider.lambda$get$0(ReportLaunchProvider.java:56) at java.base/java.lang.Thread.run(Thread.java:832)

Kumar-Manish1 commented 3 years ago

And I am using this command to run the test mvn clean verify -Dchrome.switches="--headless,--no-sandbox,--disable-dev-shm-usage" -Dwebdriver.chrome.driver=/usr/bin/chromedriver -Dcucumber.options="src/test/resources/features" -Denv=$ENV_NAME

Invictum commented 3 years ago

It is definitely a bug on integration code side. And it will be fixed with next release. Thanks @Kumar-Manish1

Kumar-Manish1 commented 3 years ago

Hi @Invictum, one more thing in other projects reports are not showing after updating version to 1.5.5 and it gives error java.lang.NullPointerException and due to this build is also getting failed. Screenshot from 2021-02-23 12-23-56

Invictum commented 3 years ago

@Kumar-Manish1 Issue can't be reproduced with given info and will be closed. Feel free to create a new one with more details if error persists.