---
# System prepended metadata

title: Untitled

---

Tests for Google sign-in flow

1. An email account that doesn't have an associated account with layer, should give an error of user not registered.
2. If the user has already logged into a google service in the browser and tries to sign-in to layer with google on another tab, it should pre-populate that logged in email account and should login using the stored cookies and session without asking for password.
3. If two factor authentication is enabled in the google account, while using the same google login in layer, it should ask for the additional information to login.
4. Once logged in with google sign-in, hitting back button shouldn't log out nthe user.
5. Once the user is logged in with google sign-in, clearing the cookies and sessions of the browser and hitting refresh, should log out the user.
6. If the user is logged in, and the access with the associated given email is revoked from the google services, refeshing the page should log the user out.
7. After the expiration period of google auth token is reached, the user should be logged out of the portal and should be asked to re-login.