Comments (5)
@nstbushneva
This one will be tricky. Actually for now parametrized tests with data provider are not supported at all. I am planning to add support, but not sure it will be quick.
from serenity-reportportal-integration.
Fix is available in 1.4.0-SNAPSHOT
, work is still in progress, but I assume it will be connected to small refactor and documentation updates.
#61 is fixed as well in mentioned artifact.
Please, let me know if all works as expected.
from serenity-reportportal-integration.
Hi @Invictum, thank you for your fix.
It seems something goes wrong for scenarios execution itself (relevant for #61 as well):
<serenity.reportportal.version>1.4.0-SNAPSHOT</serenity.reportportal.version>
I am getting CHILD_START_TIME_EARLIER_THAN_PARENT error:
com.epam.reportportal.exception.ReportPortalException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Start time of child ['Mon Mar 25 08:03:03 UTC 2019'] item should be same or later than start time ['Mon Mar 25 08:03:04 UTC 2019'] of the parent item/launch '5c988b39af66c600012a0f39'
Error Type: CHILD_START_TIME_EARLIER_THAN_PARENT
at com.epam.reportportal.service.ReportPortalErrorHandler.handleError(ReportPortalErrorHandler.java:83)
at com.epam.reportportal.service.ReportPortalErrorHandler.handle(ReportPortalErrorHandler.java:59)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.subscribe(HttpClientRestEndpoint.java:517)
at io.reactivex.internal.operators.maybe.MaybeCreate.subscribeActual(MaybeCreate.java:45)
at io.reactivex.Maybe.subscribe(Maybe.java:4096)
at io.reactivex.internal.operators.maybe.MaybeCache.subscribeActual(MaybeCache.java:77)
at io.reactivex.Maybe.subscribe(Maybe.java:4096)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeTask.run(MaybeSubscribeOn.java:54)
at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:38)
at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:26)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
com.epam.reportportal.exception.ReportPortalException: Report Portal returned error
Status code: 406
Status message: Not Acceptable
Error Message: Start time of child ['Mon Mar 25 08:03:03 UTC 2019'] item should be same or later than start time ['Mon Mar 25 08:03:04 UTC 2019'] of the parent item/launch '5c988b39af66c600012a0f39'
Error Type: CHILD_START_TIME_EARLIER_THAN_PARENT
at com.epam.reportportal.service.ReportPortalErrorHandler.handleError(ReportPortalErrorHandler.java:83)
at com.epam.reportportal.service.ReportPortalErrorHandler.handle(ReportPortalErrorHandler.java:59)
at com.epam.reportportal.restendpoint.http.HttpClientRestEndpoint$1.subscribe(HttpClientRestEndpoint.java:517)
at io.reactivex.internal.operators.maybe.MaybeCreate.subscribeActual(MaybeCreate.java:45)
at io.reactivex.Maybe.subscribe(Maybe.java:4096)
at io.reactivex.internal.operators.maybe.MaybeCache.subscribeActual(MaybeCache.java:77)
at io.reactivex.Maybe.subscribe(Maybe.java:4096)
at io.reactivex.internal.operators.maybe.MaybeSubscribeOn$SubscribeTask.run(MaybeSubscribeOn.java:54)
at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:38)
at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:26)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Failed scenarios:
src/test/resources/scenario_outline_test.feature:11 # Dummy scenario
In order to reproduce the issue, please reuse the same serenity-with-cucumber-scenario-outlines.zip
with updated pom.xml:
<serenity.reportportal.version>1.4.0-SNAPSHOT</serenity.reportportal.version>
<repositories>
<repository>
<id>snapshots-repo</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>true</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
from serenity-reportportal-integration.
@nstbushneva nice catch!
Fix is uploaded to the same artifact name.
from serenity-reportportal-integration.
Fixed. Will be available in version 1.4.0+
Parametrized tests may have equal names in RP, but always have a different set of parameters.
Names
Parameters
from serenity-reportportal-integration.
Related Issues (20)
- How to convert error test case in serenity to failure test case in rp? HOT 2
- Tag visualisation for Scenario Outline examples in Report Portal Tool HOT 1
- Add options to compare any two builds HOT 1
- Failed serenity test isn't reported as 'FAILED' in ReportPortal HOT 5
- Implementing support for parallel execution HOT 1
- Issue with Serenity 3.6.0 executing tests with Junit-platform-suite throws exception HOT 1
- Update integration versioning
- Travis CI leftovers cleanup
- Add codeowners configuration to the project
- Configure GPG for artifacts signing
- Add Maven wrapper
- Add Serenity 4 Support HOT 1
- Migrate tests from Junit 4 to Junit5
- Update Readme to make it grammatically correct
- Use github actions to deploy artifact snapshots
- Random error with async reporting HOT 2
- Test Metrics Count Incorrect in ReportPortal HOT 15
- Providing properties through Java class rather than .properties file HOT 1
- Record data with Serenity.recordReportData().withTitle().andContents(); HOT 2
- Socket Timeout Exception after Serenity upgrade to 4.1.14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from serenity-reportportal-integration.