I'm trying to create Serenity cucumber API testing framework but facing below issues with it related to serenity versions . Could you please have a look at my issues and guide me how to proceed ahead . It would be great help , I'm stuck with this from last few days. Thanks.
I tried creating framework by cloning from https://github.com/serenity-bdd/serenity-rest-starter
And I kept all the dependencies versions as it was. setup was done but it was throwing error as "step definitions are missing for the feature file"
Then I tried updating versions and got below issues.
Then secondly I tried making changes with latest versions in pom.xml file but getting error as below-
Could not resolve dependencies for project net.serenitybdd.api:serenity-cucumber-api-testing:jar:1.0.0-SNAPSHOT: Failure to find net.serenity-bdd:serenity-cucumber5:jar:1.9.45 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced ->
Also , I tried with deleting .m2 folder many times and tried adding serenity-cucmber-api-testing jar manually to .m2 folder but nothing worked.
Getting error on cucumbertestSuite file as -CucumberOptions cannot be resolved.
import io.cucumber.junit.*;
import net.serenitybdd.junit.runners.SerenityRunner;
import org.junit.runner.RunWith;
@RunWith(SerenityRunner.class)
@CucumberOptions(
Hi @wakaleo ,
I'm trying to create Serenity cucumber API testing framework but facing below issues with it related to serenity versions . Could you please have a look at my issues and guide me how to proceed ahead . It would be great help , I'm stuck with this from last few days. Thanks.
I tried creating framework by cloning from https://github.com/serenity-bdd/serenity-rest-starter And I kept all the dependencies versions as it was. setup was done but it was throwing error as "step definitions are missing for the feature file" Then I tried updating versions and got below issues.
Then secondly I tried making changes with latest versions in pom.xml file but getting error as below- Could not resolve dependencies for project net.serenitybdd.api:serenity-cucumber-api-testing:jar:1.0.0-SNAPSHOT: Failure to find net.serenity-bdd:serenity-cucumber5:jar:1.9.45 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced ->
Also , I tried with deleting .m2 folder many times and tried adding serenity-cucmber-api-testing jar manually to .m2 folder but nothing worked. Getting error on cucumbertestSuite file as -CucumberOptions cannot be resolved. import io.cucumber.junit.*; import net.serenitybdd.junit.runners.SerenityRunner; import org.junit.runner.RunWith; @RunWith(SerenityRunner.class) @CucumberOptions(
here is my Pom.xml file.
<?xml version="1.0" encoding="UTF-8"?> <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">