Authentication

Log into YouTube with Google single sign-on

Industry
Social network
Problem types
MFA and SSO

This test executes a Google single sign-on workflow on youtube.com. When the user first visits YouTube, they can see that the “Sign in” button is available.  The user signs in, thus creating the cookie, which is saved to the customer sandbox environment in the QA Wolf editor. The user starts a fresh browser and the test injects the previously constructed cookie into the browser before proceeding to YouTube, where they are automatically logged in. The user then visits the Google Calendar, where they have also been automatically logged in.

How it's done

Single sign-on (Cookie injection)

In this test, we use a script to build a cookie and save it to our environment. We then inject the cookie into the browser for subsequent runs allowing the test to run fully automated.

See also

We use cookies to
improve your experience.