<commit_before>Given(/^I am not logged in$/) do
  visit monsoon_openstack_auth.logout_path
end

When(/^I visit "(.*?)"$/) do |path|
  visit path
end

Then(/^I am redirected to login page$/) do
  puts ">>>>>>>>>>>>>>>>>>>>>>>HTML"
  puts page.html
  expect(current_path).to eq(monsoon_openstack_auth.new_session_path)
end

Then(/^I see login form$/) do
  expect(page).to have_selector("form[action='#{monsoon_openstack_auth.sessions_path}']")
end

Then(/^It works$/) do
end

def current_path
  URI.parse(current_url).path
end<commit_msg>print host of cucumber test<commit_after>Given(/^I am not logged in$/) do
  visit monsoon_openstack_auth.logout_path
end

When(/^I visit "(.*?)"$/) do |path|
  visit path
end

Then(/^I am redirected to login page$/) do
  puts ":::::::::::::::::::::::::::"
  puts  page.current_url
  puts ">>>>>>>>>>>>>>>>>>>>>>>HTML"
  puts page.html
  expect(current_path).to eq(monsoon_openstack_auth.new_session_path)
end

Then(/^I see login form$/) do
  expect(page).to have_selector("form[action='#{monsoon_openstack_auth.sessions_path}']")
end

Then(/^It works$/) do
end

def current_path
  URI.parse(current_url).path
end
{'fraction_non_alphanumeric': 0.1916376306620209, 'fraction_numerical': 0.0, 'mean_word_length': 5.278688524590164, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 49, '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': '3018192', 'n_tokens_mistral': 429, 'n_tokens_neox': 417, 'n_words': 98}