Gigya WebSDK Screen-Sets

The list below describes the basic scenarios that use Gigya's screen-sets.
The list ensures that each screen is used and available for accessibility tests.
Each scenario can be repeated with different form language.

Pre-requisites
  1. Majority of the scenarios require a valid email address.
  2. Mobile number login, SMS TFA require a valid mobile phone number.
  3. TFA using TOTP require scanning QR code capability and an authenticator app such as google authenticator.
  4. Push TFA and Password less login using push authentication require an android device and Gigya Android SDK sample application. Contact SDK team to get latest demo app.
    Watch the following instructional videos to see the usage.
    1. Configure Push TFA with Android sample app.
    2. Configure login with Push notification with android sample app.
  5. Social login tests require a valid social network account (e.g. Facebook, Google, Twitter, Yahoo).
  6. Some scenarios instruct to send API requests that require API User key and API user secret. Contact SDK team for these parameters.

Form language

# Flow Launch screen-set Description
Register with email Launch
  1. Launch screen
  2. Type a valid email
  3. User should see checkmark on the right side of the email field indicating valid input
  4. Type a valid password
  5. User should see "password strength" widget updating as the user types his password
  6. Launch screen
  7. Register with a user with invalid email to see control error
Register and complete missing fields Launch
  1. Launch screen
  2. Register with valid user with email
  3. User should be redirected to "Profile completion" screen
  4. Postcode and terms fields should be marked with a red asterisk that indicates that it is a required field
  5. Fill any value in Postcode field, accept terms and click submit
Register to TFA with SMA Launch
  1. Launch screen
  2. Start registering with valid email
  3. On "Securing Your Account" screen make sure Phone (SMS) is selected in the "Authentication Method"
  4. Fill details and click get the code
  5. Fill received SMS and click submit
Register to TFA with TOTP Launch
  1. Launch screen
  2. Start registering with valid email
  3. On "Securing Your Account" screen make sure "Time based Authentication" is selected in the "Authentication Method"
  4. Scan QR code via your authenticator app
  5. Fill the code from the authenticator app and click submit
Register and verify email using link Launch
  1. Launch screen
  2. Start registering with valid email
  3. User should be redirected to confirmation screen
  4. Launch screen
  5. Click on "Have an account already?"
  6. Try to login with the email from registration step
  7. User should be redirected to confirmation screen where he can type a different email address"
Register and verify email using code Launch
  1. Launch screen
  2. Start registering with valid email
  3. User should be redirected to "Enter The Code" screen
  4. Click the email address
  5. User should be redirected to "Change Your Email" screen
  6. Click "Get the code" button"
  7. Check your email and fill the latest code you received to complete verification
Sign up to a newsletter (lite registration) Launch
  1. Launch screen
  2. Register with valid user with email
  3. User redirected to confirmation screen
Lite account progression Launch
  1. Launch screen
  2. Register with valid user with email
  3. User redirected to confirmation screen
  4. Via browser send the following API request https://accounts.us1.gigya.com/accounts.sendLiteInvite?email=ReplaceWwithRealEmail&userkey=ReplaceWwithAPIUserKey&secret=ReplaceWwithAPISecretKey&APIKey=4_Cw4MlC9j3woITAl4rYbo7g
  5. Check your email box for an invitation to the "Preference Center" and open the link to the center
  6. Set a valid password and confirm
Login with email Launch
  1. Launch screen
  2. Login with valid user: test@test.com / qwerty
  3. Launch screen
  4. Login with non existing user to see form errors: non@existing.com / qwerty
Encounter mandatory password change request during login Launch
  1. Launch screen
  2. Login with valid user: e.g. test@test.com / qwerty
  3. Note the user UID that appears on the test page below the login screen and use it in the next API request
  4. Via browser send the following API request https://accounts.us1.gigya.com/accounts.setAccountInfo?requirePasswordChange=true&uid=ReplaceWithUID&userkey=ReplaceWithAPIUserKey&secret=ReplaceWwithAPIUserSecret&APIKey=4_Cw4MlC9j3woITAl4rYbo7g
  5. Login again with the same user
  6. User is forwarded to "Password Change" screen
