Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Fix broken step in master branch

#35

It seems we may have a broken step stemming from the master branch.

See below for failing scenario:


Feature: Import all features
  In order to speed things up when we have a few features
  As a user
  I want to be able to import all features at once

  Scenario: When a user selects update all we will update all features # features/plain/import_all_features.feature:6
    Given there is a project                                           # features/step_definitions/projects_steps.rb:1
    And the project has features to import                             # features/step_definitions/projects_steps.rb:47
    When I visit the project                                           # features/step_definitions/projects_steps.rb:87
    And I follow "Import all"                                          # features/step_definitions/web_steps.rb:26
      undefined method `imports_found' for # (NoMethodError)
      ./app/controllers/projects_controller.rb:77:in `import_all'
      /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
      (eval):2:in `click_link'
      ./features/step_definitions/web_steps.rb:27:in `/^(?:|I )follow "([^\"]*)"$/'
      features/plain/import_all_features.feature:10:in `And I follow "Import all"'
    Then a flash message 'Importing all features' should be displayed  # features/step_definitions/general_steps.rb:1
    And there should be no features to import                          # features/step_definitions/projects_steps.rb:409

Failing Scenarios:
cucumber features/plain/import_all_features.feature:6 # Scenario: When a user selects update all we will update all features

1 scenario (1 failed)
6 steps (1 failed, 2 skipped, 3 passed)
0m0.810s

Reported by baphled@boodah.net · May 10th, 2010 @ 09:41 PM

State: hold
Milestone: none
Assigned to: baphled@boodah.net baphled@boodah.net

Activity

  1. baphled@boodah.net
    baphled@boodah.net
    • State changed from new to hold

    This seems to be an issue with selenium using the same DB as cucumber. Once the db was reset and the fixture data was added, the tests pasted.

    May 13th, 2010 @ 01:29 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.