Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
Requirements

  • Create new page "Verifying OTP page"
  • Add input field "otp" + button "Verify OTP"
  • Add button "Resend new OTP"

Specifications

Design 

  • Header label = "OTP для входу у систему e-health" or "Додатковий код для входу у систему e-health"
  • Input field "Edit_OTP" 
  • Button "Next" ("Далі")
  • Link/Button "Resend_new_OTP" ("Ще раз надіслати OTP" or  "Ще раз надіслати Додатковий код")

...

  • On click button "Next" & "Edit_OTP" not empty
    • Call WS Create Token with parameters = AUTHORIZE_OTP
    • Get response,  read attribute `response.urgent.next_stepand switching logic:
        • REQUEST_APPS :
          • Extract & save token from response
          • Go to next page "Approvals"
      • if WS return error - view message & break process
        
  • On click button "Resend_new_OTP" not empty
    • Call WS Create Token with parameters = RESEND_OTP
      • Extract & save token from response
      • Clear "Edit_OTP" field
    • if WS return error - view message & break process