Login with Push authentication - Password-Less flows Launch
  1. Launch screen
  2. Click "Don't have an account yet?" and register with a valid user and password
  3. With the Gigya android sample application enable login using push notification
  4. Launch test page again
  5. Type your email and click submit
  6. At first login user should see four login methods: password, push notification, magic link and email code
  7. Choose push notification
  8. Confirm login on the android device to complete login
Login with Magic link - Password-Less flows Launch
  1. Launch screen
  2. Type an existing user name or click "Don't have an account yet?" to register
  3. Launch test page again
  4. Type your email and click submit
  5. Choose to login via magic link (* you may have to click on "Change login method" if other method was selected by default)
  6. Choose "magic link"
  7. Check your email and complete login with the given link
Login with email code - Password-Less flows Launch
  1. Launch screen
  2. Type an existing user name or click "Don't have an account yet?" to register
  3. Launch test page again
  4. Type your email and click submit
  5. Choose to login via Email code (* you may have to click on "Change login method" if other method was selected by default)
  6. Choose "Email code"
  7. Check your email and complete login with the given code
Login with password - Password-Less flows Launch
  1. Launch screen
  2. Type an existing username or click "Don't have an account yet?" to register
  3. Launch test page again
  4. Type your email and click submit
  5. Choose to login via Password (* you may have to click on "Change login method" if other method was selected by default)
  6. Choose "Password"
  7. Fill password and click Submit
Login with Email TFA Launch
  1. Launch screen
  2. Register with a valid email and confirm email using the link that was sent via email
  3. Wait 5 minutes or clear browser cookies an
  4. Login with the same user at Launch
  5. User is redirected to "Verifying Your Account" screen
  6. Use the code sent by email and complete login
Login with SMA TFA Launch
  1. Launch screen
  2. Login with the same user you registered with during the registration with SMS TFA
  3. Click on "Didn't get the code" link and then "Get the code"
  4. Fill the SMS code you got and click Submit
Login with TOTP TFA Launch
  1. Launch screen
  2. Login with the same user you registered with during the registration with TOTP TFA
  3. Fill the TOTP code from your authenticator app and click Submit
Login with mobile phone number Launch
  1. Launch screen
  2. Login with valid phone number
  3. Enter the one-time code to complete the login
User forgot password and reset it Launch
  1. Launch screen
  2. Click on forgot password screen
  3. Enter a registered email address
  4. User is forwarded to Forgot password confirmation screen
  5. Check your email address and click on the reset password link
  6. Change your password
User forgot password and reset it using New_14-06-22-Registration screen-set Launch
  1. Launch screen
  2. Click on "Don't have an account yet?" and register
  3. Click on "Have an account already?"
  4. Click on forgot password screen
  5. Enter the registered email address
  6. User is forwarded to Forgot password confirmation screen
  7. Check your email address and click on the reset password link
  8. Change your password
  9. User is forwarded to confirmation screen

* To test the 'reset password' screens on different languages, you need to use the Register screen while the screen language set to the desired language
Re-authenticate with email Launch
  1. Launch screen
  2. Login with valid user: test@test.com / qwerty
  3. Launch re-authenticate screen
  4. Login again with the same user
Re-authenticate with social network Launch
  1. Launch screen
  2. Login with valid social user
  3. Launch re-authenticate screen
  4. Login again with the same social user
User forgot password during re-authentication flow Launch
  1. Launch screen
  2. Login with valid user: test@test.com / qwerty
  3. Launch re-authenticate screen
  4. Click on "forgot password" link
  5. Click on submit
  6. User forwarded to confirmation screen
Link accounts Launch
  1. Register with an email address that will be the same as your social network email address
  2. Launch registration screen again
  3. Login with one of the available social network
  4. User is redirected to link account screen since a site account with the same email exists
  5. * Do not complete link account flow so you will be able to repeat this scenario as many times as needed
User forgot password during Link account flow Launch
  1. Register with an email address that will be the same as your social network email address
  2. Launch registration screen again
  3. Login with one of the available social network
  4. User is redirected to link account screen since a site account with the same email exists.
  5. Click on "forgot password" link
  6. Click on submit
  7. User forwarded to confirmation screen
