Skip to content

Commit d95616f

Browse files
authored
#185: Fixed missed scenarios for BDD (#189)
1 parent 4310cb4 commit d95616f

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

pom.xml

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.github.invictum</groupId>
77
<artifactId>serenity-reportportal-integration</artifactId>
8-
<version>1.6.0-SNAPSHOT</version>
8+
<version>1.6.2-SNAPSHOT</version>
99

1010
<packaging>jar</packaging>
1111

@@ -26,6 +26,11 @@
2626
<email>[email protected]</email>
2727
<organizationUrl>https://github.com/Invictum</organizationUrl>
2828
</developer>
29+
<developer>
30+
<name>Daria Yershova</name>
31+
<email>[email protected]</email>
32+
<organizationUrl>https://github.com/grey-rain</organizationUrl>
33+
</developer>
2934
</developers>
3035

3136
<scm>

src/main/java/com/github/invictum/reportportal/ReportPortalListener.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,9 @@ public void stepFinished(List<ScreenshotAndHtmlSource> list, ZonedDateTime zoned
129129

130130
@Override
131131
public void testFailed(TestOutcome testOutcome, Throwable throwable) {
132-
// Not used by listener
132+
if (testOutcome.getTestSource().toLowerCase().contains("cucumber")) {
133+
testFinished(testOutcome);
134+
}
133135
}
134136

135137
@Override

0 commit comments

Comments
 (0)