Skip to content

The method getTestSuitesForPlan() doest not return continuationToken when it's needed #609

Open

Description

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

  1. Try to get test suites from a test plan with more than 200 test suites inside.
  2. 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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions