Skip to content

Commit

Permalink
Update version 1.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
anhtester committed Nov 4, 2023
1 parent 4520d77 commit fc4a083
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v1.5.2
======
Nov 5, 2023
* Update Selenium 4.15.0
* Update support CDP 119 (Chrome)
* Update devtools v119 in WebUI keyword

v1.5.1
======
Oct 12, 2023
Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java-compiler.version>17</java-compiler.version>
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
<maven-surefire-plugin.version>3.2.1</maven-surefire-plugin.version>
<maven-compiler-plugin.version>3.11.0</maven-compiler-plugin.version>

<cucumber.java.version>7.14.0</cucumber.java.version>
<gherkin.version>27.0.0</gherkin.version>
<cucumber-reporting.version>5.7.5</cucumber-reporting.version>
<selenium.version>4.14.1</selenium.version>
<selenium.version>4.15.0</selenium.version>
<testng.version>7.8.0</testng.version>
<webdrivermanager.version>5.5.3</webdrivermanager.version>
<webdrivermanager.version>5.6.1</webdrivermanager.version>
<aspectjweaver.version>1.9.20.1</aspectjweaver.version>
<log4j.version>3.0.0-alpha1</log4j.version>
<allure-testng.version>2.24.0</allure-testng.version>
Expand All @@ -35,7 +35,7 @@
<extentreports.version>5.1.1</extentreports.version>
<apache-poi.version>5.2.4</apache-poi.version>
<apache-poi-xml.version>5.2.4</apache-poi-xml.version>
<commons-io.version>2.14.0</commons-io.version>
<commons-io.version>2.15.0</commons-io.version>
<owner.version>1.0.12</owner.version>
<assertj.version>3.24.2</assertj.version>
<monte-screen-recorder.version>0.7.7.0</monte-screen-recorder.version>
Expand All @@ -46,7 +46,7 @@
<data.supplier.version>1.9.7</data.supplier.version>
<javax.mail.version>1.6.2</javax.mail.version>
<zip.version>1.16</zip.version>
<jackson.version>2.15.3</jackson.version>
<jackson.version>2.16.0-rc1</jackson.version>
<datafaker.version>2.0.2</datafaker.version>
<telegram.bot.version>6.9.1</telegram.bot.version>

Expand Down Expand Up @@ -310,7 +310,7 @@
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>8.1.0</version>
<version>8.2.0</version>
</dependency>

<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/anhtester/keywords/WebUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
import org.openqa.selenium.chrome.ChromeOptions;
import org.openqa.selenium.devtools.DevTools;
import org.openqa.selenium.devtools.HasDevTools;
import org.openqa.selenium.devtools.v117.network.Network;
import org.openqa.selenium.devtools.v117.network.model.Headers;
import org.openqa.selenium.devtools.v119.network.Network;
import org.openqa.selenium.devtools.v119.network.model.Headers;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.print.PrintOptions;
import org.openqa.selenium.support.ui.ExpectedCondition;
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/com/anhtester/listeners/TestListener.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void onTestSuccess(ITestResult iTestResult) {
CaptureHelpers.captureScreenshot(DriverManager.getDriver(), getTestName(iTestResult));
}

AllureManager.saveTextLog("Test case: " + getTestName(iTestResult) + " is passed.");
//AllureManager.saveTextLog("Test case: " + getTestName(iTestResult) + " is passed.");
//ExtentReports log operation for passed tests.
ExtentReportManager.logMessage(Status.PASS, "Test case: " + getTestName(iTestResult) + " is passed.");

Expand All @@ -181,7 +181,7 @@ public void onTestFailure(ITestResult iTestResult) {
LogUtils.error(iTestResult.getThrowable());

AllureManager.takeScreenshotToAttachOnAllureReport();
AllureManager.saveTextLog(iTestResult.getThrowable().toString());
//AllureManager.saveTextLog(iTestResult.getThrowable().toString());

//Extent report screenshot file and log
ExtentReportManager.addScreenShot(Status.FAIL, getTestName(iTestResult));
Expand Down

0 comments on commit fc4a083

Please sign in to comment.