Skip to content

Commit 91efa4c

Browse files
authored
Merge pull request #9 from Invictum/6_update_serenity_core_version
#6: Updated serenity core version to 1.9.4
2 parents 2b7116b + 7448425 commit 91efa4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<dependency>
5555
<groupId>net.serenity-bdd</groupId>
5656
<artifactId>serenity-core</artifactId>
57-
<version>1.8.21</version>
57+
<version>1.9.4</version>
5858
</dependency>
5959
<dependency>
6060
<groupId>com.epam.reportportal</groupId>

src/main/java/com/github/invictum/reportportal/processor/HtmlSourceAttacher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public void proceed(final TestStep step) {
2525
if (!step.getScreenshots().isEmpty()) {
2626
Date stepStartTime = Date.from(step.getStartTime().toInstant());
2727
for (ScreenshotAndHtmlSource screenshotAndHtmlSource : step.getScreenshots()) {
28-
Optional<File> sourceFile = screenshotAndHtmlSource.getHtmlSource().toJavaUtil();
28+
Optional<File> sourceFile = screenshotAndHtmlSource.getHtmlSource();
2929
if (sourceFile.isPresent()) {
3030
Date timestamp = sourceFile.get().lastModified() < stepStartTime
3131
.getTime() ? stepStartTime : new Date(sourceFile.get().lastModified());

0 commit comments

Comments
 (0)