Skip to content

adds sorting and pagination tests - #787

Open
chrismulholland wants to merge 1 commit into
mainfrom
SCC-5452/NYQL-api-tests-refactor_PR7
Open

adds sorting and pagination tests#787
chrismulholland wants to merge 1 commit into
mainfrom
SCC-5452/NYQL-api-tests-refactor_PR7

Conversation

@chrismulholland

Copy link
Copy Markdown
Contributor

Adds nyql-sorting-pagination.test.js as the seventh in the NYQL integration test series. Tests cover:

  • per_page limiting results to the requested count
  • Page 2 results not overlapping with page 1
  • sort=title asc/desc returning results in opposite order
  • sort=date asc/desc returning results in opposite order
  • totalResults being consistent across pages

@chrismulholland

Copy link
Copy Markdown
Contributor Author

@danamansana I have this pr (last one!) ready for your review, but I see the unit tests are failing. Do you have any idea why?

@chrismulholland

Copy link
Copy Markdown
Contributor Author

@danamansana never mind, unit tests pass on rerun. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant