mirror of
https://github.com/MontFerret/ferret.git
synced 2024-12-23 01:24:30 +02:00
10 lines
261 B
Plaintext
10 lines
261 B
Plaintext
|
LET url = @static + "/api/ts"
|
||
|
LET doc = DOCUMENT(url, {
|
||
|
driver: "http"
|
||
|
})
|
||
|
|
||
|
LET cookiesPath = LENGTH(doc.cookies) > 0 ? "ok" : "false"
|
||
|
LET cookie = COOKIE_GET(doc, "x-ferret")
|
||
|
LET expected = "ok e2e"
|
||
|
|
||
|
RETURN EXPECT(expected, cookiesPath + " " + cookie.value)
|