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

Pass setup data object into handleSummary callback #2088

Closed
mschmidt-onecause opened this issue Jul 12, 2021 · 4 comments
Closed

Pass setup data object into handleSummary callback #2088

mschmidt-onecause opened this issue Jul 12, 2021 · 4 comments

Comments

@mschmidt-onecause
Copy link

Feature Description

The setup data object that is returned by the setup callback is made available for use in VU functions and the teardown callback, but is not available in handleSummary. In our case, the use case is to be able to call an API during setup that returns an ID, and then use that ID to call another API with the test summary results.

@na--
Copy link
Member

na-- commented Jul 13, 2021

Thanks for opening this issue! This makes perfect sense and should be something relatively easy to add, I should have probably added it from the start... 😅 Would you like to try submitting a PR for it?

@sammieboy97
Copy link
Contributor

Hi. If this issue is not taken up yet, I’d like to take it up and try submitting a PR..

@na--
Copy link
Member

na-- commented Jul 26, 2021

@SamuelJohnson01997, go for it! 👍

@na--
Copy link
Member

na-- commented Aug 27, 2021

Closed by #2103

@na-- na-- closed this as completed Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants