Coder Social home page Coder Social logo

serenity-articles's Issues

tutorial code is outdated

I am trying to go through the tutorials, specifically the Screenplay Pattern tutorial. If I update the serenity libraries to latest release version, the tests cannot run. I get:

com.google.inject.ConfigurationException: 
Guice configuration errors:

1) No implementation for net.thucydides.core.webdriver.WebdriverManager was bound.
  while locating net.thucydides.core.webdriver.WebdriverManager

when trying to start the browser. Any suggestion what to do about that?

java.lang.NoClassDefFoundError: Could not initialize class io.restassured.RestAssured

Hi John,

I am getting the below issue and I have tried all the options available. But unable to get it solved.
Please take a look into it and provide the solution. I have attached my POM here.

I am using the latest serenity 2.0.29.

16:08:31.213 [main] DEBUG c.n.a.rest.controller.RestBase - AutomationHome Path =C:\Users\nishiveg\GitWorkSpace\Final Checkin\AppAutomationServer
16:08:31.218 [main] DEBUG c.n.a.rest.controller.RestBase - Depolyment is impact less
16:08:32.281 [main] WARN net.thucydides.core.pages.Pages - Failed to instantiate page of type class com.nokia.automation.ui.isa.pageobject.AddCameraPage ({})
java.lang.NoClassDefFoundError: Could not initialize class io.restassured.RestAssured
at io.restassured.builder.RequestSpecBuilder.(RequestSpecBuilder.java:79)
at com.nokia.automation.rest.isa.rest.controller.IsaApiResponse.(IsaApiResponse.java:63)
at com.nokia.automation.ui.isa.pageobject.AddCameraPage.(AddCameraPage.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)

pom.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.