docbrown/cypress/integration
Jacob Herrington d667490732
Ensure user data is unset if no user is logged in (#13024)
* Ensure loggd out user data is not in the document

* Use delete operator to remove user property

Another function relies on this value not existing. If this property
exists, but is set to undefined, it will not behave as expected.

* Add tests to verify user data does not persist in the DOM after logout

* Update cypress/integration/loginFlows/userLogout.spec.js

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>

* Fixup: Test localStorage for user data

Co-authored-by: Nick Taylor <nick@iamdeveloper.com>
2021-03-23 07:36:49 -05:00
..
adminFlows improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
articleFlows Add (updated) mention autocomplete to post comments (#13061) 2021-03-22 09:18:13 +00:00
listingFlows improve keyboard accessibility of modals 12427 10610 (#12511) 2021-02-24 16:01:10 +00:00
loggedOutFlows Fix subscribe to discussion button when user is not logged in (#12837) 2021-03-03 18:50:29 -06:00
loginFlows Ensure user data is unset if no user is logged in (#13024) 2021-03-23 07:36:49 -05:00
publishingFlows Added E2E tests for #12585. (#12597) 2021-02-05 10:30:54 -06:00