aws-actions / aws-devicefarm-mobile-device-testing

Run automated Mobile Device Testing on AWS Device Farm
https://docs.aws.amazon.com/devicefarm/latest/developerguide/welcome.html#automated-test-intro
MIT No Attribution
5 stars 1 forks source link

Run url as output #2

Closed mina-kleid closed 1 year ago

mina-kleid commented 1 year ago

Description

I can see that you generate the run url and add it as a notice. Would be very useful if it can be added to the outputs instead of a notice

Use case

As part of our CI/CD we want to run UI Tests on device farm and notify our engineers in case of failure with the run url so our engineers can go to the run on AWS Console and find the failing tests

Expected

Have the run url as an output from the action

Actual

I need to compute it in my job through extracting the run_id & project_id from the arn output and generating the url

Suggested solution

Add the run_url as an output instead of a notice

danjhd commented 1 year ago

Yep, that makes sense.

danjhd commented 1 year ago

@mina-kleid Thank you for your feedback. We have incorporated this request into the v2-beta pre-release, please review and feedback as required:

https://github.com/aws-actions/aws-devicefarm-mobile-device-testing/releases/tag/v2-beta

mina-kleid commented 1 year ago

@danjhd Thanks for your fast response & changes. Looks good to me 🚀

danjhd commented 1 year ago

Closing this with release of v2.0