Skip to content

Instantly share code, notes, and snippets.

@scytacki
Created April 9, 2011 12:59
Show Gist options
  • Save scytacki/911380 to your computer and use it in GitHub Desktop.
Save scytacki/911380 to your computer and use it in GitHub Desktop.
Log of cucumber run against IE (not sure yet which version)
bundle exec cucumber features
Using the default profile...
Executing rake task or running in test/cucumber env: skipping Admin::Project.create_or_update_default_project_from_settings_yml
Overriding ActionMailer config and setting test mode
Started observers
..
......................................................................F------......F-------------......................F---------......................F------.................................F..................................F-..................................................................................................................................................---.....----.....---...................----..................---.----...........................................................................................................................................................................Recording for Spreadsheet::Workbook : first investigation exists. delete /vagrant/features/recorded_objects/spreadsheet__workbookfirst_investigation.yml to force new recording
...P..................................................................................................................................................P---.P--UU..P---.P---.P---..U----..P--..UUUUU.UUUUU.UUUUUUUU.............................................................................................................................................................................................................F---------..................F--......................................................................................................................................F---------....................F....F--------------------------.........................F--..............F----------------........F--------..............F-----
(::) pending steps (::)
features/researcher_reports.feature:182:in `And the usage report for "first investigation" should have (3) answers for "student_b"'
features/rinet_teacher_assigns_investigations.feature:10:in `Given I am a Rinet teacher'
features/rinet_teacher_assigns_investigations.feature:16:in `Given I am a Rinet teacher'
features/rinet_teacher_views_classes.feature:15:in `Given I am a Rinet teacher'
features/rinet_teacher_views_classes.feature:21:in `Given I am a Rinet teacher'
features/rinet_teacher_views_classes.feature:27:in `Given I am a Rinet teacher'
features/sakai_integration.feature:23:in `When the user goes to the link tool url'
(::) failed steps (::)
Cannot click on element (WARNING: The server did not provide any stacktrace information)
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_21'
Driver info: driver.version: RemoteWebDriver (org.openqa.selenium.ElementNotVisibleException) (Selenium::WebDriver::Error::ElementNotDisplayedError)
[remote server] sun.reflect.NativeConstructorAccessorImpl():-2:in `newInstance0'
[remote server] sun.reflect.NativeConstructorAccessorImpl():-1:in `newInstance'
[remote server] sun.reflect.DelegatingConstructorAccessorImpl():-1:in `newInstance'
[remote server] java.lang.reflect.Constructor():-1:in `newInstance'
[remote server] org.openqa.selenium.remote.ErrorHandler(ErrorHandler.java):131:in `createThrowable'
[remote server] org.openqa.selenium.remote.ErrorHandler(ErrorHandler.java):105:in `throwIfResponseFailed'
[remote server] org.openqa.selenium.remote.RemoteWebDriver(RemoteWebDriver.java):409:in `execute'
[remote server] org.openqa.selenium.remote.RemoteWebElement(RemoteWebElement.java):197:in `execute'
[remote server] org.openqa.selenium.remote.RemoteWebElement(RemoteWebElement.java):58:in `click'
[remote server] sun.reflect.GeneratedMethodAccessor25():-1:in `invoke'
[remote server] sun.reflect.DelegatingMethodAccessorImpl():-1:in `invoke'
[remote server] java.lang.reflect.Method():-1:in `invoke'
[remote server] org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1(EventFiringWebDriver.java):297:in `invoke'
[remote server] $Proxy3():-1:in `click'
[remote server] org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement(EventFiringWebDriver.java):310:in `click'
[remote server] sun.reflect.GeneratedMethodAccessor25():-1:in `invoke'
[remote server] sun.reflect.DelegatingMethodAccessorImpl():-1:in `invoke'
[remote server] java.lang.reflect.Method():-1:in `invoke'
[remote server] org.openqa.selenium.remote.server.KnownElements$1(KnownElements.java):59:in `invoke'
[remote server] $Proxy4():-1:in `click'
[remote server] org.openqa.selenium.remote.server.handler.ClickElement(ClickElement.java):30:in `call'
[remote server] org.openqa.selenium.remote.server.handler.ClickElement(ClickElement.java):1:in `call'
[remote server] java.util.concurrent.FutureTask$Sync():-1:in `innerRun'
[remote server] java.util.concurrent.FutureTask():-1:in `run'
[remote server] java.util.concurrent.ThreadPoolExecutor$Worker():-1:in `runTask'
[remote server] java.util.concurrent.ThreadPoolExecutor$Worker():-1:in `run'
[remote server] java.lang.Thread():-1:in `run'
./features/step_definitions/web_steps.rb:35
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^\"]*)"(?: within "([^\"]*)")?$/'
features/author_adds_question.feature:21:in `When I follow "Multiple Choice Question"'
Cannot click on element (WARNING: The server did not provide any stacktrace information)
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_21'
Driver info: driver.version: RemoteWebDriver (org.openqa.selenium.ElementNotVisibleException) (Selenium::WebDriver::Error::ElementNotDisplayedError)
[remote server] sun.reflect.NativeConstructorAccessorImpl():-2:in `newInstance0'
[remote server] sun.reflect.NativeConstructorAccessorImpl():-1:in `newInstance'
[remote server] sun.reflect.DelegatingConstructorAccessorImpl():-1:in `newInstance'
[remote server] java.lang.reflect.Constructor():-1:in `newInstance'
[remote server] org.openqa.selenium.remote.ErrorHandler(ErrorHandler.java):131:in `createThrowable'
[remote server] org.openqa.selenium.remote.ErrorHandler(ErrorHandler.java):105:in `throwIfResponseFailed'
[remote server] org.openqa.selenium.remote.RemoteWebDriver(RemoteWebDriver.java):409:in `execute'
[remote server] org.openqa.selenium.remote.RemoteWebElement(RemoteWebElement.java):197:in `execute'
[remote server] org.openqa.selenium.remote.RemoteWebElement(RemoteWebElement.java):58:in `click'
[remote server] sun.reflect.GeneratedMethodAccessor25():-1:in `invoke'
[remote server] sun.reflect.DelegatingMethodAccessorImpl():-1:in `invoke'
[remote server] java.lang.reflect.Method():-1:in `invoke'
[remote server] org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1(EventFiringWebDriver.java):297:in `invoke'
[remote server] $Proxy3():-1:in `click'
[remote server] org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement(EventFiringWebDriver.java):310:in `click'
[remote server] sun.reflect.GeneratedMethodAccessor25():-1:in `invoke'
[remote server] sun.reflect.DelegatingMethodAccessorImpl():-1:in `invoke'
[remote server] java.lang.reflect.Method():-1:in `invoke'
[remote server] org.openqa.selenium.remote.server.KnownElements$1(KnownElements.java):59:in `invoke'
[remote server] $Proxy4():-1:in `click'
[remote server] org.openqa.selenium.remote.server.handler.ClickElement(ClickElement.java):30:in `call'
[remote server] org.openqa.selenium.remote.server.handler.ClickElement(ClickElement.java):1:in `call'
[remote server] java.util.concurrent.FutureTask$Sync():-1:in `innerRun'
[remote server] java.util.concurrent.FutureTask():-1:in `run'
[remote server] java.util.concurrent.ThreadPoolExecutor$Worker():-1:in `runTask'
[remote server] java.util.concurrent.ThreadPoolExecutor$Worker():-1:in `run'
[remote server] java.lang.Thread():-1:in `run'
./features/step_definitions/web_steps.rb:35
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^\"]*)"(?: within "([^\"]*)")?$/'
features/author_adds_question.feature:41:in `When I follow "Multiple Choice Question"'
expected #has_content?(" Thanks for signing up!") to return true, got false (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:110
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^\"]*)"(?: within "([^\"]*)")?$/'
features/author_registers.feature:25:in `Then I should see " Thanks for signing up!"'
Cannot click on element (WARNING: The server did not provide any stacktrace information)
System info: os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.6.0_21'
Driver info: driver.version: RemoteWebDriver (org.openqa.selenium.ElementNotVisibleException) (Selenium::WebDriver::Error::ElementNotDisplayedError)
[remote server] sun.reflect.NativeConstructorAccessorImpl():-2:in `newInstance0'
[remote server] sun.reflect.NativeConstructorAccessorImpl():-1:in `newInstance'
[remote server] sun.reflect.DelegatingConstructorAccessorImpl():-1:in `newInstance'
[remote server] java.lang.reflect.Constructor():-1:in `newInstance'
[remote server] org.openqa.selenium.remote.ErrorHandler(ErrorHandler.java):131:in `createThrowable'
[remote server] org.openqa.selenium.remote.ErrorHandler(ErrorHandler.java):105:in `throwIfResponseFailed'
[remote server] org.openqa.selenium.remote.RemoteWebDriver(RemoteWebDriver.java):409:in `execute'
[remote server] org.openqa.selenium.remote.RemoteWebElement(RemoteWebElement.java):197:in `execute'
[remote server] org.openqa.selenium.remote.RemoteWebElement(RemoteWebElement.java):58:in `click'
[remote server] sun.reflect.GeneratedMethodAccessor25():-1:in `invoke'
[remote server] sun.reflect.DelegatingMethodAccessorImpl():-1:in `invoke'
[remote server] java.lang.reflect.Method():-1:in `invoke'
[remote server] org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement$1(EventFiringWebDriver.java):297:in `invoke'
[remote server] $Proxy3():-1:in `click'
[remote server] org.openqa.selenium.support.events.EventFiringWebDriver$EventFiringWebElement(EventFiringWebDriver.java):310:in `click'
[remote server] sun.reflect.GeneratedMethodAccessor25():-1:in `invoke'
[remote server] sun.reflect.DelegatingMethodAccessorImpl():-1:in `invoke'
[remote server] java.lang.reflect.Method():-1:in `invoke'
[remote server] org.openqa.selenium.remote.server.KnownElements$1(KnownElements.java):59:in `invoke'
[remote server] $Proxy4():-1:in `click'
[remote server] org.openqa.selenium.remote.server.handler.ClickElement(ClickElement.java):30:in `call'
[remote server] org.openqa.selenium.remote.server.handler.ClickElement(ClickElement.java):1:in `call'
[remote server] java.util.concurrent.FutureTask$Sync():-1:in `innerRun'
[remote server] java.util.concurrent.FutureTask():-1:in `run'
[remote server] java.util.concurrent.ThreadPoolExecutor$Worker():-1:in `runTask'
[remote server] java.util.concurrent.ThreadPoolExecutor$Worker():-1:in `run'
[remote server] java.lang.Thread():-1:in `run'
./features/step_definitions/web_steps.rb:35
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^\"]*)"(?: within "([^\"]*)")?$/'
features/data_collector_authoring.feature:21:in `When I follow "Graph"'
expected: "http://localhost/",
got: "res://ieframe.dll/dnserror.htm#http://example.com:3001/portal/offerings/1.run_external_html" (using ==)
Diff:
@@ -1,2 +1,2 @@
-http://localhost/
+res://ieframe.dll/dnserror.htm#http://example.com:3001/portal/offerings/1.run_external_html
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/global_steps.rb:94:in `/^the location should be "([^"]*)"$/'
features/external_activites_can_be_run_as_offerings.feature:28:in `Then the location should be "http://localhost/"'
expected: "1",
got: "0" (using ==)
Diff:
@@ -1,2 +1,2 @@
-1
+0
(Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/global_steps.rb:63:in `/^the (.*) named "([^"]*)" should have "([^"]*)" equal to "([^"]*)"$/'
features/external_activities_can_be_assigned_as_offerings.feature:42:in `Then the external activity named "My Activity" should have "offerings_count" equal to "1"'
undefined method `default_offering' for nil:NilClass (NoMethodError)
./features/step_definitions/portal_offering_steps.rb:12:in `/^the external activity offering "([^"]*)" in the class "([^"]*)" should not be a default offering$/'
features/teacher_assigns_offering.feature:73:in `Then the external activity offering "My Activity" in the class "My Class" should not be a default offering'
expected #has_content?("The External Activity My Activity is already assigned in a class.") to return true, got false (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:110
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^\"]*)"(?: within "([^\"]*)")?$/'
features/teacher_assigns_offering.feature:104:in `Then I should see "The External Activity My Activity is already assigned in a class."'
expected #has_content?(" Thanks for signing up!") to return true, got false (Spec::Expectations::ExpectationNotMetError)
./features/step_definitions/web_steps.rb:110
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^\"]*)"(?: within "([^\"]*)")?$/'
features/teacher_registers.feature:28:in `Then I should see " Thanks for signing up!"'
can't convert String into Integer (TypeError)
./features/step_definitions/global_steps.rb:13:in `login_as'
./features/step_definitions/admin_configures_interfaces_steps.rb:15:in `/login with username[\s=:,]*(\S+)\s+[(?and),\s]*password[\s=:,]+(\S+)\s*$/'
features/teacher_searches_runnables.feature:47:in `And I login with username: teacher password: teacher'
can't convert String into Integer (TypeError)
./features/step_definitions/global_steps.rb:13:in `login_as'
./features/step_definitions/admin_configures_interfaces_steps.rb:15:in `/login with username[\s=:,]*(\S+)\s+[(?and),\s]*password[\s=:,]+(\S+)\s*$/'
features/teacher_views_report.feature:42:in `When I login with username: teacher_a password: teacher_a'
can't convert String into Integer (TypeError)
./features/step_definitions/global_steps.rb:13:in `login_as'
./features/step_definitions/admin_configures_interfaces_steps.rb:15:in `/login with username[\s=:,]*(\S+)\s+[(?and),\s]*password[\s=:,]+(\S+)\s*$/'
features/teacher_views_resource_usage.feature:25:in `When I login with username: teacher password: teacher'
can't convert String into Integer (TypeError)
./features/step_definitions/global_steps.rb:13:in `login_as'
./features/step_definitions/admin_configures_interfaces_steps.rb:15:in `/login with username[\s=:,]*(\S+)\s+[(?and),\s]*password[\s=:,]+(\S+)\s*$/'
features/teacher_views_resource_usage.feature:45:in `When I login with username: teacher password: teacher'
can't convert String into Integer (TypeError)
./features/step_definitions/global_steps.rb:13:in `login_as'
./features/step_definitions/admin_configures_interfaces_steps.rb:15:in `/login with username[\s=:,]*(\S+)\s+[(?and),\s]*password[\s=:,]+(\S+)\s*$/'
features/user_changes_probe_interface.feature:15:in `And I login with username: student password: student'
Failing Scenarios:
cucumber features/author_adds_question.feature:10 # Scenario: The author adds a multiple choice question to an investigation
cucumber features/author_adds_question.feature:30 # Scenario: The author adds a multiple choice question to an investigation
cucumber features/author_registers.feature:11 # Scenario: Anaonymous user signs up as an author
cucumber features/data_collector_authoring.feature:10 # Scenario: The author edits a graph and sees the Y-axis label and units change as the probe type changes
cucumber features/external_activites_can_be_run_as_offerings.feature:22 # Scenario: External Activity offerings are runnable
cucumber features/external_activities_can_be_assigned_as_offerings.feature:31 # Scenario: External Activities and Investigations are draggable items
cucumber features/teacher_assigns_offering.feature:55 # Scenario: Offerings from the default class show learner data in the default class
cucumber features/teacher_assigns_offering.feature:86 # Scenario: Runnables with offerings in regular classes can not be assigned to the default class
cucumber features/teacher_registers.feature:13 # Scenario: Anonymous user signs up as teacher
cucumber features/teacher_searches_runnables.feature:50 # Scenario: looking at the first page of runnable investigations
cucumber features/teacher_views_report.feature:36 # Scenario: A student answers all questions, and gets them all correct
cucumber features/teacher_views_resource_usage.feature:24 # Scenario: Student resource page view increments counter
cucumber features/teacher_views_resource_usage.feature:44 # Scenario: Teacher resource page views do not increment counter
cucumber features/user_changes_probe_interface.feature:11 # Scenario: Student changes probeware interface on preferences page
139 scenarios (14 failed, 2 skipped, 4 undefined, 7 pending, 112 passed)
1248 steps (14 failed, 132 skipped, 21 undefined, 7 pending, 1074 passed)
30m42.071s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment