node-testrail-api
node-testrail-api copied to clipboard
Pagination
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?
@rundef @dreef3 can anyone please look into this? as we can not fetch all the testcases from the testrail.