features/search_features.feature in wally-0.0.22 vs features/search_features.feature in wally-0.0.24

- old
+ new

@@ -73,5 +73,23 @@ """ And I am on the search page When I search for "Batman" Then I should see "feature_tag" in the search results And I should see "scenario_tag" in the search results + + Scenario: Higlighted search result + Given a feature file named "sample.feature" with the contents: + """ + @feature_tag + Feature: Some long WORD feature word name + Scenario: Some long WORD scenario word name + """ + And I am on the search page + When I search for "word" + Then I should see the html: + """ + Some long <span class="search-result">WORD</span> feature <span class="search-result">word</span> name + """ + And I should see the html: + """ + Some long <span class="search-result">WORD</span> scenario <span class="search-result">word</span> name + """