2023-01-25 11:04:29 +00:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2023-01-26 16:02:12 +00:00
|
|
|
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>PlaywrightJava1</artifactId>
|
|
|
|
<version>1.0-SNAPSHOT</version>
|
|
|
|
<packaging>pom</packaging>
|
|
|
|
|
|
|
|
<distributionManagement>
|
|
|
|
<site>
|
|
|
|
<id>website</id>
|
|
|
|
<url>scp://webhost.company.com/www/website</url>
|
|
|
|
</site>
|
|
|
|
</distributionManagement>
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
<dependencyManagement>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.cucumber</groupId>
|
|
|
|
<artifactId>cucumber-bom</artifactId>
|
|
|
|
<version>7.10.1</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit</groupId>
|
|
|
|
<artifactId>junit-bom</artifactId>
|
|
|
|
<version>5.9.2</version>
|
|
|
|
<type>pom</type>
|
|
|
|
<scope>import</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
</dependencyManagement>
|
|
|
|
|
2023-01-25 11:04:29 +00:00
|
|
|
<dependencies>
|
2023-01-26 16:02:12 +00:00
|
|
|
|
|
|
|
<!-- *********************************** JUNIT5 **************************** -->
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.junit.jupiter</groupId>
|
|
|
|
<artifactId>junit-jupiter-api</artifactId>
|
|
|
|
<version>5.9.2</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- *************************** PLAYWRIGHT **************************** -->
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.microsoft.playwright/playwright -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.microsoft.playwright</groupId>
|
|
|
|
<artifactId>playwright</artifactId>
|
|
|
|
<version>1.29.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.microsoft.playwright/assertions -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.microsoft.playwright</groupId>
|
|
|
|
<artifactId>assertions</artifactId>
|
|
|
|
<version>1.17.2</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.microsoft.playwright/driver -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.microsoft.playwright</groupId>
|
|
|
|
<artifactId>driver</artifactId>
|
|
|
|
<version>1.29.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.microsoft.playwright/driver-bundle -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.microsoft.playwright</groupId>
|
|
|
|
<artifactId>driver-bundle</artifactId>
|
|
|
|
<version>1.29.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- *********************** CUCUMBER ******************************* -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.cucumber</groupId>
|
|
|
|
<artifactId>cucumber-java</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/io.cucumber/cucumber-junit -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.cucumber</groupId>
|
|
|
|
<artifactId>cucumber-junit</artifactId>
|
|
|
|
<version>7.11.0</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.cucumber</groupId>
|
|
|
|
<artifactId>cucumber-junit-platform-engine</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<dependency>
|
|
|
|
<groupId>io.cucumber</groupId>
|
|
|
|
<artifactId>cucumber-picocontainer</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.google.code.gson</groupId>
|
|
|
|
<artifactId>gson</artifactId>
|
|
|
|
<version>2.8.9</version>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- https://mvnrepository.com/artifact/org.opentest4j/opentest4j -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.opentest4j</groupId>
|
|
|
|
<artifactId>opentest4j</artifactId>
|
|
|
|
<version>1.2.0</version>
|
|
|
|
</dependency>
|
|
|
|
|
2023-01-25 11:04:29 +00:00
|
|
|
</dependencies>
|
2023-01-26 16:02:12 +00:00
|
|
|
|
2023-01-27 13:51:59 +00:00
|
|
|
<profiles>
|
|
|
|
<profile>
|
|
|
|
<id>test</id>
|
|
|
|
<properties>
|
|
|
|
<cucumber.options>
|
|
|
|
plugin={
|
|
|
|
"pretty",
|
|
|
|
"html:target/reports/cucumber-html-report.html",
|
|
|
|
"json:target/reports/cucumber.json",
|
|
|
|
"pretty:target/reports/cucumber-pretty.txt",
|
|
|
|
"usage:target/reports/cucumber-usage.json",
|
|
|
|
"junit:target/reports/cucumber-results.xml"
|
|
|
|
},
|
|
|
|
publish=false,
|
|
|
|
stepNotifications=true
|
|
|
|
</cucumber.options>
|
|
|
|
<cucumber.publish.quiet>
|
|
|
|
cucumber.publish.quiet=true
|
|
|
|
</cucumber.publish.quiet>
|
|
|
|
</properties>
|
|
|
|
</profile>
|
|
|
|
</profiles>
|
|
|
|
|
2023-01-26 16:02:12 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>3.10.1</version>
|
|
|
|
<configuration>
|
|
|
|
<source>1.8</source>
|
|
|
|
<target>1.8</target>
|
|
|
|
<encoding>UTF-8</encoding>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
|
|
<version>3.0.0-M7</version>
|
|
|
|
<configuration>
|
2023-01-27 12:47:29 +00:00
|
|
|
<testSourceDirectory>src/test/java/org/example/webtests</testSourceDirectory>
|
|
|
|
<includes>
|
|
|
|
<include>**/*DemoRunner.java</include>
|
|
|
|
</includes>
|
2023-01-27 13:51:59 +00:00
|
|
|
<systemPropertyVariables>
|
|
|
|
<!--suppress UnresolvedMavenProperty -->
|
|
|
|
<cucumber.options>${cucumber.options}</cucumber.options>
|
|
|
|
<!--suppress UnresolvedMavenProperty -->
|
|
|
|
<cucumber.publish.quiet>${cucumber.publish.quiet}</cucumber.publish.quiet>
|
|
|
|
</systemPropertyVariables>
|
2023-01-26 16:02:12 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
|
|
|
|
</build>
|
2023-01-25 11:04:29 +00:00
|
|
|
|
|
|
|
</project>
|