chore: add todo regarding storage and cookies e2e

This commit is contained in:
Joe Previte 2021-02-12 11:58:56 -07:00
parent 3fa460c244
commit 5857b25079
No known key found for this signature in database
GPG Key ID: 2C91590C6B742C24

View File

@ -42,6 +42,12 @@ describe("go home", () => {
// this will return the cookies with no changes
// otherwise if it doesn't exist, it will create it
// hence the name maybeUpdatedCookies
//
// TODO(@jsjoeio)
// The playwright storage thing sometimes works and sometimes doesn't. We should investigate this further
// at some point.
// See discussion: https://github.com/cdr/code-server/pull/2648#discussion_r575434946
const maybeUpdatedCookies = createCookieIfDoesntExist(cookies, cookieToStore)
context = await browser.newContext({