From fc4a0833b2f999968144feae395df4df89101652 Mon Sep 17 00:00:00 2001 From: Anh Tester Date: Sun, 5 Nov 2023 01:24:25 +0700 Subject: [PATCH] Update version 1.5.2 --- CHANGELOG.txt | 7 +++++++ pom.xml | 12 ++++++------ src/main/java/com/anhtester/keywords/WebUI.java | 4 ++-- .../java/com/anhtester/listeners/TestListener.java | 4 ++-- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 5001c5f..0b46def 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/pom.xml b/pom.xml index 5e8f182..f992310 100644 --- a/pom.xml +++ b/pom.xml @@ -15,15 +15,15 @@ UTF-8 UTF-8 17 - 3.1.2 + 3.2.1 3.11.0 7.14.0 27.0.0 5.7.5 - 4.14.1 + 4.15.0 7.8.0 - 5.5.3 + 5.6.1 1.9.20.1 3.0.0-alpha1 2.24.0 @@ -35,7 +35,7 @@ 5.1.1 5.2.4 5.2.4 - 2.14.0 + 2.15.0 1.0.12 3.24.2 0.7.7.0 @@ -46,7 +46,7 @@ 1.9.7 1.6.2 1.16 - 2.15.3 + 2.16.0-rc1 2.0.2 6.9.1 @@ -310,7 +310,7 @@ com.mysql mysql-connector-j - 8.1.0 + 8.2.0 diff --git a/src/main/java/com/anhtester/keywords/WebUI.java b/src/main/java/com/anhtester/keywords/WebUI.java index 370ba05..ba8c65c 100644 --- a/src/main/java/com/anhtester/keywords/WebUI.java +++ b/src/main/java/com/anhtester/keywords/WebUI.java @@ -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; diff --git a/src/test/java/com/anhtester/listeners/TestListener.java b/src/test/java/com/anhtester/listeners/TestListener.java index cadb902..4f07901 100644 --- a/src/test/java/com/anhtester/listeners/TestListener.java +++ b/src/test/java/com/anhtester/listeners/TestListener.java @@ -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."); @@ -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));