mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-24 16:08:33 -05:00
remove domain: cookie.domain and see what happens
This commit is contained in:
@@ -128,7 +128,7 @@ cookies = (cyNamespace, cookieNamespace) ->
|
||||
debug("clear:cookies %o", cookies)
|
||||
|
||||
clear = (cookie) ->
|
||||
automate("clear:cookie", { name: cookie.name, domain: cookie.domain })
|
||||
automate("clear:cookie", { name: cookie.name })
|
||||
.then(normalizeCookieProps)
|
||||
|
||||
Promise.map(cookies, clear)
|
||||
|
||||
@@ -143,7 +143,7 @@ describe "lib/socket", ->
|
||||
|
||||
it "does not clear any namespaced cookies", (done) ->
|
||||
sinon.stub(chrome.cookies, "getAll")
|
||||
.withArgs({name: "session", domain: "google.com"})
|
||||
.withArgs({name: "session"})
|
||||
.yieldsAsync([
|
||||
{name: "session", value: "key", path: "/", domain: "google.com", secure: true, httpOnly: true, expirationDate: 123, a: "a", b: "c"}
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user