Skip to content

Commit

Permalink
Merge pull request #267 from eliasnogueira/general-updates
Browse files Browse the repository at this point in the history
General updates
  • Loading branch information
eliasnogueira authored Apr 29, 2024
2 parents 01c3ceb + 0aeed71 commit 9858e10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 2 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@ This project uses the following languages and frameworks:
* [Allure Report](https://docs.qameta.io/allure/) as the testing report strategy
* [DataFaker](https://www.datafaker.net/) as the faker data generation strategy
* [Log4J2](https://logging.apache.org/log4j/2.x/) as the logging management strategy
* [WebDriverManager](https://github.com/bonigarcia/webdrivermanager) as the Selenium binaries management
* [Owner](http://owner.aeonbits.org/) to minimize the code to handle the properties file
* [TestContainers] (https://java.testcontainers.org/modules/webdriver_containers/) Webdriver Containers
* [TestContainers](https://java.testcontainers.org/modules/webdriver_containers/) Webdriver Containers

## Test architecture

Expand Down Expand Up @@ -99,17 +98,14 @@ on `general.properties` file. Its usage is placed on the `BaseWeb` class before

**This approach is automatically used when you run the test class in your IDE.**

This execution type uses [WebDriverManager](https://github.com/bonigarcia/webdrivermanager) class to instantiate the web
browsers.
When the `target` is `local` the `createLocalDriver()` method is used from the `BrowserFactory` class to return the
browser instance.

The browser used in the test is placed on the `browser` property in the `general.properties` file.

##### Local Suite

This execution type also uses the [WebDriverManager](https://github.com/bonigarcia/webdrivermanager) to instantiate the
web browser. The difference is that the browser is taken from the TestNG suite file instead of the `general.properties`
It's the same as the Local Execution, where the difference is that the browser is taken from the TestNG suite file instead of the `general.properties`
file, enabling you to run multi-browser test approach locally.

##### Testcontainers
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.eliasnogueira</groupId>
<artifactId>selenium-java-lean-test-architecture</artifactId>
<version>3.4.3</version>
<version>3.4.4</version>

<scm>
<connection>scm:[email protected]:eliasnogueira/selenium-java-lean-test-architecture.git</connection>
Expand All @@ -22,10 +22,10 @@
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>

<aspectj.version>1.9.22</aspectj.version>
<selenium.version>4.19.1</selenium.version>
<testng.version>7.10.1</testng.version>
<selenium.version>4.20.0</selenium.version>
<testng.version>7.10.2</testng.version>
<assertj.version>3.25.3</assertj.version>
<datafaker.version>2.2.0</datafaker.version>
<datafaker.version>2.2.2</datafaker.version>
<log4j.version>2.23.1</log4j.version>
<owner.version>1.0.12</owner.version>
<allure.version>2.27.0</allure.version>
Expand Down

0 comments on commit 9858e10

Please sign in to comment.