Skip to content

Bug in test case indexing #37

@radosz99

Description

@radosz99

When "getTestSuitesForTestPlan" method is invoked it returns something like this:
[{'name': 'Adding artificial intelligence', 'id': '33', 'parent_id': '1'}, {'name': 'Adding user points', 'id': '16', 'parent_id': '1'}, {'name': 'Evaluating move', 'id': '3', 'parent_id': '1'}, {'name': 'Visibility of letters on the board', 'id': '38', 'parent_id': '1'}]

So ID's are 33, 16, 3, 38.

But when I trying to invoke "reportTCResult" method i must use (ID+1) instead of simple ID to saved report of executing test with ID. So i need to do something like this:

tsl.reportTCResult(testcaseid=34...

Instead of:

tsl.reportTCResult(testcaseid=33...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions