Lines 325-330
describe("kohaTable (using REST API)", () => {
Link Here
|
325 |
}); |
325 |
}); |
326 |
}); |
326 |
}); |
327 |
}); |
327 |
}); |
|
|
328 |
|
329 |
it("Jump to the configuration page", () => { |
330 |
cy.visit("/cgi-bin/koha/admin/branches.pl"); |
331 |
cy.get(`#${table_id}_wrapper .dt_button_configure_table`).click(); |
332 |
cy.url().should("contain", "module=admin"); |
333 |
cy.url().should("contain", "page=libraries"); |
334 |
cy.url().should("contain", "table=libraries"); |
335 |
|
336 |
cy.wait(2000); // ensure the animation completes, random failures? |
337 |
cy.get("#admin_panel") |
338 |
.contains("Table id: libraries") |
339 |
.should("be.visible"); |
340 |
|
341 |
cy.window().then(win => { |
342 |
const scrollTop = win.scrollY || win.pageYOffset; |
343 |
expect(scrollTop).to.be.greaterThan(0); // Ensure some scrolling happened |
344 |
}); |
345 |
}); |
328 |
}); |
346 |
}); |
329 |
|
347 |
|
330 |
describe("Patrons search", () => { |
348 |
describe("Patrons search", () => { |
331 |
- |
|
|