<commit_before>@live-reload
Feature: Live reload search

Scenario: Live reload search hitting enter should not cause a full page reload
  Given I am on the homepage
  And I click 'View Digital Outcomes and Specialists opportunities'
  And I am on the 'Digital Outcomes and Specialists opportunities' page
  Then I see the 'Clear filters' link with href 'digital-outcomes-and-specialists/opportunities'
  And I set the page reload flag
  When I enter 'Tea\n' in the 'search' field
  Then I see that the page has not been reloaded
  And I see the 'Clear filters' link with href '/digital-outcomes-and-specialists/opportunities?q=Tea%5Cn&doc_type=briefs'

Scenario: Live reload search button should not cause a full page reload
  Given I am on the homepage
  And I click 'View Digital Outcomes and Specialists opportunities'
  And I am on the 'Digital Outcomes and Specialists opportunities' page
  Then I see the 'Clear filters' link with href 'digital-outcomes-and-specialists/opportunities'
  And I set the page reload flag
  And I enter 'Tea' in the 'search' field
  When I click the 'Search' button
  Then I see that the page has not been reloaded
  And I see the 'Clear filters' link with href '/digital-outcomes-and-specialists/opportunities?q=Tea&doc_type=briefs'<commit_msg>Remove doc_type from search result params<commit_after>@live-reload
Feature: Live reload search

@skip-staging
Scenario: Live reload search hitting enter should not cause a full page reload
  Given I am on the homepage
  And I click 'View Digital Outcomes and Specialists opportunities'
  And I am on the 'Digital Outcomes and Specialists opportunities' page
  Then I see the 'Clear filters' link with href 'digital-outcomes-and-specialists/opportunities'
  And I set the page reload flag
  When I enter 'Tea\n' in the 'search' field
  Then I see that the page has not been reloaded
  And I see the 'Clear filters' link with href '/digital-outcomes-and-specialists/opportunities?q=Tea%5Cn'

@skip-staging
Scenario: Live reload search button should not cause a full page reload
  Given I am on the homepage
  And I click 'View Digital Outcomes and Specialists opportunities'
  And I am on the 'Digital Outcomes and Specialists opportunities' page
  Then I see the 'Clear filters' link with href 'digital-outcomes-and-specialists/opportunities'
  And I set the page reload flag
  And I enter 'Tea' in the 'search' field
  When I click the 'Search' button
  Then I see that the page has not been reloaded
  And I see the 'Clear filters' link with href '/digital-outcomes-and-specialists/opportunities?q=Tea'

@skip-preview
Scenario: Live reload search hitting enter should not cause a full page reload
  Given I am on the homepage
  And I click 'View Digital Outcomes and Specialists opportunities'
  And I am on the 'Digital Outcomes and Specialists opportunities' page
  Then I see the 'Clear filters' link with href 'digital-outcomes-and-specialists/opportunities'
  And I set the page reload flag
  When I enter 'Tea\n' in the 'search' field
  Then I see that the page has not been reloaded
  And I see the 'Clear filters' link with href '/digital-outcomes-and-specialists/opportunities?q=Tea%5Cn&doc_type=briefs'

@skip-preview
Scenario: Live reload search button should not cause a full page reload
  Given I am on the homepage
  And I click 'View Digital Outcomes and Specialists opportunities'
  And I am on the 'Digital Outcomes and Specialists opportunities' page
  Then I see the 'Clear filters' link with href 'digital-outcomes-and-specialists/opportunities'
  And I set the page reload flag
  And I enter 'Tea' in the 'search' field
  When I click the 'Search' button
  Then I see that the page has not been reloaded
  And I see the 'Clear filters' link with href '/digital-outcomes-and-specialists/opportunities?q=Tea&doc_type=briefs'
{'fraction_non_alphanumeric': 0.05437908496732026, 'fraction_numerical': 0.000784313725490196, 'mean_word_length': 4.403954802259887, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4661686', 'n_tokens_mistral': 1111, 'n_tokens_neox': 1056, 'n_words': 537}