meta { name: Accept gather intro type: http seq: 3 } docs { NEO-120: POST accept gather intro — not_started to active for dev-local-1. Pre-request clears gather intro progress so accept works after earlier collection tests or persisted Postgres. } script:pre-request { const { resetGatherIntroQuestProgress } = require("./scripts/bruno-dev-fixture-helper"); await resetGatherIntroQuestProgress(bru); } post { url: {{baseUrl}}/game/players/{{playerId}}/quests/prototype_quest_gather_intro/accept body: json auth: none } body:json { { "schemaVersion": 1 } } tests { test("accept returns 200 with accepted true and active quest row", function () { expect(res.getStatus()).to.equal(200); const body = res.getBody(); expect(body.schemaVersion).to.equal(1); expect(body.accepted).to.equal(true); expect(body.reasonCode).to.equal(undefined); expect(body.quest).to.be.an("object"); expect(body.quest.questId).to.equal("prototype_quest_gather_intro"); expect(body.quest.status).to.equal("active"); expect(body.quest.currentStepIndex).to.equal(0); expect(body.quest.objectiveCounters).to.eql({}); }); }