diff --git a/domiSMP-ui-tests/pom.xml b/domiSMP-ui-tests/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..4b6cc35b9c4586d3bf479a6924cc919a099cc727 --- /dev/null +++ b/domiSMP-ui-tests/pom.xml @@ -0,0 +1,235 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns="http://maven.apache.org/POM/4.0.0" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.example</groupId> + <artifactId>domiSMP-ui-tests</artifactId> + <version>1.0-SNAPSHOT</version> + + <properties> + <slf4j_version>2.0.0-alpha0</slf4j_version> + <commons-csv_version>1.5</commons-csv_version> + <selenium-chrome-driver_version>4.8.3</selenium-chrome-driver_version> + <selenium-java_version>4.8.3</selenium-java_version> + <poi-ooxml_version>5.2.3</poi-ooxml_version> + <reflections_version>0.10.2</reflections_version> + <jersey-client_version>1.19.4</jersey-client_version> + <jersey-multipart_version>1.19.4</jersey-multipart_version> + <json_version>20230227</json_version> + <jackson_version>2.15.0-rc3</jackson_version> + <javax.ws.rs-api_version>2.1.1</javax.ws.rs-api_version> + </properties> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.10.0</version> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.0.0-M7</version> + <configuration> + <failIfNoTests>true</failIfNoTests> + <systemPropertyVariables> + <runBrowser>chrome</runBrowser> + <propertiesFile>./src/main/resources/myLocal.properties</propertiesFile> + </systemPropertyVariables> + <properties> + <property> + <name>surefire.testng.verbose</name> + <value>0</value> + </property> + </properties> + </configuration> + </plugin> + </plugins> + </build> + + <profiles> + + <profile> + <id>selenium_local</id> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemPropertyVariables> + <propertiesFile>./src/main/resources/myLocal.properties</propertiesFile> + </systemPropertyVariables> + <suiteXmlFiles> + <suiteXmlFile>testng.xml</suiteXmlFile> + </suiteXmlFiles> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + <profile> + <id>bamboo-remote</id> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemPropertyVariables> + <propertiesFile>./src/main/resources/bambooE2.properties</propertiesFile> + </systemPropertyVariables> + <suiteXmlFiles> + <suiteXmlFile>testng.xml</suiteXmlFile> + </suiteXmlFiles> + </configuration> + </plugin> + </plugins> + </build> + </profile> + + </profiles> + + <dependencies> + <!-- USED FOR ENHANCED REPORTS--> + <dependency> + <groupId>com.aventstack</groupId> + <artifactId>extentreports</artifactId> + <version>5.0.9</version> + </dependency> + + <!--**************************************--> + <!--FOR DATA DRIVEN TESTS--> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-csv</artifactId> + <version>${commons-csv_version}</version> + </dependency> + + <!--**************************************--> + <dependency> + <groupId>ch.qos.logback</groupId> + <artifactId>logback-classic</artifactId> + <version>1.2.11</version> + </dependency> + + <!--**************************************--> + + + <dependency> + <groupId>org.seleniumhq.selenium</groupId> + <artifactId>selenium-chrome-driver</artifactId> + <version>${selenium-chrome-driver_version}</version> + </dependency> + <dependency> + <groupId>org.seleniumhq.selenium</groupId> + <artifactId>selenium-java</artifactId> + <version>${selenium-java_version}</version> + </dependency> + + <dependency> + <groupId>org.testng</groupId> + <artifactId>testng</artifactId> + <version>7.4.0</version> + </dependency> + + <dependency> + <groupId>org.apache.poi</groupId> + <artifactId>poi-ooxml</artifactId> + <version>${poi-ooxml_version}</version> + </dependency> + + <dependency> + <groupId>org.reflections</groupId> + <artifactId>reflections</artifactId> + <version>0.9.12</version> + </dependency> + + + <dependency> + <groupId>com.sun.jersey</groupId> + <artifactId>jersey-client</artifactId> + <version>${jersey-client_version}</version> + </dependency> + + <dependency> + <groupId>com.sun.jersey.contribs</groupId> + <artifactId>jersey-multipart</artifactId> + <version>${jersey-multipart_version}</version> + </dependency> + + <dependency> + <groupId>org.json</groupId> + <artifactId>json</artifactId> + <version>${json_version}</version> + </dependency> + + + <!-- *********************************************************************************** --> + + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-core</artifactId> + <version>${jackson_version}</version> + </dependency> + <dependency> + <groupId>com.fasterxml.jackson.jaxrs</groupId> + <artifactId>jackson-jaxrs-json-provider</artifactId> + <version>${jackson_version}</version> + </dependency> + <!-- *********************************************************************************** --> + + + <dependency> + <groupId>javax.ws.rs</groupId> + <artifactId>javax.ws.rs-api</artifactId> + <version>${javax.ws.rs-api_version}</version> + </dependency> + + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-collections4</artifactId> + <version>4.4</version> + </dependency> + <dependency> + <groupId>org.apache.commons</groupId> + <artifactId>commons-lang3</artifactId> + <version>3.12.0</version> + </dependency> + <dependency> + <groupId>commons-configuration</groupId> + <artifactId>commons-configuration</artifactId> + <version>1.10</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.11.0</version> + </dependency> + <!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java --> + <dependency> + <groupId>mysql</groupId> + <artifactId>mysql-connector-java</artifactId> + <version>8.0.32</version> + </dependency> + <!-- https://mvnrepository.com/artifact/xmlunit/xmlunit --> + <dependency> + <groupId>xmlunit</groupId> + <artifactId>xmlunit</artifactId> + <version>1.6</version> + </dependency> + + <dependency> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.0.0-M7</version> + </dependency> + + </dependencies> + +</project> \ No newline at end of file