diff --git a/pom.xml b/pom.xml index a106ddc..5ed68d1 100644 --- a/pom.xml +++ b/pom.xml @@ -11,10 +11,10 @@ UTF-8 - 2.4.51 - 2.4.51 - 2.4.51 - 1.2.3 + 4.0.1 + 4.0.1 + 4.0.1 + 1.4.11 UTF-8 4 @@ -61,39 +61,33 @@ net.serenity-bdd - serenity-cucumber6 + serenity-cucumber ${serenity.cucumber.version} test + + io.rest-assured + rest-assured-common + 5.3.1 + io.rest-assured rest-assured - 4.3.2 + 5.3.1 test io.rest-assured json-path - 4.3.3 + 5.3.1 io.rest-assured xml-path - 4.3.3 - - - org.codehaus.groovy - groovy - 3.0.6 - - - org.codehaus.groovy - groovy-xml - 3.0.6 + 5.3.1 - junit @@ -155,8 +149,8 @@ maven-compiler-plugin 3.8.0 - 1.8 - 1.8 + 11 + 11 diff --git a/src/test/java/starter/postcodes/PostCodeAPI.java b/src/test/java/starter/postcodes/PostCodeAPI.java index 120b00c..e621884 100644 --- a/src/test/java/starter/postcodes/PostCodeAPI.java +++ b/src/test/java/starter/postcodes/PostCodeAPI.java @@ -1,8 +1,7 @@ package starter.postcodes; -import io.restassured.RestAssured; +import net.serenitybdd.annotations.Step; import net.serenitybdd.rest.SerenityRest; -import net.thucydides.core.annotations.Step; public class PostCodeAPI { diff --git a/src/test/java/starter/postcodes/PostCodeStepDefinitions.java b/src/test/java/starter/postcodes/PostCodeStepDefinitions.java index 6a5f315..4b8ee28 100644 --- a/src/test/java/starter/postcodes/PostCodeStepDefinitions.java +++ b/src/test/java/starter/postcodes/PostCodeStepDefinitions.java @@ -2,9 +2,7 @@ import io.cucumber.java.en.Then; import io.cucumber.java.en.When; -import io.restassured.RestAssured; -import net.serenitybdd.rest.SerenityRest; -import net.thucydides.core.annotations.Steps; +import net.serenitybdd.annotations.Steps; import static net.serenitybdd.rest.SerenityRest.restAssuredThat; import static org.hamcrest.Matchers.equalTo;