Open
Description
openedon Sep 19, 2024
Environment
Node version: v21.6.1
Npm version: 10.4.0
OS and version: Windows 11
azure-devops-node-api version: 14.0.2
Issue Description
I'm trying to retrieve test suites from a test plan which have 280 test suites.
I need to use the continuationToken as described at the code, but the method getTestSuitesForPlan() always returning the propertie undefined.
I took a look at the headers from the api response and the continuation token is there,
Expected behaviour
If the response for getTestSuites have "x-ms-continuationtoken" header, the PagedList.continuationToken should be set with this value to allow continue to get the test suites.
Actual behaviour
The property continuationToken is always being received as 'undefined'.
Steps to reproduce
- Try to get test suites from a test plan with more than 200 test suites inside.
- Try to continue retrieving the test suites using the continuationToken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment