<commit_before>Before("~@reset_session") do
  set_start_cookie_accepted
  maximize_window
  puts "Web App Version: #{app_version_info}"
end

if TEST_CONFIG["fail_fast"]
  puts "'FAIL FAST' option is ON"
  After do |scenario|
    # Tell Cucumber to quit after this scenario is done - if it failed
    if scenario.failed?
      puts "Terminating the run after the first failure for quicker feedback.\n" +
               "See above for the actual failure, or check the HTML report."
      Cucumber.wants_to_quit = true
    end
  end
end<commit_msg>adding signout for after hook<commit_after>Before("~@reset_session") do
  set_start_cookie_accepted
  maximize_window
  puts "Web App Version: #{app_version_info}"
end

  After do |scenario|
    if TEST_CONFIG["fail_fast"]
      puts "'FAIL FAST' option is ON"

    # Tell Cucumber to quit after this scenario is done - if it failed
    if scenario.failed?
      puts "Terminating the run after the first failure for quicker feedback.\n" +
               "See above for the actual failure, or check the HTML report."
      Cucumber.wants_to_quit = true
    end
    end
     if(current_page.header.welcome.has_text?("Hi"))
      click_link_from_my_account_dropdown('Sign out')
      raise "User is already signed out, continue with test execution"
     end

  end
{'fraction_non_alphanumeric': 0.07421576128538639, 'fraction_numerical': 0.0, 'mean_word_length': 3.3026315789473686, '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': '6115427', 'n_tokens_mistral': 395, 'n_tokens_neox': 395, 'n_words': 141}