Skip to content

Commit

Permalink
#1022 - Automation test
Browse files Browse the repository at this point in the history
- add sonar key + revert pom parents
  • Loading branch information
Chinh Duong committed Sep 25, 2024
1 parent 8da913a commit 22956b0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 45 deletions.
2 changes: 1 addition & 1 deletion automation-ui/automation-base/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<sonar.organization>nashtech-garage</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<!-- TODO: request create sonar key -->
<sonar.projectKey>nashtech-garage_yas-automation-ui-automation_base</sonar.projectKey>
<sonar.projectKey>nashtech-garage_yas-automation-ui-base</sonar.projectKey>
</properties>

<dependencies>
Expand Down
53 changes: 9 additions & 44 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<name>yas</name>

<modules>
<module>common-library</module>
<module>backoffice-bff</module>
<module>cart</module>
<module>customer</module>
Expand All @@ -32,7 +33,6 @@
<module>tax</module>
<module>webhook</module>
<module>sampledata</module>
<module>automation-ui</module>
</modules>

<properties>
Expand Down Expand Up @@ -62,13 +62,6 @@
<testcontainers-keycloak.version>3.3.0</testcontainers-keycloak.version>
<rest-assured.version>5.4.0</rest-assured.version>
<instancio-junit.version>4.8.1</instancio-junit.version>
<selenium-java.version>4.14.0</selenium-java.version>
<webdrivermanager.version>5.7.0</webdrivermanager.version>
<cucumber-java.version>7.18.1</cucumber-java.version>
<testng.version>7.10.2</testng.version>
<cucumber-testng.version>7.18.1</cucumber-testng.version>
<cucumber-spring.version>7.14.0</cucumber-spring.version>

</properties>
<dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -152,42 +145,6 @@
<version>${testcontainers-keycloak.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>${selenium-java.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>${webdrivermanager.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
<version>${cucumber-java.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>${testng.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-testng</artifactId>
<version>${cucumber-testng.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-spring</artifactId>
<version>${cucumber-spring.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
Expand Down Expand Up @@ -355,6 +312,14 @@
</goals>
</execution>
</executions>
<configuration>
<excludes>
<exclude>com/yas/**/*Application.class</exclude>
<exclude>com/yas/**/config/**</exclude>
<exclude>com/yas/**/exception/**</exclude>
<exclude>com/yas/**/constants/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down

0 comments on commit 22956b0

Please sign in to comment.