OBJECT

getBDDStepLibrary

link GraphQL Schema definition

1Query getBDDStepLibrary {
2
3# Get BDD Step Library steps with optional text search.
4# Either projectId or testIssueId must be provided.
5#
6# Arguments
7# projectId: The project id. Either this or testIssueId must be provided.
8# search: Search text to match against step definition.
9# testIssueId: Filter steps linked to a specific test issue. Either this or projectId must be provided.
10# limit: The maximum amount of steps to be returned. The maximum is 100.
11# start: The index of the first item to return in the page of results (page offset).
12getBDDStepLibrary(projectId: String, search: String, testIssueId: String, limit: Int!, start: Int): BDDStepLibraryResults
13
14}

link Example

{
    getBDDStepLibrary(projectId: "10000", search: "login", limit: 10) {
        total
        start
        limit
        results {
            id
            definition
            labels
            lastModified
            associatedTests
            library { id name isGlobal }
        }
    }
}