feat(Cypress): Implemented test step POST CommunicationRequest

This commit is contained in:
Simon Priet 2021-09-08 10:59:14 +02:00
parent 84d3acdc7e
commit 7a751125aa

View File

@ -160,8 +160,11 @@ describe("it test the api", () => {
expect(response.headers["content-type"]).to.eq("application/fhir+json;charset=UTF-8"); 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("resourceType", "CommunicationRequest");
expect(response.body).to.have.property('id'); expect(response.body).to.have.property('id');
expect(response.body).to.have.property('status', 'draft');
communicationRequestId = response.body.id communicationRequestId = response.body.id
}); });
}); });
}); });