Skip to content

Commit

Permalink
Update version 1.8.1 (optimize)
Browse files Browse the repository at this point in the history
  • Loading branch information
vothaian committed Sep 7, 2024
1 parent d73581f commit 113b99e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 21 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
v1.8.1
======
Sep 07, 2024
* Optimize method in WebUI keyword

v1.8.0
======
Sep 05, 2024
Expand Down
16 changes: 1 addition & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.anhtester</groupId>
<artifactId>anhtester-cucumber-testng</artifactId>
<version>1.8.0</version>
<version>1.8.1</version>
<name>TestAutomationFrameworkCucumberTestNG</name>
<url>https://github.com/anhtester/AutomationFrameworkCucumberTestNG</url>

Expand Down Expand Up @@ -40,7 +40,6 @@
<assertj.version>3.24.2</assertj.version>
<monte-screen-recorder.version>0.7.7.0</monte-screen-recorder.version>
<mysql-connector-java.version>8.0.33</mysql-connector-java.version>
<google.zxing.version>3.5.3</google.zxing.version>
<lombok.version>1.18.34</lombok.version>
<google.guava.version>33.3.0-jre</google.guava.version>
<data.supplier.version>1.9.7</data.supplier.version>
Expand Down Expand Up @@ -322,19 +321,6 @@
<version>${mysql-connector-java.version}</version>
</dependency>

<!-- https://mvnrepository.com/artifact/com.google.zxing/javase -->
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</artifactId>
<version>${google.zxing.version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.google.zxing/core -->
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>${google.zxing.version}</version>
</dependency>

<!-- https://mvnrepository.com/artifact/org.aspectj/aspectjweaver -->
<dependency>
<groupId>org.aspectj</groupId>
Expand Down
10 changes: 4 additions & 6 deletions src/main/java/com/anhtester/keywords/WebUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@
import com.anhtester.utils.DateUtils;
import com.anhtester.utils.LogUtils;
import com.google.common.util.concurrent.Uninterruptibles;
import com.google.zxing.BinaryBitmap;
import com.google.zxing.LuminanceSource;
import com.google.zxing.MultiFormatReader;
import com.google.zxing.Result;
import com.google.zxing.client.j2se.BufferedImageLuminanceSource;
import com.google.zxing.common.HybridBinarizer;
import io.qameta.allure.Step;
import org.apache.commons.io.FileUtils;
import org.openqa.selenium.Dimension;
Expand Down Expand Up @@ -70,6 +64,10 @@ public class WebUI {
*/
private static SoftAssert softAssert = new SoftAssert();

public static SoftAssert getSoftAssert() {
return softAssert;
}

/**
* Stop the Soft Assert of TestNG
*/
Expand Down

0 comments on commit 113b99e

Please sign in to comment.