feat(cli): add standalone v2 session flow
This commit is contained in:
@@ -816,6 +816,14 @@ const scenarios: Scenario[] = [
|
||||
headers: ctx.headers(),
|
||||
}))
|
||||
.status(400, undefined, "none"),
|
||||
http.protected
|
||||
.post("/api/session", "v2.session.create")
|
||||
.at((ctx) => ({
|
||||
path: "/api/session",
|
||||
headers: { ...ctx.headers(), "content-type": "application/json" },
|
||||
body: {},
|
||||
}))
|
||||
.json(200, data(object)),
|
||||
http.protected
|
||||
.get("/api/session/{sessionID}", "v2.session.get")
|
||||
.seeded((ctx) => ctx.session({ title: "Session get" }))
|
||||
|
||||
Reference in New Issue
Block a user