Skip to content

Commit 51b39ea

Browse files
committed
Now configuration to run E2E tests with Nightwatch also added to frontend pom.xml - will now always run when a mvn clean install/test` is issued.
1 parent cdb1f40 commit 51b39ea

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

frontend/pom.xml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,27 @@
5656
<arguments>run build</arguments>
5757
</configuration>
5858
</execution>
59-
<!-- Run Unit tests -->
59+
<!-- Run Unit tests with Jest -->
6060
<execution>
61-
<id>npm run test</id>
61+
<id>npm run unit</id>
6262
<goals>
6363
<goal>npm</goal>
6464
</goals>
65-
<!-- optional: default phase is "generate-resources" -->
6665
<phase>test</phase>
67-
<!-- Optional configuration which provides for running any npm command -->
6866
<configuration>
6967
<arguments>run unit</arguments>
7068
</configuration>
69+
</execution>
70+
<!-- Run End2End tests with Nightwatch -->
71+
<execution>
72+
<id>npm run e2e</id>
73+
<goals>
74+
<goal>npm</goal>
75+
</goals>
76+
<phase>test</phase>
77+
<configuration>
78+
<arguments>run e2e</arguments>
79+
</configuration>
7180
</execution>
7281
</executions>
7382
</plugin>

0 commit comments

Comments
 (0)