|
Lines 172-177
describe("catalogue/detail/holdings_table with items", () => {
Link Here
|
| 172 |
new RegExp(`"me.home_library_id":\\["${library_id}"\\]`) |
172 |
new RegExp(`"me.home_library_id":\\["${library_id}"\\]`) |
| 173 |
); |
173 |
); |
| 174 |
}); |
174 |
}); |
|
|
175 |
|
| 176 |
cy.get(`#${table_id}_wrapper input.dt-input`).clear(); |
| 177 |
cy.wait("@searchItems"); |
| 178 |
cy.get(`#${table_id}_wrapper input.dt-input`).type("["); |
| 179 |
cy.wait("@searchItems").then(interception => { |
| 180 |
const q = interception.request.query.q; |
| 181 |
expect(q).to.match( |
| 182 |
new RegExp(`"me.home_library_id":{"like":"%\\[%"}`) |
| 183 |
); |
| 184 |
}); |
| 175 |
}); |
185 |
}); |
| 176 |
}); |
186 |
}); |
| 177 |
|
187 |
|
| 178 |
- |
|
|