serenity-bdd / serenity-demos

64 stars 170 forks source link

Serenity tests fail to run on firefox 45 #32

Open sri85 opened 7 years ago

sri85 commented 7 years ago

I was trying to run the serenity tests shown here 👉 https://github.com/serenity-bdd/serenity-demos/tree/master/serenity-journey-demo , the tests run fine on chrome but when i run the same tests on firefox , the browser is launched but nothing happens beyond that . When i checked the reports i see the following error

net.thucydides.core.webdriver.UnsupportedDriverException: Could not instantiate class    org.openqa.selenium.firefox.FirefoxDriver
 View stack trace

When I add the todo action 'Buy some milk'
SKIPPED 0s

Then 'Buy some milk' should appear in the Active items
SKIPPED 0s
ERROR   45.52s 

I am using java 1.8 and maven 3 on a Mac

sirgen commented 7 years ago

Hi, Please try with the latest Serenity BDD release:

<dependency>
    <groupId>net.serenity-bdd</groupId>
    <artifactId>serenity-core</artifactId>
    <version>1.1.42</version>
</dependency>
sri85 commented 7 years ago

I updated the property serenity.version to 1.1.42 but i am getting the following error Missing artifact net.serenity-bdd:serenity-journey:jar:1.1.42 when i run mvn clean verify

sri85 commented 7 years ago

This is what my pom.xml looks like 👇 https://gist.github.com/sri85/e2cf59d83659a8c147fd227167436d09

wakaleo commented 7 years ago

The journey module was renamed serenity-screenplay a few versions back.

On Tuesday, 18 October 2016, Sripathi Pai notifications@github.com wrote:

This is what my pom.xml looks like 👉 https://gist.github.com/sri85/ e2cf59d83659a8c147fd227167436d09

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/serenity-bdd/serenity-demos/issues/32#issuecomment-254453300, or mute the thread https://github.com/notifications/unsubscribe-auth/AADasgudZ2WBA-E8YSw7x1hCgolJZkRGks5q1I9xgaJpZM4KY0-8 .


John Smart | Wakaleo Consulting | +44 7398 832273 Making smart teams collaborate better http://johnfergusonsmart.com | john.smart@wakaleo.com


We love breaking down silos and helping smart teams collaborate better! Ask about our tailored on-site workshops http://johnfergusonsmart.com/programs/ in Agile Product Planning http://johnfergusonsmart.com/programs-courses/next-generation-agile-delivery-product-planning/, BDD Requirements Discovery http://johnfergusonsmart.com/programs-courses/mastering-agile-requirements-behaviour-driven-development/, BDD, TDD and Clean Coding http://johnfergusonsmart.com/programs-courses/bdd-tdd-clean-coding/, and Advanced BDD Test Automation http://johnfergusonsmart.com/programs-courses/advanced-bdd-test-automation/ .


sri85 commented 7 years ago

So which is the dependency i need to update in the pom.xml ?

wakaleo commented 7 years ago

serenity-screenplay: http://search.maven.org/#search%7Cga%7C1%7Ca%3A%22serenity-screenplay%22

sri85 commented 7 years ago

@wakaleo The issue still exists even after updating the serenity-journey to serenity-screenplay. I have referenced the issue ☝️