Blacklight Plugin

search step not working as expected

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2
  • Fix Version/s: 2.2
  • Component/s: None
  • Description:
    "Then I should see select list "some-list" with "some-label" selected" is broken. It gives false positives for items in the list but not selected.

Activity

Hide
Jamie Orchard-Hays added a comment - 03/Jun/09 3:57 PM
This turned into a bit of a rabbit hole. First, eventually found that the select options created in Cuke Features all had the same empty value. Thus, when selecting one, you were selecting all. Second, setting up these select elements in Cuke steps was changing application properties, which shouldn't be changed at runtime (at least not unless they're going to be reset in the tests immediately after use). Solved this by removing those steps and using the values set in blacklight_config.rb.
Show
Jamie Orchard-Hays added a comment - 03/Jun/09 3:57 PM This turned into a bit of a rabbit hole. First, eventually found that the select options created in Cuke Features all had the same empty value. Thus, when selecting one, you were selecting all. Second, setting up these select elements in Cuke steps was changing application properties, which shouldn't be changed at runtime (at least not unless they're going to be reset in the tests immediately after use). Solved this by removing those steps and using the values set in blacklight_config.rb.

People

Dates

  • Created:
    01/Jun/09 3:46 PM
    Updated:
    03/Jun/09 3:57 PM
    Resolved:
    03/Jun/09 3:57 PM