<commit_before>def check_title_search_page_is_displayed
  expect(content).to include('Search for the title of any property in England and Wales')
end

def visit_title_register_page(title_number)
  page.visit("#{$DIGITAL_REGISTER_URL}/titles/#{title_number}")
end

def check_title_summary_page_is_displayed
  expect(content).to include 'Summary of title'
end

def next_page_number
  page_text = page.find('.pagination-prev-next').text
  page_text.split(' ').first.to_i<commit_msg>Change css to check pagination<commit_after>def check_title_search_page_is_displayed
  expect(content).to include('Search for the title of any property in England and Wales')
end

def visit_title_register_page(title_number)
  page.visit("#{$DIGITAL_REGISTER_URL}/titles/#{title_number}")
end

def check_title_summary_page_is_displayed
  expect(content).to include 'Summary of title'
end

def next_page_number
  page_text = page.find('.pagination-prev-next').find('.next-page').text
  page_text.split(' ')[2].to_i
{'fraction_non_alphanumeric': 0.10494450050454086, 'fraction_numerical': 0.0010090817356205853, 'mean_word_length': 6.936, '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': '3095881', 'n_tokens_mistral': 326, 'n_tokens_neox': 323, 'n_words': 69}