Sha256: ae8fec1fdb4403422a036b9b2cd62569e03d00d0104734a7d57e82950b1c7620

Contents?: true

Size: 365 Bytes

Versions: 41

Compression:

Stored size: 365 Bytes

Contents

require "test_helper"

class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
  driven_by :selenium, using: :headless_chrome, screen_size: [1400, 1400]

  def sign_in_as(user)
    visit sign_in_url
    fill_in :email, with: user.email
    fill_in :password, with: "Secret1*3*5*"
    click_on "Sign in"

    assert_current_path root_url
    user
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
authentication-zero-3.0.2 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-3.0.1 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-3.0.0 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-3.0.0.alpha1 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.36 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.35 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.34 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.33 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.32 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.31 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.30 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.29 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.28 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.27 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.26 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.25 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.24 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.23 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.22 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt
authentication-zero-2.16.21 lib/generators/authentication/templates/test_unit/application_system_test_case.rb.tt