Lines 82-87
describe("Dialog operations", () => {
Link Here
|
82 |
statusCode: 201, |
82 |
statusCode: 201, |
83 |
body: erm_package, |
83 |
body: erm_package, |
84 |
}); |
84 |
}); |
|
|
85 |
cy.intercept("GET", "/api/v1/erm/eholdings/local/packages*", { |
86 |
statusCode: 200, |
87 |
body: [erm_package], |
88 |
headers: { |
89 |
"X-Base-Total-Count": "1", |
90 |
"X-Total-Count": "1", |
91 |
}, |
92 |
}); |
85 |
cy.get("#packages_add").contains("Submit").click(); |
93 |
cy.get("#packages_add").contains("Submit").click(); |
86 |
cy.get("main div[class='dialog message']").contains("Package created"); |
94 |
cy.get("main div[class='dialog message']").contains("Package created"); |
87 |
cy.get("main div[class='dialog message']").should("have.length", 1); |
95 |
cy.get("main div[class='dialog message']").should("have.length", 1); |
88 |
- |
|
|