Sha256: 8b882de34811c07fe483191c8eb76acaec01b6a342c399618ee2899b41d7e0f0

Contents?: true

Size: 504 Bytes

Versions: 70

Compression:

Stored size: 504 Bytes

Contents

module Pageflow
  module Dom
    module Admin
      # @api private
      class SignInForm < Domino
        selector '#login'

        def submit_with(options)
          within(id) do
            fill_in 'user_email', with: options[:email]
            fill_in 'user_password', with: options[:password]

            find('[name="commit"]').click
          end
        end

        def forgot_password_link
          within(id) do
            find('a')
          end
        end
      end
    end
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
pageflow-support-17.0.4 pageflow/dom/admin/sign_in_form.rb
pageflow-support-17.0.3 pageflow/dom/admin/sign_in_form.rb
pageflow-support-17.0.2 pageflow/dom/admin/sign_in_form.rb
pageflow-support-17.0.1 pageflow/dom/admin/sign_in_form.rb
pageflow-support-17.0.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-16.2.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-16.1.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-16.0.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.8.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-14.5.2 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.7.1 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.7.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.6.1 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.6.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.5.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.4.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.3.0 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.2.2 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.2.1 pageflow/dom/admin/sign_in_form.rb
pageflow-support-15.2.0 pageflow/dom/admin/sign_in_form.rb