Functionality/Context: This frame will appear when employees click on the email validation we will send as a one-off at the onset of the program. (payroll.ligetron.com/registration and dev-payroll.ligetron.com/registration)
Specs:
a. The Wallet Address field must only accept valid hexadecimal entries
b. The email address must be a valid email (preferably corporate/team email)
c. The passwords must be entered as strings in the subsequent two fields underneath
d. Upon clicking 'Verify Address', the UI will invoke the 'register_and_verify_address(email_addr, password)' from the worker instance.
i. if successful, a mention 'Verification successful' will appear in color green underneath the 'Verify Address' button for a brief moment before the window closes gracefully
ii. in case of error/failure, the error returned will be displayed in red underneath the 'Verify Address' button and the window will persist to allow the user another attempt
Testing:
a. Provide inputs with intentional errors:
- Wallet address, non hexadecimal number
- Leave the email address field blank
- Leave the password fields blank
- Key in mismatched passwords
And click on 'Verify Address'. Make sure the errors appear as specified in d. ii.
b. Provide properly formed inputs and check that register_and_verify_address gets called with the right arguments
Functionality/Context: This frame will appear when employees click on the email validation we will send as a one-off at the onset of the program. (payroll.ligetron.com/registration and dev-payroll.ligetron.com/registration)
Specs:
a. The Wallet Address field must only accept valid hexadecimal entries
b. The email address must be a valid email (preferably corporate/team email)
c. The passwords must be entered as strings in the subsequent two fields underneath
d. Upon clicking 'Verify Address', the UI will invoke the 'register_and_verify_address(email_addr, password)' from the worker instance.
i. if successful, a mention 'Verification successful' will appear in color green underneath the 'Verify Address' button for a brief moment before the window closes gracefully
ii. in case of error/failure, the error returned will be displayed in red underneath the 'Verify Address' button and the window will persist to allow the user another attempt
Testing:
a. Provide inputs with intentional errors:
And click on 'Verify Address'. Make sure the errors appear as specified in d. ii.
b. Provide properly formed inputs and check that register_and_verify_address gets called with the right arguments