1
0
mirror of https://github.com/MontFerret/ferret.git synced 2024-12-23 01:24:30 +02:00
ferret/e2e/tests/dynamic/doc/pagination.fql
Tim Voronov 14c487ca46
Updated pagination iterator (#338)
* Updated pagination iterator

* Added e2e test

* Fixed e2e tests
2019-07-23 12:44:30 -04:00

9 lines
204 B
Plaintext

LET url = @dynamic + "/#/pagination"
LET page = DOCUMENT(url, true)
LET items = (
FOR i IN PAGINATION(page, 'li[class="page-item-next page-item"]')
RETURN i
)
RETURN EXPECT(5, LENGTH(items))