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

Method seeCookie

lib/helper/Puppeteer.js:1883–1886  ·  view source on GitHub ↗

* {{> seeCookie }} *

(name)

Source from the content-addressed store, hash-verified

1881 *
1882 */
1883 async seeCookie(name) {
1884 const cookies = await this.page.cookies()
1885 empty(`cookie ${name} to be set`).negate(cookies.filter(c => c.name === name))
1886 }
1887
1888 /**
1889 * {{> dontSeeCookie }}

Callers 4

testsFunction · 0.45

Calls 3

emptyFunction · 0.90
negateMethod · 0.80
filterMethod · 0.80

Tested by

no test coverage detected