Hi Paul,
Thanks for responding so quickly.
I have the Cisco AnyConnect VPN Client installed. It's not running
when I'm trying to run the tutorial.
I reduced my /etc/hosts to this:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1localhost
I've been working with the Java example, so I hadn't tried the groovy
version. When I try to compile the tutorial, I get this:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.1:compile
(default-compile) on project etsy-stories-groovy-pico: Compilation failure
[ERROR]
/Users/jcarnegie/dev/jbehave-tutorial/etsy-stories-groovy-pico/src/main/java/org/jbehave/tutorials/etsy/EtsyDotComStories.java:[160,33]
cannot find symbol
[ERROR] symbol : constructor
WebQueue(org.jbehave.core.embedder.Embedder,org.jbehave.web.queue.WebQueueConfiguration)
[ERROR] location: class org.jbehave.web.queue.WebQueue
[ERROR] -> [Help 1]
I'll try to debug that in the morning and then try to get the
regression test working after that.
Thanks!
Jeff
On Thu, Dec 22, 2011 at 7:47 PM, Paul Hammant <[email protected]
<mailto:[email protected]>> wrote:
Are you running VPN software ? What is in /etc/hosts for 127.0.01
If you run regression-tests.seleniumhq.org/issues/2915.groovy
<http://regression-tests.seleniumhq.org/issues/2915.groovy>
locally what happens?
-ph
On Thu, Dec 22, 2011 at 9:33 PM, Jeff Carnegie <[email protected]
<mailto:[email protected]>> wrote:
Hi,
I'm new to JBehave and am trying to get the Etsy tutorials on
to run. System info below:
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Maven is version 2.2.1
It looks like the selenium driver can't connect to Firefox:
org.openqa.selenium.firefox.NotConnectedException: Unable to
connect to host 127.0.0.1 on port 7055 after 45000 ms
Any hints on how to get this working? Full details is below...
Thanks!
Jeff
$ mvn install
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Etsy.com Stories with Java and Spring 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources
(default-resources) @ etsy-stories-java-spring ---
[WARNING] Using platform encoding (MacRoman actually) to copy
filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO] Copying 3 resources
[INFO]
[INFO] --- jbehave-maven-plugin:3.5.3:unpack-view-resources
(unpack-view-resources) @ etsy-stories-java-spring ---
[INFO] Unpacked
/Users/jcarnegie/.m2/repository/org/jbehave/site/jbehave-site-resources/3.1.1/jbehave-site-resources-3.1.1.zip
to
/Users/jcarnegie/dev/tagged/jbehave-tutorial/etsy-stories-java-spring/target/jbehave/view
[INFO] Unpacked
/Users/jcarnegie/.m2/repository/org/jbehave/jbehave-core/3.5.3/jbehave-core-3.5.3-resources.zip
to
/Users/jcarnegie/dev/tagged/jbehave-tutorial/etsy-stories-java-spring/target/jbehave/view
[INFO]
[INFO] --- maven-compiler-plugin:2.1:compile (default-compile)
@ etsy-stories-java-spring ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources
(default-testResources) @ etsy-stories-java-spring ---
[WARNING] Using platform encoding (MacRoman actually) to copy
filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/Users/jcarnegie/dev/tagged/jbehave-tutorial/etsy-stories-java-spring/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.1:testCompile
(default-testCompile) @ etsy-stories-java-spring ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @
etsy-stories-java-spring ---
[INFO] No tests to run.
[INFO] Surefire report directory:
/Users/jcarnegie/dev/tagged/jbehave-tutorial/etsy-stories-java-spring/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no tests to run.
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @
etsy-stories-java-spring ---
[INFO]
[INFO] ---
jbehave-maven-plugin:3.5.3:run-stories-as-embeddables
(embeddable-stories) @ etsy-stories-java-spring ---
[INFO] Running stories as embeddables using embedder
Embedder[configuration=org.jbehave.core.configuration.MostUsefulConfiguration@39742c56,candidateSteps=[],stepsFactory=<null>,classLoader=EmbedderClassLoader[urls=[/Users/jcarnegie/dev/tagged/jbehave-tutorial/etsy-stories-java-spring/target/classes/,
junit-dep-4.8.2.jar, hamcrest-core-1.1.jar,
hamcrest-library-1.2.1.jar, hamcrest-integration-1.1.jar,
commons-collections-3.2.1.jar, commons-io-1.4.jar,
commons-lang-2.5.jar, plexus-utils-2.0.5.jar,
freemarker-2.3.16.jar, paranamer-2.3.jar, xstream-1.3.1.jar,
xpp3_min-1.1.4c.jar, jbehave-web-selenium-3.4.3.jar,
selenium-java-2.5.0.jar, selenium-android-driver-2.5.0.jar,
selenium-remote-driver-2.5.0.jar, cglib-nodep-2.1_3.jar,
json-20080701.jar, selenium-chrome-driver-2.5.0.jar,
selenium-htmlunit-driver-2.5.0.jar, htmlunit-2.9.jar,
xalan-2.7.1.jar, serializer-2.7.1.jar, httpmime-4.1.2.jar,
commons-codec-1.4.jar, htmlunit-core-js-2.9.jar,
xercesImpl-2.9.1.jar, xml-apis-1.3.04.jar,
nekohtml-1.9.15.jar, cssparser-0.9.5.jar, sac-1.3.jar,
httpclient-4.1.2.jar, httpcore-4.1.2.jar,
selenium-firefox-driver-2.5.0.jar,
selenium-ie-driver-2.5.0.jar, jna-3.3.0.jar,
selenium-iphone-driver-2.5.0.jar, selenium-support-2.5.0.jar,
selenium-api-2.5.0.jar, guava-r09.jar,
jbehave-spring-3.5.3.jar, jbehave-core-3.5.3.jar,
spring-context-2.5.6.jar, aopalliance-1.0.jar,
commons-logging-1.1.1.jar, spring-beans-2.5.6.jar,
spring-core-2.5.6.jar, spring-test-2.5.6.jar,
fluent-selenium-1.0-alpha-2.jar],parent=ClassRealm[plugin>org.jbehave:jbehave-maven-plugin:3.5.3,
parent:
sun.misc.Launcher$AppClassLoader@20cf2c80]],embedderControls=UnmodifiableEmbedderControls[EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=true,ignoreFailureInView=false,storyTimeoutInSecs=300,threads=1]],metaFilters=[],systemProperties={},storyMapper=StoryMapper,storyRunner=StoryRunner,embedderMonitor=MavenEmbedderMonitor,executorService=<null>]
[INFO] Found class names:
[org.jbehave.tutorials.etsy.EtsyDotComStories]
[INFO] Using controls
UnmodifiableEmbedderControls[EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=true,ignoreFailureInView=false,storyTimeoutInSecs=300,threads=1]]
Dec 22, 2011 7:01:51 PM
org.springframework.beans.factory.xml.XmlBeanDefinitionReader
loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource
[etsy-steps.xml]
Dec 22, 2011 7:01:52 PM
org.springframework.context.support.AbstractApplicationContext
prepareRefresh
INFO: Refreshing
org.springframework.context.support.GenericApplicationContext@13ab6c1c:
display name
[org.springframework.context.support.GenericApplicationContext@13ab6c1c];
startup date [Thu Dec 22 19:01:52 PST 2011]; root of context
hierarchy
Dec 22, 2011 7:01:52 PM
org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
INFO: Bean factory for application context
[org.springframework.context.support.GenericApplicationContext@13ab6c1c]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@33d626a4
Dec 22, 2011 7:01:52 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@33d626a4:
defining beans
[driverProvider,pageFactory,etsySteps,lifecycleSteps]; root of
factory hierarchy
[INFO] Running embeddable
org.jbehave.tutorials.etsy.EtsyDotComStories
[INFO] Processing system properties {}
[INFO] Using controls
UnmodifiableEmbedderControls[EmbedderControls[batch=false,skip=false,generateViewAfterStories=true,ignoreFailureInStories=true,ignoreFailureInView=false,storyTimeoutInSecs=300,threads=1]]
(BeforeStories)
[INFO] Using 1 threads
[INFO] Using executor service
java.util.concurrent.ThreadPoolExecutor@3b706ad7
[INFO] Running story etsy_browse.story
Browse Etsy.com
(etsy_browse.story)
Meta:
@category browsing
@color red
Narrative:
In order to show the browsing cart functionality
As a user
I want to browse in a gallery
org.openqa.selenium.firefox.NotConnectedException: Unable to
connect to host 127.0.0.1 on port 7055 after 45000 ms
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:98)
at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:148)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:85)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider$1.<init>(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider.initialize(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory(PerStoryWebDriverSteps.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jbehave.core.steps.StepCreator$MethodInvoker.invoke(StepCreator.java:551)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:340)
at
org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:431)
at
org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:414)
at
org.jbehave.core.embedder.StoryRunner.runBeforeOrAfterStorySteps(StoryRunner.java:366)
at
org.jbehave.core.embedder.StoryRunner.runIt(StoryRunner.java:220)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:164)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:620)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:584)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous3011375544840926076webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver)
Scenario: Browsing around the site for items
org.jbehave.tutorials.etsy.steps.LifecycleSteps.emptyCart()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.)
Given I am on etsy.com <http://etsy.com/> (NOT PERFORMED)
When I want to browse through a treasury gallery (NOT PERFORMED)
When I want to buy something from etsy.com
<http://etsy.com/> (NOT PERFORMED)
When I want to browse the treasury (NOT PERFORMED)
When I choose the first treasury gallery (NOT PERFORMED)
!-- We don't care for the results, just the gallery
Then results will be displayed in the gallery (NOT PERFORMED)
org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:342)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.doNotPerform(StepCreator.java:355)
at
org.jbehave.core.embedder.StoryRunner$SomethingHappened.run(StoryRunner.java:466)
org.jbehave.web.selenium.PerStoryWebDriverSteps.afterStory()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
afterStory (annotated with @AfterStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
java.lang.NullPointerException)
[WARNING] Failed to run story etsy_browse.story
org.jbehave.core.failures.UUIDExceptionWrapper:
org.jbehave.core.failures.BeforeOrAfterFailed: Method
beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous3011375544840926076webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:342)
at
org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:431)
at
org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:414)
at
org.jbehave.core.embedder.StoryRunner.runBeforeOrAfterStorySteps(StoryRunner.java:366)
at
org.jbehave.core.embedder.StoryRunner.runIt(StoryRunner.java:220)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:164)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:620)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:584)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.jbehave.core.failures.BeforeOrAfterFailed:
Method beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous3011375544840926076webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
... 14 more
Caused by: org.openqa.selenium.WebDriverException: Failed to
connect to binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous3011375544840926076webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:110)
at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:148)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:85)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider$1.<init>(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider.initialize(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory(PerStoryWebDriverSteps.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jbehave.core.steps.StepCreator$MethodInvoker.invoke(StepCreator.java:551)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:340)
... 13 more
Caused by: org.openqa.selenium.firefox.NotConnectedException:
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:98)
... 25 more
[INFO] Running story etsy_cart.story
ShoppingCart functionality for Etsy.com
(etsy_cart.story)
Meta:
@category basic
@color blue
Narrative:
In order to show the basic cart functionality
As a user
I want to add and remove items from the cart
org.openqa.selenium.firefox.NotConnectedException: Unable to
connect to host 127.0.0.1 on port 7055 after 45000 ms
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:98)
at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:148)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:85)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider$1.<init>(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider.initialize(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory(PerStoryWebDriverSteps.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jbehave.core.steps.StepCreator$MethodInvoker.invoke(StepCreator.java:551)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:340)
at
org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:431)
at
org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:414)
at
org.jbehave.core.embedder.StoryRunner.runBeforeOrAfterStorySteps(StoryRunner.java:366)
at
org.jbehave.core.embedder.StoryRunner.runIt(StoryRunner.java:220)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:164)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:620)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:584)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous3072123339212247732webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver)
Scenario: Item can be added to cart
org.jbehave.tutorials.etsy.steps.LifecycleSteps.emptyCart()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.)
Given that the cart is empty (NOT PERFORMED)
!-- We don't care for which item is added to the cart
When I search for an item (NOT PERFORMED)
And an item is added to the cart (NOT PERFORMED)
Then the cart contains that item (NOT PERFORMED)
org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:342)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.doNotPerform(StepCreator.java:355)
at
org.jbehave.core.embedder.StoryRunner$SomethingHappened.run(StoryRunner.java:466)
Scenario: Item can be removed from cart
org.jbehave.tutorials.etsy.steps.LifecycleSteps.emptyCart()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.)
Given the cart contains one item (NOT PERFORMED)
When the item is removed (NOT PERFORMED)
Then the cart will be empty (NOT PERFORMED)
org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:342)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.doNotPerform(StepCreator.java:355)
at
org.jbehave.core.embedder.StoryRunner$SomethingHappened.run(StoryRunner.java:466)
org.jbehave.web.selenium.PerStoryWebDriverSteps.afterStory()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
afterStory (annotated with @AfterStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
java.lang.NullPointerException)
[WARNING] Failed to run story etsy_cart.story
org.jbehave.core.failures.UUIDExceptionWrapper:
org.jbehave.core.failures.BeforeOrAfterFailed: Method
beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous3072123339212247732webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:342)
at
org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:431)
at
org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:414)
at
org.jbehave.core.embedder.StoryRunner.runBeforeOrAfterStorySteps(StoryRunner.java:366)
at
org.jbehave.core.embedder.StoryRunner.runIt(StoryRunner.java:220)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:164)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:620)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:584)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.jbehave.core.failures.BeforeOrAfterFailed:
Method beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous3072123339212247732webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
... 14 more
Caused by: org.openqa.selenium.WebDriverException: Failed to
connect to binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous3072123339212247732webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:110)
at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:148)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:85)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider$1.<init>(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider.initialize(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory(PerStoryWebDriverSteps.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jbehave.core.steps.StepCreator$MethodInvoker.invoke(StepCreator.java:551)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:340)
... 13 more
Caused by: org.openqa.selenium.firefox.NotConnectedException:
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:98)
... 25 more
[INFO] Running story etsy_search.story
Search Etsy.com by sub category
(etsy_search.story)
Meta:
@category advanced
@color red
Narrative:
In order to show the advance cart functionality
As a user
I want to search for an item in a sub category
org.openqa.selenium.firefox.NotConnectedException: Unable to
connect to host 127.0.0.1 on port 7055 after 45000 ms
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:98)
at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:148)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:85)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider$1.<init>(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider.initialize(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory(PerStoryWebDriverSteps.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jbehave.core.steps.StepCreator$MethodInvoker.invoke(StepCreator.java:551)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:340)
at
org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:431)
at
org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:414)
at
org.jbehave.core.embedder.StoryRunner.runBeforeOrAfterStorySteps(StoryRunner.java:366)
at
org.jbehave.core.embedder.StoryRunner.runIt(StoryRunner.java:220)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:164)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:620)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:584)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous8285990816277210409webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver)
Scenario: Advanced Search for a hat
org.jbehave.tutorials.etsy.steps.LifecycleSteps.emptyCart()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.)
Given I am searching on Etsy.com (NOT PERFORMED)
When I specify the Knitting sub category (NOT PERFORMED)
And I search for hat (NOT PERFORMED)
Then there are search results (NOT PERFORMED)
org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:342)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.doNotPerform(StepCreator.java:355)
at
org.jbehave.core.embedder.StoryRunner$SomethingHappened.run(StoryRunner.java:466)
Scenario: Advanced Search for a ring
org.jbehave.tutorials.etsy.steps.LifecycleSteps.emptyCart()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.)
Given I am searching on Etsy.com (NOT PERFORMED)
When I specify the Jewelry sub category (NOT PERFORMED)
And I search for ring (NOT PERFORMED)
Then there are search results (NOT PERFORMED)
org.jbehave.core.failures.BeforeOrAfterFailed: Method
emptyCart (annotated with @BeforeScenario in class
org.jbehave.tutorials.etsy.steps.LifecycleSteps) failed:
org.jbehave.web.selenium.DelegatingWebDriverProvider$DelegateWebDriverNotFound:
WebDriver has not been found for this thread.
Please verify you are using the correct WebDriverProvider,
with the appropriate credentials if using remote access, e.g.
to SauceLabs.
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:342)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.doNotPerform(StepCreator.java:355)
at
org.jbehave.core.embedder.StoryRunner$SomethingHappened.run(StoryRunner.java:466)
org.jbehave.web.selenium.PerStoryWebDriverSteps.afterStory()
(FAILED)
(org.jbehave.core.failures.BeforeOrAfterFailed: Method
afterStory (annotated with @AfterStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
java.lang.NullPointerException)
[WARNING] Failed to run story etsy_search.story
org.jbehave.core.failures.UUIDExceptionWrapper:
org.jbehave.core.failures.BeforeOrAfterFailed: Method
beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous8285990816277210409webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:342)
at
org.jbehave.core.embedder.StoryRunner$FineSoFar.run(StoryRunner.java:431)
at
org.jbehave.core.embedder.StoryRunner.runStepsWhileKeepingState(StoryRunner.java:414)
at
org.jbehave.core.embedder.StoryRunner.runBeforeOrAfterStorySteps(StoryRunner.java:366)
at
org.jbehave.core.embedder.StoryRunner.runIt(StoryRunner.java:220)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:181)
at org.jbehave.core.embedder.StoryRunner.run(StoryRunner.java:164)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:620)
at
org.jbehave.core.embedder.Embedder$EnqueuedStory.call(Embedder.java:584)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.jbehave.core.failures.BeforeOrAfterFailed:
Method beforeStory (annotated with @BeforeStory in class
org.jbehave.web.selenium.PerStoryWebDriverSteps) failed:
org.openqa.selenium.WebDriverException: Failed to connect to
binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous8285990816277210409webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
... 14 more
Caused by: org.openqa.selenium.WebDriverException: Failed to
connect to binary
FirefoxBinary(/Applications/Firefox.app/Contents/MacOS/firefox-bin)
on port 7055; process output follows:
*** LOG addons.xpi: startup
*** LOG addons.xpi: Skipping unavailable install location
app-system-share
*** LOG addons.xpi: Ignoring file entry whose name is not a
valid add-on ID:
/var/folders/zp/v4p5ylcx37vcd1n6pbhnnxkw0000gn/T/anonymous8285990816277210409webdriver-profile/extensions/webdriver-staging
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
Build info: version: '2.5.0', revision: '13548', time:
'2011-08-24 13:44:31'
System info: os.name <http://os.name/>: 'Mac OS X', os.arch:
'x86_64', os.version: '10.7.2', java.version: '1.6.0_29'
Driver info: driver.version: FirefoxDriver
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:110)
at
org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:148)
at
org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:85)
at
org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:127)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider$1.<init>(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.FirefoxWebDriverProvider.initialize(FirefoxWebDriverProvider.java:33)
at
org.jbehave.web.selenium.PerStoryWebDriverSteps.beforeStory(PerStoryWebDriverSteps.java:21)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.jbehave.core.steps.StepCreator$MethodInvoker.invoke(StepCreator.java:551)
at
org.jbehave.core.steps.StepCreator$BeforeOrAfterStep.perform(StepCreator.java:340)
... 13 more
Caused by: org.openqa.selenium.firefox.NotConnectedException:
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms
at
org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:98)
... 25 more
(AfterStories)
[INFO] Generating reports view to
'/Users/jcarnegie/dev/tagged/jbehave-tutorial/etsy-stories-java-spring/target/jbehave'
using formats '[stats, selenium_context, console, html]' and
view properties '{defaultFormats=stats, decorateNonHtml=true,
viewDirectory=view,
decorated=ftl/jbehave-report-decorated.ftl,
reports=ftl/jbehave-reports-with-totals.ftl,
maps=ftl/jbehave-maps.ftl,
navigator=ftl/jbehave-navigator.ftl,
views=ftl/jbehave-views.ftl,
nonDecorated=ftl/jbehave-report-non-decorated.ftl}'
[INFO] Reports view generated with 5 stories (of which 0
pending) containing 5 scenarios (of which 5 failed and 0 pending)
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2:30.267s
[INFO] Finished at: Thu Dec 22 19:04:19 PST 2011
[INFO] Final Memory: 8M/81M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.jbehave:jbehave-maven-plugin:3.5.3:run-stories-as-embeddables
(embeddable-stories) on project etsy-stories-java-spring:
Failed to run stories as embeddables: Failures in running
embeddable org.jbehave.tutorials.etsy.EtsyDotComStories:
Failures in running stories:
ReportsCount[stories=5,storiesNotAllowed=0,storiesPending=0,scenarios=5,scenariosFailed=5,scenariosNotAllowed=0,scenariosPending=0,stepsFailed=11]
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run
Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug
logging.
[ERROR]
[ERROR] For more information about the errors and possible
solutions, please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException