Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Result URL" to the CLI #7

Merged
merged 8 commits into from
Feb 24, 2023
Merged

Add "Result URL" to the CLI #7

merged 8 commits into from
Feb 24, 2023

Conversation

Luc45
Copy link
Member

@Luc45 Luc45 commented Feb 21, 2023

This PR adds support for showing the "Result URL" on the CLI.

Shows the Result URL when using the get command, example:

image

Add a new command ./qit open 123 where it will open the result of test 123 in the browser.

I've squeezed into this PR a new option, --json, that will return the TestRun in JSON format, for any programmatic integration a user might want.

To test this PR, you need to be connected to a Manager with the branch 23-01/results-iframe.

@Luc45 Luc45 self-assigned this Feb 21, 2023
Copy link
Contributor

@zhongruige zhongruige left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! This is a great quality of life improvement to get in here, I love being able to get the link for the results right from the CLI to view it easier.

Base automatically changed from 23-01/additional-extensions-by-slug to trunk February 24, 2023 18:57
@Luc45 Luc45 merged commit b80576d into trunk Feb 24, 2023
@Luc45 Luc45 deleted the 23-01/results-url branch February 24, 2023 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants