github.com/MontFerret/ferret@v0.18.0/e2e/tests/static/doc/cookies/get.fqlx (about)

     1  LET url = @lab.cdn.static + "/api/ts"
     2  LET doc = DOCUMENT(url, {
     3      driver: "http"
     4  })
     5  
     6  LET cookiesPath = LENGTH(doc.cookies) > 0 ? "ok" : "false"
     7  LET cookie = COOKIE_GET(doc, "x-ferret")
     8  LET expected = "ok e2e"
     9  
    10  RETURN T::EQ(cookiesPath + " " + cookie.value, expected)