Sha256: bcfdb1fc0ed8743dde496312c38a9976d37b75d537ce24a7756c937acc5b66e0

Contents?: true

Size: 299 Bytes

Versions: 62

Compression:

Stored size: 299 Bytes

Contents

# Commonly occurring user actions in tests.

# This takes a username and by default assumes the password is 'password'.
def log_in_as(login, plaintext_password = 'password')
  visit '/'
  fill_in 'username_or_email', with: login
  fill_in 'password', with: plaintext_password
  click_on 'Login'
end

Version data entries

62 entries across 62 versions & 2 rubygems

Version Path
trusty-clipped-extension-3.1.4 spec/support/custom_actions.rb
trusty-clipped-extension-3.1.3 spec/support/custom_actions.rb
trusty-clipped-extension-3.1.2 spec/support/custom_actions.rb
trusty-clipped-extension-3.1.1 spec/support/custom_actions.rb
trusty-clipped-extension-3.1.0 spec/support/custom_actions.rb
trusty-clipped-extension-3.0.0 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.15 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.14 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.13 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.12 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.11 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.10 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.9 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.8 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.7 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.6 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.5 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.4 spec/support/custom_actions.rb
trusty-clipped-extension-2.0.3.pre.beta spec/support/custom_actions.rb
trusty-cms-2.0.10.pre.beta spec/support/custom_actions.rb