File tree 3 files changed +13
-5
lines changed
examples/java-wicket/java-wicket-test
src/test/java/cucumber/examples/java/wicket/steps
3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 13
13
<plugin >
14
14
<groupId >org.apache.maven.plugins</groupId >
15
15
<artifactId >maven-failsafe-plugin</artifactId >
16
+ <version >2.16</version >
16
17
<executions >
17
18
<execution >
18
19
<id >integration-test</id >
33
34
<plugin >
34
35
<groupId >org.codehaus.cargo</groupId >
35
36
<artifactId >cargo-maven2-plugin</artifactId >
37
+ <version >1.4.3</version >
36
38
<executions >
37
39
<execution >
38
40
<id >start-servlet-engine</id >
51
53
</executions >
52
54
<configuration >
53
55
<container >
54
- <containerId >jetty9x </containerId >
56
+ <containerId >jetty8x </containerId >
55
57
<type >embedded</type >
56
58
</container >
59
+ <configuration >
60
+ <properties >
61
+ <cargo .servlet.port>9878</cargo .servlet.port>
62
+ </properties >
63
+ </configuration >
57
64
<deployables >
58
65
<deployable >
59
66
<groupId >info.cukes</groupId >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public class RentACarSupport {
9
9
public void createCars (int availableCars ) {
10
10
WebDriver driver = new FirefoxDriver ();
11
11
try {
12
- driver .get ("http://localhost:8080 /rentit/create" );
12
+ driver .get ("http://localhost:9878 /rentit/create" );
13
13
14
14
WebElement numberOfCarsToCreate = driver .findElement (By .id ("numberOfCars" ));
15
15
numberOfCarsToCreate .clear ();
@@ -25,7 +25,7 @@ public void createCars(int availableCars) {
25
25
public void rentACar () {
26
26
WebDriver driver = new FirefoxDriver ();
27
27
try {
28
- driver .get ("http://localhost:8080 /rentit/rent" );
28
+ driver .get ("http://localhost:9878 /rentit/rent" );
29
29
30
30
WebElement rentButton = driver .findElement (By .id ("rentButton" ));
31
31
rentButton .click ();
@@ -37,7 +37,7 @@ public void rentACar() {
37
37
public int getAvailableNumberOfCars () {
38
38
WebDriver driver = new FirefoxDriver ();
39
39
try {
40
- driver .get ("http://localhost:8080 /rentit/available" );
40
+ driver .get ("http://localhost:9878 /rentit/available" );
41
41
42
42
WebElement availableCars = driver .findElement (By .id ("availableCars" ));
43
43
String availableCarsString = availableCars .getText ();
Original file line number Diff line number Diff line change 60
60
<!-- Minimum android sdk api level 8 = platform 2.2.1 -->
61
61
<android .version>2.2.1</android .version>
62
62
<wicket .version>6.9.1</wicket .version>
63
- <jetty .version>9.0.5.v20130815</jetty .version>
63
+ <!-- We need a version that works with Java 6 awnd Java 7: http://www.eclipse.org/jetty/documentation/current/what-jetty-version.html -->
64
+ <jetty .version>8.1.12.v20130726</jetty .version>
64
65
</properties >
65
66
<licenses >
66
67
<license >
You can’t perform that action at this time.
0 commit comments