meta { name: GET faction standing default type: http seq: 2 } docs { NEO-139: per-player standing snapshot for all catalog factions. Pre-request clears prototype faction standing via POST …/__dev/quest-fixture resetFactionIds so re-runs stay neutral after seq 4 or quest-progress operator-chain flows. } script:pre-request { const { resetPrototypeFactionStanding } = require("./scripts/bruno-dev-fixture-helper"); await resetPrototypeFactionStanding(bru); } get { url: {{baseUrl}}/game/players/{{playerId}}/faction-standing body: none auth: none } tests { test("returns 200 JSON with schema v1 and two prototype factions at neutral standing", function () { expect(res.getStatus()).to.equal(200); expect(res.getHeader("content-type")).to.contain("application/json"); const body = res.getBody(); expect(body.schemaVersion).to.equal(1); expect(body.playerId).to.equal(bru.getEnvVar("playerId") || bru.getVar("playerId") || "dev-local-1"); expect(body.factions).to.be.an("array"); expect(body.factions.length).to.equal(2); const byId = Object.fromEntries(body.factions.map((row) => [row.id, row.standing])); expect(byId["prototype_faction_grid_operators"]).to.equal(0); expect(byId["prototype_faction_rust_collective"]).to.equal(0); }); }