});
it("Add agreement", () => {
let vendors = cy.get_vendors_to_relate();
// No agreement, no license yet
cy.intercept("GET", "/api/v1/erm/agreements*", {
statusCode: 200,
patron_id: 1,
firstname: "foo",
surname: "bar",
preferred_name: "foo",
category_id: "S",
library_id: "CPL",
library: {
name: "Centerville",
},
{
patron_id: 2,
firstname: "foofoo",
surname: "barbar",
],
headers: {
-