<commit_before>const SEARCH_QUERY = 'dam';

const AUTO_SUGGEST = {
  INPUT: '#auto-suggest__input',
  RESULT_LIST: '.auto-suggest__dropdown',
  LIST_ITEM_BUTTON: '.auto-suggest__dropdown-category li button'
};

const SEARCHPAGE_SELECTORS = {
  HEADER: '.qa-search-header',
  RESULTS_BLOCK: '.c-search-results__block-content',
  RESULTS_ITEM_LINK: '.qa-list-item-link',
  MORE_BUTTON: 'button.qa-show-more'
};

const DETAIL_PAGE = '.qa-detail';

const HEADINGS = ['Straatnamen', 'Adressen', 'Openbare ruimte', 'Monumenten'];

describe('search module', () => {
  beforeEach(() => {
    cy.server();
    cy.route(`https://acc.api.data.amsterdam.nl/typeahead?q=${SEARCH_QUERY}`).as('typeaheadResults');
    cy.route('/bag/openbareruimte/*').as('getDetail');<commit_msg>e2e fix search<commit_after>const SEARCH_QUERY = 'dam';

const AUTO_SUGGEST = {
  INPUT: '#auto-suggest__input',
  RESULT_LIST: '.auto-suggest__dropdown',
  LIST_ITEM_BUTTON: '.auto-suggest__dropdown-category li button'
};

const SEARCHPAGE_SELECTORS = {
  HEADER: '.qa-search-header',
  RESULTS_BLOCK: '.c-search-results__block-content',
  RESULTS_ITEM_LINK: '.qa-list-item-link',
  MORE_BUTTON: 'button.qa-show-more'
};

const DETAIL_PAGE = '.qa-detail';

const HEADINGS = ['Straatnamen', 'Adressen', 'Openbare ruimte', 'Monumenten', 'Pand'];

describe('search module', () => {
  beforeEach(() => {
    cy.server();
    cy.route(`https://acc.api.data.amsterdam.nl/typeahead?q=${SEARCH_QUERY}`).as('typeaheadResults');
    cy.route('/bag/openbareruimte/*').as('getDetail');
{'fraction_non_alphanumeric': 0.18518518518518517, 'fraction_numerical': 0.000649772579597141, 'mean_word_length': 5.209677419354839, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '5440752', 'n_tokens_mistral': 589, 'n_tokens_neox': 552, 'n_words': 80}