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

Get merged launch link and ID #54

Closed
owens-ben opened this issue Nov 28, 2023 · 2 comments
Closed

Get merged launch link and ID #54

owens-ben opened this issue Nov 28, 2023 · 2 comments
Assignees

Comments

@owens-ben
Copy link

owens-ben commented Nov 28, 2023

As it stands, there is no way to get the link to a merged launch. The finishLaunch hook contains some logic to handle these links. However, when merging launches these links are invalid pretty much immediately.

It would be very useful to be able to print this link or even save it to a text file for later use.

Context: I currently link test reports upon test completion via the Slack API. I would like to be able to pass along the link to the Report Portal launch with these messages.

@owens-ben
Copy link
Author

I actually realized that I could theoretically do this by using the method mentioned here.

In that case, if the update that allows adding to an existing launch id is released, I would be able to print the launch link, but I would need to implement actually saving the link or iD myself. I think many other users would be able to use this feature so it would be nice to release that to the masses.

If after reading this the devs believe this is a duplicate issue, please feel free to comment and close.

@owens-ben owens-ben closed this as not planned Won't fix, can't repro, duplicate, stale Dec 1, 2023
@AmsterGet
Copy link
Member

Hi @owens-ben !
Let me update you with some news.
We've released a logging launch link on its finish as a part of client-javascript 5.0.15. It means that this feature already populated to the all agents as they are expect matching the all patch and minor versions of the client. You just need to reinstall your dependencies.
We've received several requests from the community on this, f.e. reportportal/agent-js-playwright#125, and as it doesn't take much efforts, so it is already a part of all officially supported agents.

And about your another issue - now we have a team changes and the developer that was mostly concentrated on JS agents enhancements and support, left us.
This affected our activities and slowed down the process as it's not the top priority right now. Anyway, I'm working on it and plan to provide this agent with existing launch ID support next week. I'll let you know here, but feel free to ping me/ask any questions.

I hope you understand.

@AmsterGet AmsterGet self-assigned this Dec 3, 2023
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

No branches or pull requests

2 participants