feat(Cypress): Implemented test step POST CommunicationRequest
This commit is contained in:
parent
84d3acdc7e
commit
7a751125aa
@ -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
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user