MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / dontSeeCookie

Method dontSeeCookie

lib/helper/Puppeteer.js:1891–1894  ·  view source on GitHub ↗

* {{> dontSeeCookie }}

(name)

Source from the content-addressed store, hash-verified

1889 * {{> dontSeeCookie }}
1890 */
1891 async dontSeeCookie(name) {
1892 const cookies = await this.page.cookies()
1893 empty(`cookie ${name} not to be set`).assert(cookies.filter(c => c.name === name))
1894 }
1895
1896 /**
1897 * {{> grabCookie }}

Callers 4

testsFunction · 0.45

Calls 3

emptyFunction · 0.90
assertMethod · 0.80
filterMethod · 0.80

Tested by

no test coverage detected