Function When_I_clear_all_local_storage

  • When I clear all local storage:

    When I clear all local storage
    

    Clear localStorage data for all origins with which the test has interacted.

    Returns void

    When I clear all local storage
    

    Cypress automatically clears all local storage before each test to prevent state from being shared across tests when test isolation is enabled. You shouldn't need to use this command unless you're using it to clear localStorage inside a single test or test isolation is disabled.