node-testrail-api icon indicating copy to clipboard operation
node-testrail-api copied to clipboard

Pagination

Open angelina-andronova-xapo opened this issue 4 years ago • 1 comments

Since recent TestRail update, they introduced pagination, e.g. https://www.gurock.com/testrail/docs/api/reference/tests#gettests We need to use offset (Number that sets the position where the response should start from (Optional parameter) (requires TestRail 6.7 or later)), but the current methods do not support offset configuration:

testrail.getTests(/*RUN_ID=*/1, /*FILTERS=*/{}, function (err, response, tests) {
  console.log(tests);
});

Are you planning to add it?

angelina-andronova-xapo avatar Sep 24 '21 14:09 angelina-andronova-xapo

@rundef @dreef3 can anyone please look into this? as we can not fetch all the testcases from the testrail.

meet-acko avatar Sep 27 '21 11:09 meet-acko