Workflow Test Scenarios
This section outlines steps that are to be tried after the unit tests have been successfully completed.
PRE-REQUISITES:
- Make sure that the domain name is mapped to the corresponding Zoho Analytics environment (analytics.cs.zohohost.com). For this particular documentation, we will assume that this domain mapping is https://analytics.finepick.com. Replace this with your own mapping URL.
- Zoho Analytics environment is located at analytics.cs.zohohost.com
TEST LOGIN FLOW
- Invoke the Sign Up or Sign In API.
- Get the redirect_url value from the API response and invoke the URL in the browser.
- Once the redirect_url is invoked, the sign-in process will be completed.
TEST LOGOUT FLOW
- After logging in using the steps above, invoke the Sign out API from your server/application to Zoho Analytics server.
- Try using the same redirect url to visit your white label domain - you should be redirected to the registered login page of your website.
TEST LOGIN AS ANOTHER USER FUNCTIONALITY
- This step requires that you register 2 different email addressed using the Sign up API.
- Test the login flow as the first User
- Then use the redirect url for User 2 and visit the site (using the same steps outlined in Test Login flow). - Domain will ignore the second url when one session is already active - so you will still see the session as user 1.