View | Details | Raw Unified | Return to bug 37576
Collapse All | Expand All

(-)a/t/cypress/integration/ERM/UserRoles_spec.ts (-5 / +14 lines)
Lines 12-18 describe("Add/search user", () => { Link Here
12
    });
12
    });
13
13
14
    it("Add agreement", () => {
14
    it("Add agreement", () => {
15
        let vendors = cy.get_vendors_to_relate();
16
        // No agreement, no license yet
15
        // No agreement, no license yet
17
        cy.intercept("GET", "/api/v1/erm/agreements*", {
16
        cy.intercept("GET", "/api/v1/erm/agreements*", {
18
            statusCode: 200,
17
            statusCode: 200,
Lines 31-45 describe("Add/search user", () => { Link Here
31
                    patron_id: 1,
30
                    patron_id: 1,
32
                    firstname: "foo",
31
                    firstname: "foo",
33
                    surname: "bar",
32
                    surname: "bar",
33
                    preferred_name: "foo",
34
                    category_id: "S",
34
                    category_id: "S",
35
                    library_id: "CPL",
35
                    library: {
36
                        library_id: "CPL",
37
                        name: "Centerville",
38
                    },
36
                },
39
                },
37
                {
40
                {
38
                    patron_id: 2,
41
                    patron_id: 2,
39
                    firstname: "foofoo",
42
                    firstname: "foofoo",
40
                    surname: "barbar",
43
                    surname: "barbar",
41
                    category_id: "S",
44
                    category_id: "S",
42
                    library_id: "CPL",
45
                    library: {
46
                        library_id: "CPL",
47
                        name: "Centerville",
48
                    },
43
                },
49
                },
44
            ],
50
            ],
45
            headers: {
51
            headers: {
Lines 54-61 describe("Add/search user", () => { Link Here
54
                patron_id: 1,
60
                patron_id: 1,
55
                firstname: "foo",
61
                firstname: "foo",
56
                surname: "bar",
62
                surname: "bar",
63
                preferred_name: "foo",
57
                category_id: "S",
64
                category_id: "S",
58
                library_id: "CPL",
65
                library: {
66
                    library_id: "CPL",
67
                    name: "Centerville",
68
                },
59
            },
69
            },
60
        });
70
        });
61
71
62
- 

Return to bug 37576