diff --git a/cypress/integration/api.spec.js b/cypress/integration/api.spec.js index d945a071..b8174ea7 100644 --- a/cypress/integration/api.spec.js +++ b/cypress/integration/api.spec.js @@ -160,8 +160,11 @@ describe("it test the api", () => { expect(response.headers["content-type"]).to.eq("application/fhir+json;charset=UTF-8"); expect(response.body).to.have.property("resourceType", "CommunicationRequest"); expect(response.body).to.have.property('id'); + expect(response.body).to.have.property('status', 'draft'); communicationRequestId = response.body.id }); }); + + });