<commit_before>'use strict'

const { host, baseUrl, testUser } = require('../config')
const url = `${host + baseUrl}?controller=athentication`

const page = {
  url,
  title: 'Login - My Store',
  email: { id: 'email' },
  password: { id: '<PASSWORD>' },
  login: { id: 'SubmitLogin' },
  signIn,
  signInTestUser
}

function signIn (world, { email, password }) {
  return world.waitForTitle(page.title)
    .then(() => Promise.all([
      world.sendKeys(page.email, email),
      world.sendKeys(page.password, password)
    ]))
    .then(() => world.click(page.login))
}

function signInTestUser (world) {
  return signIn(world, testUser)
}

module.exports = Object.freeze(page)
<commit_msg>Get around issue with hovering kaspersky hint<commit_after>'use strict'

const { host, baseUrl, testUser } = require('../config')
const url = `${host + baseUrl}?controller=athentication`

const page = {
  url,
  title: 'Login - My Store',
  email: { id: 'email' },
  password: { <PASSWORD>' },
  login: { id: 'SubmitLogin' },
  signIn,
  signInTestUser
}

function signIn (world, { email, password }) {
  return world.waitForTitle(page.title)
    .then(() => Promise.all([
      world.sendKeys(page.email, email),
      world.sendKeys(page.password, password)
    ]))
    .then(() => world.click(page.login, 50))
}

function signInTestUser (world) {
  return signIn(world, testUser)
}

module.exports = Object.freeze(page)

{'fraction_non_alphanumeric': 0.16466431095406361, 'fraction_numerical': 0.0014134275618374558, 'mean_word_length': 3.8996539792387543, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7058012', 'n_tokens_mistral': 481, 'n_tokens_neox': 475, 'n_words': 110}