Prepopulating emails on sign in modals
Scenario: User enters AB
GIVEN a signed out user
WHEN the user loads standalone on Formbuilder or Paypal Button plugin (https://powr.io/plugins/form-builder/standalone) and not on Wix
And loads signup modal
THEN the user either falls into group control or prepopulated_email of the A/B prepopulated_email_on_signup
Scenario: Control sees current version
GIVEN a user is in group control of the prepopulated_email_on_signup a/b
WHEN the user loads sign up modal on Form builder standalone
THEN the user sees the default sign up modal without prepopulated email (current logic)
Scenario: prepopulated_email group sees modal with prepopulated email
GIVEN a user is in group prepopulated_email of the A/B prepopulated_email_on_signup
WHEN the user loads sign up modal on Form builder standalone
THEN the user sees the sign up modal with prepopulated email from:
- For Formbuilder - APP_MODEL.get('ownerEmail'). ownerEmail is split on “,”, need to take first one. Eg: if ownerEmail = [email protected], [email protected] then user’s suggested email = [email protected]
- For Paypal button -
paypalAccount
`