meta { name: Get Chain type: http seq: 3 } get { url: {{baseUrl}}/chains/{{chainId}} } headers { Authorization: Bearer {{authToken}} } assert { res.status: equals 200 } tests { test("Get chain returns chain object directly", function() { const data = res.getBody(); expect(data).to.have.property("id"); expect(data).to.have.property("name"); expect(data).to.have.property("created_at"); expect(data).to.have.property("updated_at"); }); test("Chain id matches requested id", function() { const data = res.getBody(); expect(data.id).to.equal(Number(bru.getVar("chainId"))); }); }