This PR updates storefront-auth to latest version that includes setting of shopperContext on login/logout. It also adds some initialization logic to ensure that when the page loads, the shopper context is set according to whether user is logged in or not (based on cookie presence).
This PR also adds tests and adds a "fix" for the tests where after each test we now delete any created customers (if logged in) just to keep things tidy.
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.
USF-1650
This PR updates storefront-auth to latest version that includes setting of
shopperContext
on login/logout. It also adds some initialization logic to ensure that when the page loads, the shopper context is set according to whether user is logged in or not (based on cookie presence).This PR also adds tests and adds a "fix" for the tests where after each test we now delete any created customers (if logged in) just to keep things tidy.
Test URLs: