Currently the verify button is enabled before the pgp creation process has been completed. This has been causing confusion amongst users.
Until the user either generates or imports their pgp, the button at the bottom of page will save the email input and give a notification when pressed that this button is indeed saving their claim but they need to create a pgp key to verify
Once the user has generated or imported their pgp key, the button at the bottom of the page will check if the user verified their email.
AC
Save Button Present
Given a user is on the email claims page
When they enter in their email
Then there will be a save button at the bottom of the page
Save Button Functionality
Given a user is on the email claims page and have entered characters in the input
When they click save
Then there will be a notification informing the user that their input has been saved and they need create a pgp key for verification
Verify Button Present
Given a user has either generated or imported their pgp key successfully
Then there will be a verify button at the bottom of the page
Verify Button Functionality
Given a user has either generated or imported their pgp key successfully, clicked the link in the email verification email and it was successful
Context
Currently the verify button is enabled before the pgp creation process has been completed. This has been causing confusion amongst users.
Until the user either generates or imports their pgp, the button at the bottom of page will save the email input and give a notification when pressed that this button is indeed saving their claim but they need to create a pgp key to verify
Once the user has generated or imported their pgp key, the button at the bottom of the page will check if the user verified their email.
AC
Save Button Present
Save Button Functionality
Verify Button Present
Verify Button Functionality
Verify Button Functionality - Unsuccessful email verification
Verify Button Functionality - Unsuccessful pgp creation