<commit_before>require 'screenshot_helper'

describe "factlink", type: :feature do
  it "the layout of the profile page is correct" do
    user = sign_in_user create :full_user
    visit user_path(user)
    assume_unchanged_screenshot "profile_page"
  end

  it "the layout of the profile page is correct for deleted_users" do
    user = sign_in_user create :full_user, deleted: true
    visit user_path(user)
    assume_unchanged_screenshot "profile_page_deleted"
  end
end<commit_msg>Fix screenshot test.<commit_after>require 'screenshot_helper'

describe "factlink", type: :feature do
  it "the layout of the profile page is correct" do
    user = sign_in_user create :full_user
    visit user_path(user)
    assume_unchanged_screenshot "profile_page"
  end

  it "the layout of the profile page is correct for deleted_users" do
    deleted_user = create :full_user, deleted: true
    user = sign_in_user create :full_user
    visit user_path(deleted_user)
    assume_unchanged_screenshot "profile_page_deleted"
  end
end
{'fraction_non_alphanumeric': 0.0576171875, 'fraction_numerical': 0.0, 'mean_word_length': 4.631868131868132, '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': '4922573', 'n_tokens_mistral': 321, 'n_tokens_neox': 323, 'n_words': 104}