Lines 235-241
describe("Package CRUD operations", () => {
Link Here
|
235 |
); |
235 |
); |
236 |
// There are no resources, the table should not be displayed |
236 |
// There are no resources, the table should not be displayed |
237 |
cy.contains("Titles (0)"); |
237 |
cy.contains("Titles (0)"); |
238 |
cy.get("#table#title_list").should("not.exist"); |
238 |
cy.get("#title_list_result table").should("not.exist"); |
239 |
|
239 |
|
240 |
// List resources |
240 |
// List resources |
241 |
cy.intercept("GET", "/api/v1/erm/eholdings/local/packages/*", { |
241 |
cy.intercept("GET", "/api/v1/erm/eholdings/local/packages/*", { |
Lines 269-275
describe("Package CRUD operations", () => {
Link Here
|
269 |
cy.contains("Titles (1)"); |
269 |
cy.contains("Titles (1)"); |
270 |
cy.wait("@get-resource"); |
270 |
cy.wait("@get-resource"); |
271 |
cy.wait(500); |
271 |
cy.wait(500); |
272 |
cy.get("table#title_list").contains("A great title"); |
272 |
cy.get("#title_list_result table").contains("A great title"); |
273 |
}); |
273 |
}); |
274 |
|
274 |
|
275 |
it("Delete package", () => { |
275 |
it("Delete package", () => { |
276 |
- |
|
|