Skip to content

forge tr abort: Command prints JSON in default formatting #259

@zeisss

Description

@zeisss

zeisss@Stephan ~ % forge tr abort Rclyth52
{"data":{"id":"Rclyth52","type":"test_runs","attributes":{"scope":"zeisss-pinky/helloworld/3","scoped_id":3,"state":"aborting","title":"","notes":"","started_by":"zeisss-pinky","started_via":"api","started_at":"2021-07-27T11:51:36Z","ended_at":"2021-07-27T11:52:00Z","archived_at":null,"aborted_at":"2021-07-27T11:52:00Z"},"relationships":{"test_case":{"data":{"id":"JGhZSkn5","type":"test_cases"}},"test_configuration":{"data":{"id":"config:Rclyth52","type":"test_configurations"}}},"links":{"self":"https://api.stormforger.com/test_runs/Rclyth52","self_web":"https://app.stormforger.com/tr/Rclyth52","test_runs":"https://api.stormforger.com/test_cases/JGhZSkn5/test_runs","test_case":"https://api.stormforger.com/test_cases/JGhZSkn5"}}}

I would have expected for the command to print a success message, no JSON.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions