36 lines
681 B
Plaintext
36 lines
681 B
Plaintext
meta {
|
|
name: POST hotbar bind slot0 pulse (cast preset)
|
|
type: http
|
|
seq: 20
|
|
}
|
|
|
|
docs {
|
|
Full-collection order: run `Post move reset dev spawn before cast` (seq 15) first if the dev player was moved by earlier requests (e.g. gather near resource node).
|
|
}
|
|
|
|
post {
|
|
url: {{baseUrl}}/game/players/dev-local-1/hotbar-loadout
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"schemaVersion": 1,
|
|
"slots": [
|
|
{
|
|
"slotIndex": 0,
|
|
"abilityId": "prototype_pulse"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
|
|
tests {
|
|
test("status 200 and updated", function () {
|
|
expect(res.getStatus()).to.equal(200);
|
|
const body = res.getBody();
|
|
expect(body.updated).to.equal(true);
|
|
});
|
|
}
|