Homepage modal session logic: modal does not appear when expected on new sessions #11976
Closed
2 tasks
Labels
Needs refining
Issue status
Public Websites
Scrum team in the Sitewide crew
sitewide
VA.gov frontend
CMS team practice area
VA.gov homepage
CMS managed product owned by Public Websites team
Session logic written in #11817 merged and was rebased into Josh's PR for #11535.
Using the Review instance for 11535 PR, I'm testing from http://a109d22ff3eebd5144235d7057fb577f.review.vetsgov-internal/, where both modal build and session logic are present.
Test cases
For each case, open http://a109d22ff3eebd5144235d7057fb577f.review.vetsgov-internal/, close the modal. Then:
🟢 Refresh page: Modal does not appear
🔴 Open a new browser tab and load http://a109d22ff3eebd5144235d7057fb577f.review.vetsgov-internal/: Modal does not appear
🔴 Quit browser. Open browser. Load http://a109d22ff3eebd5144235d7057fb577f.review.vetsgov-internal/: Modal does not appear
In order to get modal to reappear for the 2 failing cases, I have to first clear local storage. (
localStorage.clear();
).Acceptance Criteria
The text was updated successfully, but these errors were encountered: