Created
November 27, 2009 08:10
-
-
Save 525c1e21-bd67-4735-ac99-b4b0e5262290/243896 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ava:payonce pyrotechnick$ bin/rake cucumber | |
(in /Users/pyrotechnick/Sites/payonce) | |
Merb root at: /Users/pyrotechnick/Sites/payonce | |
Loading init file from ./config/init.rb | |
Loading ./config/environments/development.rb | |
/usr/local/bin/ruby -I "lib" "/Users/pyrotechnick/Sites/payonce/bin/cucumber" --color --tags ~@wip --strict --format pretty | |
Using the default profile... | |
Feature: Login | |
To ensure the safety of the application | |
A regular user of the system | |
Must authenticate before using the app | |
Scenario Outline: Failed Login # features/authentication/login.feature:6 | |
Given I am not authenticated # features/authentication/steps/login_steps.rb:1 | |
When I go to /login # features/steps/webrat_steps.rb:4 | |
And I fill in "login" with "<mail>" # features/steps/webrat_steps.rb:16 | |
And I fill in "password" with "<password>" # features/steps/webrat_steps.rb:16 | |
And I press "Log In" # features/steps/webrat_steps.rb:8 | |
Then the login request should fail # features/steps/result_steps.rb:13 | |
Then I should see an error message # features/steps/result_steps.rb:9 | |
Examples: | |
| mail | password | | |
|==> Waiting for Selenium RC server on port 4444... Ready! | |
~ In 10176 | |
==> Waiting for merb application server on port 4567... Ready! | |
dyld: Library not loaded: /usr/lib/libsqlite3.dylib | |
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security | |
Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0 | |
18:09:48.756 ERROR - Failed to start new browser session, shutdown browser and clear all session data | |
java.lang.RuntimeException: Timed out waiting for profile to be created! | |
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:305) | |
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.populateCustomProfileDirectory(FirefoxChromeLauncher.java:106) | |
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(FirefoxChromeLauncher.java:83) | |
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchRemoteSession(FirefoxChromeLauncher.java:350) | |
at org.openqa.selenium.server.browserlaunchers.FirefoxLauncher.launchRemoteSession(FirefoxLauncher.java:98) | |
at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:357) | |
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:122) | |
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:84) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:699) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:393) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:364) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:125) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) | |
at org.mortbay.http.HttpServer.service(HttpServer.java:909) | |
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) | |
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) | |
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) | |
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) | |
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) | |
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) | |
not_an_address | nil | | |
led to start new browser session: Error while launching browser (Selenium::CommandError) | |
/usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout' | |
/usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout' | |
(eval):2:in `visit' | |
./features/steps/webrat_steps.rb:5:in `__instance_exec_2148387240_2198599540' | |
features/authentication/login.feature:8:in `When I go to /login' | |
|18:09:48.802 ERROR - Exception running 'open 'command on session null | |
java.lang.NullPointerException: sessionId should not be null; has this session been started yet? | |
at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(FrameGroupCommandQueueSet.java:214) | |
at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(SeleniumCoreCommand.java:34) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:549) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:364) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:125) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) | |
at org.mortbay.http.HttpServer.service(HttpServer.java:909) | |
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) | |
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) | |
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) | |
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) | |
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) | |
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) | |
not@not | 123455 | | |
OR Server Exception: sessionId should not be null; has this session been started yet? (Selenium::CommandError) | |
/usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout' | |
/usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout' | |
(eval):2:in `visit' | |
./features/steps/webrat_steps.rb:5:in `__instance_exec_2148387240_2198832300' | |
features/authentication/login.feature:8:in `When I go to /login' | |
|18:09:48.817 ERROR - Exception running 'open 'command on session null | |
java.lang.NullPointerException: sessionId should not be null; has this session been started yet? | |
at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(FrameGroupCommandQueueSet.java:214) | |
at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(SeleniumCoreCommand.java:34) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:549) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:364) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:125) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) | |
at org.mortbay.http.HttpServer.service(HttpServer.java:909) | |
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) | |
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) | |
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) | |
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) | |
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) | |
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) | |
[email protected] | wrong_paasword | | |
OR Server Exception: sessionId should not be null; has this session been started yet? (Selenium::CommandError) | |
/usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout' | |
/usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout' | |
(eval):2:in `visit' | |
./features/steps/webrat_steps.rb:5:in `__instance_exec_2148387240_2198716620' | |
features/authentication/login.feature:8:in `When I go to /login' | |
Feature: orders | |
In order to track purchase history | |
A user | |
Should view their previous orders | |
Scenario: User views order # features/orders.feature:6 | |
Given I am a valid user # features/steps/order_steps.rb:1 | |
And I have a previously stored purchase # features/steps/order_steps.rb:5 | |
And its price is 85 # features/steps/order_steps.rb:9 | |
18:09:49.219 ERROR - Exception running 'open 'command on session null | |
java.lang.NullPointerException: sessionId should not be null; has this session been started yet? | |
at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(FrameGroupCommandQueueSet.java:214) | |
at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(SeleniumCoreCommand.java:34) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:549) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:364) | |
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:125) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) | |
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) | |
at org.mortbay.http.HttpServer.service(HttpServer.java:909) | |
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) | |
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) | |
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) | |
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) | |
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) | |
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) | |
When I go to /orders # features/steps/webrat_steps.rb:4 | |
OR Server Exception: sessionId should not be null; has this session been started yet? (Selenium::CommandError) | |
/usr/local/lib/ruby/1.8/timeout.rb:62:in `timeout' | |
/usr/local/lib/ruby/1.8/timeout.rb:93:in `timeout' | |
(eval):2:in `visit' | |
./features/steps/webrat_steps.rb:5:in `__instance_exec_2148387240_2198594060' | |
features/orders.feature:10:in `When I go to /orders' | |
Then I should see "85" # features/steps/result_steps.rb:1 | |
Failing Scenarios: | |
cucumber features/orders.feature:6 # Scenario: User views order | |
4 scenarios (4 failed) | |
26 steps (4 failed, 16 skipped, 6 passed) | |
0m28.141s | |
rake aborted! | |
Command failed with status (1): [/usr/local/bin/ruby -I "lib" "/Users/pyrot...] | |
(See full trace by running task with --trace) | |
ava:payonce pyrotechnick$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment