Skip to content

Commit

Permalink
Update Framework 1.7.0 - Selenium 4.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
anhtester committed Jan 26, 2024
1 parent 4822b66 commit 0b987ec
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 18 deletions.
24 changes: 12 additions & 12 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,18 @@
<version>1.14.0</version>
</dependency>

<dependency>
<groupId>tech.grasshopper</groupId>
<artifactId>pdfextentreporter</artifactId>
<version>1.3.2</version>
</dependency>

<!-- https://mvnrepository.com/artifact/tech.grasshopper/extent-pdf-report -->
<dependency>
<groupId>tech.grasshopper</groupId>
<artifactId>extent-pdf-report</artifactId>
<version>2.12.0</version>
</dependency>
<!-- <dependency>-->
<!-- <groupId>tech.grasshopper</groupId>-->
<!-- <artifactId>pdfextentreporter</artifactId>-->
<!-- <version>1.3.2</version>-->
<!-- </dependency>-->

<!-- &lt;!&ndash; https://mvnrepository.com/artifact/tech.grasshopper/extent-pdf-report &ndash;&gt;-->
<!-- <dependency>-->
<!-- <groupId>tech.grasshopper</groupId>-->
<!-- <artifactId>extent-pdf-report</artifactId>-->
<!-- <version>2.12.0</version>-->
<!-- </dependency>-->

<!-- https://mvnrepository.com/artifact/io.qameta.allure/allure-cucumber7-jvm -->
<dependency>
Expand Down
9 changes: 3 additions & 6 deletions src/main/java/com/anhtester/report/ExtentReportManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
import com.anhtester.enums.AuthorType;
import com.anhtester.enums.CategoryType;
import com.anhtester.helpers.CaptureHelpers;
import com.anhtester.utils.BrowserInfoUtils;
import com.anhtester.utils.DateUtils;
import com.anhtester.utils.IconUtils;
import com.anhtester.utils.ReportUtils;
import com.anhtester.utils.*;
import com.aventstack.extentreports.ExtentReports;
import com.aventstack.extentreports.MediaEntityBuilder;
import com.aventstack.extentreports.Status;
Expand Down Expand Up @@ -37,11 +34,11 @@ public static void initReports() {
if (OVERRIDE_REPORTS.trim().equals(NO)) {
System.out.println("OVERRIDE EXTENT REPORTS = " + OVERRIDE_REPORTS);
link = EXTENT_REPORT_FOLDER_PATH + File.separator + DateUtils.getCurrentDateTimeCustom("_") + "_" + EXTENT_REPORT_FILE_NAME;
System.out.println("Link Extent Report: " + link);
LogUtils.info("Link Extent Report: " + link);
} else {
System.out.println("OVERRIDE EXTENT REPORTS = " + OVERRIDE_REPORTS);
link = EXTENT_REPORT_FILE_PATH;
System.out.println("Link Extent Report: " + link);
LogUtils.info("Link Extent Report: " + link);
}

// ExtentPDFReporter pdf = new ExtentPDFReporter("reports/ExtentReports/PdfReport.pdf");
Expand Down

0 comments on commit 0b987ec

Please sign in to comment.