ui-tests
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.capitalone.dashboard</groupId> <artifactId>ui-tests</artifactId> <version>3.1.0</version> </dependency>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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> <artifactId>ui-tests</artifactId> <name>${project.groupId}:${project.artifactId}</name> <description>UI Tests using JBehave and Selenium for the Hygieia Continuous Delivery Dashboard</description> <parent> <groupId>com.capitalone.dashboard</groupId> <artifactId>Hygieia</artifactId> <version>3.1.0</version> </parent> <properties> <apache.commons.version>1.3</apache.commons.version> <serenity.version>1.2.2</serenity.version> <serenity.jbehave.version>1.21.0</serenity.jbehave.version> <serenity-maven.version>1.2.2</serenity-maven.version> <freemarker.version>2.3.23</freemarker.version> <uitest.baseImage>maven:3.3.9-jdk-8-alpine</uitest.baseImage> </properties> <dependencies> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-core</artifactId> <version>${serenity.version}</version> </dependency> <dependency> <groupId>net.serenity-bdd</groupId> <artifactId>serenity-jbehave</artifactId> <version>${serenity.jbehave.version}</version> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-web</artifactId> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-exec</artifactId> <version>${apache.commons.version}</version> </dependency> </dependencies> <build> <finalName>ui-tests</finalName> <plugins> <plugin> <groupId>com.spotify</groupId> <artifactId>docker-maven-plugin</artifactId> <!-- <executions> <execution> <id>docker</id> <phase>package</phase> <goals> <goal>build</goal> </goals> </execution> </executions> --> <configuration> <skipDockerBuild>true</skipDockerBuild> <imageName>hygieia-${project.build.finalName}</imageName> <baseImage>${uitest.baseImage}</baseImage> <workdir>/usr/src/app/</workdir> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <testFailureIgnore>true</testFailureIgnore> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>uitest-windows</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>serenity</id> <phase>integration-test</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <exec executable="sh" failonerror="true"> <arg value="uitests.sh" /> </exec> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>uitests</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>serenity</id> <phase>integration-test</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <exec executable="./uitests.sh" failonerror="true" /> </target> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>