require_relative'requires'

username = 'qa_moba'

describe 'User can login' do

  it 'via navigation bar' do
    login_page.nav_login(username)

    game_directory.dismiss_live_notifications

    wait{find(login_page.nav_username).displayed?}
    expect(find(login_page.nav_username).text).to eq username
  end
end