Edit profile (Consent, subscription, radio buttons) Launch
  1. Launch screen
  2. Register with valid user with email
  3. User should be redirected to "Profile completion" screen
  4. Postcode and terms fields should be marked with a red asterisk that indicates that it is a required field
  5. Fill any value in postcode field, accept terms and click submit
  6. Launch Edit profile screen to watch profile details and edit it
  7. Launch Review settings also at Communication page
  8. Launch Review settings also Privacy page
Change password via edit profile Launch
  1. Launch screen
  2. Login with a valid user or register with valid user with email
  3. Launch Edit profile screen to watch profile details and edit it
  4. Click Change password to change it
Set or edit phone number via edit profile Launch
  1. Launch screen
  2. Login with a valid user or register with valid user with email
  3. Launch Edit profile screen to watch profile details and edit it
  4. Click "Set or edit phone number"
  5. Provide valid phone number, click "Get the code"
  6. Provide the code and click verify to complete the process
Set or edit email (with OTP verification) via edit profile Launch
  1. Launch screen
  2. Login with a valid user or register with valid user with email
  3. Launch Edit profile screen to watch profile details and edit it
  4. Click "Set email with verification"
  5. Provide valid email, click "Get the code"
  6. Provide the code and click verify to complete the process
Change SMS TFA device Launch
  1. Launch screen
  2. Start registering with valid email
  3. On "Securing Your Account" screen make sure Phone (SMS) is selected in the "Authentication Method"
  4. Fill details and click get the code
  5. Fill received SMS and click submit
  6. Launch Edit profile screen to watch profile details
  7. Click "Verification methods"
  8. Click "Edit" to change device, set a new device and verify it by ocde
Change TOTP TFA device Launch
  1. Launch screen
  2. Start registering with valid email
  3. On "Securing Your Account" screen make sure "Time based Authentication" is selected in the "Authentication Method"
  4. Scan QR code via your authenticator app
  5. Fill the code from the authenticator app and click submit
  6. Launch Edit profile screen to watch profile details
  7. Click "Verification methods"
  8. Click "Change Device" to change device, scan a new QA code and confirm
Use backup code (while TOTP TFA enabled) Launch
  1. Launch screen
  2. Start registering with valid email
  3. On "Securing Your Account" screen make sure "Time based Authentication" is selected in the "Authentication Method"
  4. Scan QR code via your authenticator app
  5. Fill the code from the authenticator app and click submit
  6. Launch Edit profile screen to watch profile details
  7. Click "Verification methods"
  8. Click "Backup codes" to view current set of codes
  9. Click "Generate new codes" to generate a new set. Remember one code
  10. Launch Launch login screen and try to login
  11. Don't use authenticator code to login, click on "Can't access your app? Use a backup code".
  12. Use the code you remembered on previous step to complete login .
Link between site user and social user (Add connection) Launch
  1. Launch screen
  2. Login with valid user: test@test.com / qwerty
  3. Scroll down to "Gigya Add connection UI" and click on one of the social networks to link it to your site account
  4. Complete login
  5. "Gigya Add connection UI" and "Gigya Edit connection UI" should update and reflect that your social identity is logged in and connected
    1. On "Gigya Add connection UI": Green checkmark appears on the social network icon
    2. On "Gigya Edit connection UI": "connect" link changes to "disconnect"
Subscribe to subscription channels Launch
  1. Launch initial screen
  2. Login with valid user: test@test.com / qwerty or register as a new one
  3. Launch Launch Subscription screen
  4. Enter a valid mobile number and click "verify"
  5. Enter incorrect code
  6. Wait for a couple of seconds
  7. An error should appear
  8. Click resend
  9. Enter the code received by sms
  10. Wait for a couple of seconds
  11. Number should be verified : "verified" text should appear
Use hosted pages to login Launch A note only for this test page: we need to verify WCAG compliance of the test page as well.
On other tests we verify only SDK screens compatability
  1. Launch initial screen
  2. Login with valid user: test@test.com / qwerty or register as a new one
  3. On successfully login, user is redirected to sap.com web site