make playwright session cookie never expire
we want the playwright session cookie to never expire so auth tests don't fail all of a sudden
How to reproduce
- wait for session cookie to expire (or replace it with nonsense) and watch playwright tests behind auth fail
Expected behavior
- tests behind auth to pass because there's no expiration to the session cookie
Actual behavior
- tests behind auth fail because session cookie has expired
Sketch
[Notes or a checklist reflecting our understanding of the selected approach]
Another alternative is to script the Identity Sandbox login process in our frontend tests using an Identity Sandbox account for an email like [email protected]. https://github.com/GSA-TTS/FAC/blob/main/backend/cypress/support/login-gov.js is an example in Cypress.
Flagging for pairing discussion on Tuesday 5/20.
Goals:
- Decide method
- Write sketch
@rshewitt @FuhuXia is this something to keep in the queue or now that more people have the ability to remedy, should we close as not planned?