|
Lines 22-35
function get_package() {
Link Here
|
| 22 |
} |
22 |
} |
| 23 |
|
23 |
|
| 24 |
describe("Dialog operations", () => { |
24 |
describe("Dialog operations", () => { |
| 25 |
before(() => { |
|
|
| 26 |
cy.intercept("GET", "/cgi-bin/koha/svc/config/systempreferences/?pref=ERMModule", '{"value":"1"}'); |
| 27 |
cy.intercept("GET", "/cgi-bin/koha/svc/config/systempreferences/?pref=ERMProviders", '{"value":"local"}'); |
| 28 |
}); |
| 29 |
|
| 30 |
beforeEach(() => { |
25 |
beforeEach(() => { |
| 31 |
cy.login(); |
26 |
cy.login(); |
| 32 |
cy.title().should("eq", "Koha staff interface"); |
27 |
cy.title().should("eq", "Koha staff interface"); |
|
|
28 |
cy.intercept("GET", "/cgi-bin/koha/svc/config/systempreferences/?pref=ERMModule", '{"value":"1"}'); |
| 29 |
cy.intercept("GET", "/cgi-bin/koha/svc/config/systempreferences/?pref=ERMProviders", '{"value":"local"}'); |
| 33 |
}); |
30 |
}); |
| 34 |
|
31 |
|
| 35 |
it("There are no ... defined", () => { |
32 |
it("There are no ... defined", () => { |