docbrown/cypress
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
..
fixtures Add (updated) mention autocomplete to post comments (#13061) 2021-03-22 09:18:13 +00:00
integration Ensure user data is unset if no user is logged in (#13024) 2021-03-23 07:36:49 -05:00
plugins Cleaning Test Runs for End to End (E2E) Tests (#12143) 2021-01-29 13:34:01 +01:00
support Cypress tests for /admin/config Authentication Section (#12539) 2021-02-03 15:31:55 -05:00
.eslintrc.js E2E Test: Initial Adminisitrator Login Flow (#11840) 2020-12-11 13:44:18 -05:00