Lines 63-70
describe("Infinite scroll", () => {
Link Here
|
63 |
statusCode: 200, |
63 |
statusCode: 200, |
64 |
body: pageOne, |
64 |
body: pageOne, |
65 |
headers: { |
65 |
headers: { |
66 |
"X-Base-Total-Count": "20", |
66 |
"X-Base-Total-Count": "60", |
67 |
"X-Total-Count": "20", |
67 |
"X-Total-Count": "60", |
68 |
}, |
68 |
}, |
69 |
}); |
69 |
}); |
70 |
|
70 |
|
Lines 81-88
describe("Infinite scroll", () => {
Link Here
|
81 |
statusCode: 200, |
81 |
statusCode: 200, |
82 |
body: pageTwo, |
82 |
body: pageTwo, |
83 |
headers: { |
83 |
headers: { |
84 |
"X-Base-Total-Count": "40", |
84 |
"X-Base-Total-Count": "60", |
85 |
"X-Total-Count": "40", |
85 |
"X-Total-Count": "60", |
86 |
}, |
86 |
}, |
87 |
}).as("getPageTwo"); |
87 |
}).as("getPageTwo"); |
88 |
// Scroll the dropdown |
88 |
// Scroll the dropdown |
Lines 127-134
describe("Infinite scroll", () => {
Link Here
|
127 |
statusCode: 200, |
127 |
statusCode: 200, |
128 |
body: pageOne, |
128 |
body: pageOne, |
129 |
headers: { |
129 |
headers: { |
130 |
"X-Base-Total-Count": "20", |
130 |
"X-Base-Total-Count": "60", |
131 |
"X-Total-Count": "20", |
131 |
"X-Total-Count": "60", |
132 |
}, |
132 |
}, |
133 |
}); |
133 |
}); |
134 |
|
134 |
|
Lines 190-197
describe("Infinite scroll", () => {
Link Here
|
190 |
statusCode: 200, |
190 |
statusCode: 200, |
191 |
body: pageOne, |
191 |
body: pageOne, |
192 |
headers: { |
192 |
headers: { |
193 |
"X-Base-Total-Count": "20", |
193 |
"X-Base-Total-Count": "60", |
194 |
"X-Total-Count": "20", |
194 |
"X-Total-Count": "60", |
195 |
}, |
195 |
}, |
196 |
}).as("getPageOne"); |
196 |
}).as("getPageOne"); |
197 |
|
197 |
|
Lines 208-215
describe("Infinite scroll", () => {
Link Here
|
208 |
statusCode: 200, |
208 |
statusCode: 200, |
209 |
body: pageTwo, |
209 |
body: pageTwo, |
210 |
headers: { |
210 |
headers: { |
211 |
"X-Base-Total-Count": "40", |
211 |
"X-Base-Total-Count": "60", |
212 |
"X-Total-Count": "40", |
212 |
"X-Total-Count": "60", |
213 |
}, |
213 |
}, |
214 |
}).as("getPageTwo"); |
214 |
}).as("getPageTwo"); |
215 |
// Scroll the dropdown |
215 |
// Scroll the dropdown |
Lines 245-252
describe("Infinite scroll", () => {
Link Here
|
245 |
}, |
245 |
}, |
246 |
], |
246 |
], |
247 |
headers: { |
247 |
headers: { |
248 |
"X-Base-Total-Count": "20", |
248 |
"X-Base-Total-Count": "60", |
249 |
"X-Total-Count": "20", |
249 |
"X-Total-Count": "60", |
250 |
}, |
250 |
}, |
251 |
}).as("searchFilter"); |
251 |
}).as("searchFilter"); |
252 |
// Select a license that is not in the first page of results |
252 |
// Select a license that is not in the first page of results |
Lines 279-286
describe("Infinite scroll", () => {
Link Here
|
279 |
statusCode: 200, |
279 |
statusCode: 200, |
280 |
body: pageOne, |
280 |
body: pageOne, |
281 |
headers: { |
281 |
headers: { |
282 |
"X-Base-Total-Count": "20", |
282 |
"X-Base-Total-Count": "60", |
283 |
"X-Total-Count": "20", |
283 |
"X-Total-Count": "60", |
284 |
}, |
284 |
}, |
285 |
}).as("resetDropdown"); |
285 |
}).as("resetDropdown"); |
286 |
cy.get("#license_id_0 .vs__open-indicator").click(); |
286 |
cy.get("#license_id_0 .vs__open-indicator").click(); |
Lines 306-313
describe("Infinite scroll", () => {
Link Here
|
306 |
}, |
306 |
}, |
307 |
], |
307 |
], |
308 |
headers: { |
308 |
headers: { |
309 |
"X-Base-Total-Count": "20", |
309 |
"X-Base-Total-Count": "60", |
310 |
"X-Total-Count": "20", |
310 |
"X-Total-Count": "60", |
311 |
}, |
311 |
}, |
312 |
}).as("secondSearchFilter"); |
312 |
}).as("secondSearchFilter"); |
313 |
cy.get("#license_id_0 .vs__open-indicator").click(); |
313 |
cy.get("#license_id_0 .vs__open-indicator").click(); |
314 |
- |
|
|