mirror of
https://github.com/coder/code-server.git
synced 2025-07-28 20:43:24 +08:00
chore: add todo regarding storage and cookies e2e
This commit is contained in:
@ -42,6 +42,12 @@ describe("go home", () => {
|
|||||||
// this will return the cookies with no changes
|
// this will return the cookies with no changes
|
||||||
// otherwise if it doesn't exist, it will create it
|
// otherwise if it doesn't exist, it will create it
|
||||||
// hence the name maybeUpdatedCookies
|
// 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)
|
const maybeUpdatedCookies = createCookieIfDoesntExist(cookies, cookieToStore)
|
||||||
|
|
||||||
context = await browser.newContext({
|
context = await browser.newContext({
|
||||||
|
Reference in New Issue
Block a user