Storage Steps

Local and session storage assertions. Front end personalisation, preference and consent flows verified.

Step phrasings in this group

The book sidebar lists each individual step page under this group.

Given the cookie "session" is set to "abc123"

Set a cookie on the current browser context.

Given the cookie "session" is removed

Remove a single cookie by name (other cookies preserved).

Given all cookies are cleared

Wipe every cookie on the browser context.

Given the local storage "user" is set to "Alice"

Set a local storage entry on the current page.

Given the local storage "user" is removed

Remove a single local storage entry.

Given local storage is cleared

Wipe local storage for the current origin.

Given the session storage "checkout step" is set to "2"

Set a session storage entry on the current page.

Given the session storage "checkout step" is removed

Remove a single session storage entry.

Given session storage is cleared

Wipe session storage for the current origin.

Back to all step groups