features/page_objects/front_office/reset_password_page.rb
# Reset your password / set your password / change password (shared page object)
# This page will become redundant when we remove accounts.
Reset your password / set your password / change password (shared page object)
This page will become redundant when we remove accounts.
Reset your password / set your password / change password ( shared page object ) This page will become redundant when we remove accounts .
def submit(args = {})
    email_address.set(args[:email]) if args.key?(:email)
    current_password_field.set(args[:current_password]) if args.key?(:current_password)
    password_field.set(args[:password]) if args.key?(:password)
    confirm_password_field.set(args[:password]) if args.key?(:password)
    submit_button.click
  end
def submit ( args = { } ) email_address . set ( args [ :email ] ) if args . key? ( :email ) current_password_field . set ( args [ :current_password ] ) if args . key? ( :current_password ) password_field . set ( args [ :password ] ) if args . key? ( :password ) confirm_password_field . set ( args [ :password ] ) if args . key? ( :password ) submit_button . click end
Reset your password / set your password / change password (shared page object)
This page will become redundant when we remove accounts.
Reset your password / set your password / change password ( shared page object ) This page will become redundant when we remove accounts .
args