Lines 193-198
describe("Agreement CRUD operations", () => {
Link Here
|
193 |
cy.visit("/cgi-bin/koha/erm/agreements?by_expired=true&max_expiration_date="+dates["tomorrow_iso"]); |
193 |
cy.visit("/cgi-bin/koha/erm/agreements?by_expired=true&max_expiration_date="+dates["tomorrow_iso"]); |
194 |
cy.wait('@getActiveAgreements').its('request.url').should('include', 'max_expiration_date='+dates["tomorrow_iso"]); |
194 |
cy.wait('@getActiveAgreements').its('request.url').should('include', 'max_expiration_date='+dates["tomorrow_iso"]); |
195 |
|
195 |
|
|
|
196 |
// Verify that the date input is automatically filled if "by_expired" ticked but date is empty |
197 |
cy.get("#max_expiration_date_filter+input").clear(); |
198 |
cy.get("#expired_filter").check(); |
199 |
cy.get("#filter_table").click(); |
200 |
cy.get("#max_expiration_date_filter+input").should('have.value', dates["today_us"]); |
201 |
|
196 |
// Test filter button with show mine_only ticked |
202 |
// Test filter button with show mine_only ticked |
197 |
}); |
203 |
}); |
198 |
|
204 |
|
199 |
- |
|
|