<commit_before>require 'rails_helper'

feature "Manage users", type: :feature do
  scenario "Show the list of users", js: true do
    User.create!(name: "<NAME>", age: 29)
    visit users_path
    expect(page).to have_content("Guirec Corbel")
  end
end<commit_msg>Add the scenario to add a new user<commit_after>require 'rails_helper'

feature 'Manage users', type: :feature do
  scenario 'Show the list of users', js: true do
    User.create!(name: '<NAME>', age: 29)
    visit users_path
    expect(page).to have_content('<NAME>')
  end

  scenario 'Create a new user', js: true do
    visit users_path
    click_on 'Add a new'
    fill_in 'Name', with: '<NAME>'
    fill_in 'Age', with: 29
    click_on 'Save changes'

    expect(page).to have_content('Guirec Corbel')
  end
end
{'fraction_non_alphanumeric': 0.11907810499359796, 'fraction_numerical': 0.0076824583866837385, 'mean_word_length': 3.9182389937106916, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '3199255', 'n_tokens_mistral': 266, 'n_tokens_neox': 258, 'n_words': 90}