Я получаю ProvisionException во время выполнения проекта на основе BDD / Cucumber Appium - PullRequest
0 голосов
/ 16 сентября 2018

com.google.inject.ProvisionException: ошибки предоставления Guice:

1) Error injecting constructor, java.lang.IllegalArgumentException: No enum constant net.thucydides.core.logging.LoggingLevel.VERB
2) at net.thucydides.core.steps.ConsoleLoggingListener.<init>(ConsoleLoggingListener.java:200)
  while locating net.thucydides.core.steps.ConsoleLoggingListener
3)  at net.thucydides.core.guice.ThucydidesModule.configure(ThucydidesModule.java:67)
  while locating net.thucydides.core.steps.StepListener annotated with interface net.thucydides.core.logging.ThucydidesLogging

Мой класс Run.java

@RunWith(CucumberWithSerenity.class)
@CucumberOptions(features = {"src/test/resources/features/AndroidApp"})
public class Run {

  @BeforeClass
  public static void startAppium() {
    startAppiumServer();
  }
  @AfterClass
  public static void stopAppium() {
    stopAppiumServer();
  }
}
...