Skip to content

Commit ac9163c

Browse files
authored
Merge pull request #86 from simonladen/FISH-8910-add-ui-tests
FISH-8910 - adding UI tests
2 parents b24f82b + 2d9837d commit ac9163c

File tree

4 files changed

+686
-0
lines changed

4 files changed

+686
-0
lines changed

starter-ui/pom.xml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,25 @@
111111
<artifactId>microprofile-config-api</artifactId>
112112
<version>3.1</version>
113113
</dependency>
114+
115+
<!-- Playwright -->
116+
<dependency>
117+
<groupId>com.microsoft.playwright</groupId>
118+
<artifactId>playwright</artifactId>
119+
<version>1.51.0</version>
120+
</dependency>
121+
122+
<!-- JUnit 5 -->
123+
<dependency>
124+
<groupId>org.junit.jupiter</groupId>
125+
<artifactId>junit-jupiter-api</artifactId>
126+
<version>5.12.1</version>
127+
</dependency>
128+
<dependency>
129+
<groupId>org.junit.jupiter</groupId>
130+
<artifactId>junit-jupiter-engine</artifactId>
131+
<version>5.12.1</version>
132+
</dependency>
114133
</dependencies>
115134
<build>
116135
<extensions>
@@ -205,4 +224,30 @@
205224
</plugin>
206225
</plugins>
207226
</build>
227+
<profiles>
228+
<profile>
229+
<id>e2e</id>
230+
<!-- to run e2e tests, make sure to have payara starter running
231+
for example, use `mvn clean install payara-micro:starter -DcontextRoot="payara-starter" -DdeployWar=true -f ./starter-ui`-->
232+
<build>
233+
<plugins>
234+
<plugin>
235+
<groupId>org.apache.maven.plugins</groupId>
236+
<artifactId>maven-failsafe-plugin</artifactId>
237+
<version>3.5.3</version>
238+
<executions>
239+
<execution>
240+
<id>run-tests</id>
241+
<phase>integration-test</phase>
242+
<goals>
243+
<goal>integration-test</goal>
244+
<goal>verify</goal>
245+
</goals>
246+
</execution>
247+
</executions>
248+
</plugin>
249+
</plugins>
250+
</build>
251+
</profile>
252+
</profiles>
208253
</project>

0 commit comments

Comments
 (0)