Closed GlenDC closed 1 year ago
cc @achingbrain if you want to take a look
@laurentsenta this one is ready for a re-review! All checks pass now and comments have been applied.
Added functionality to be able to move args from host Env to Browser Env, without having to expose the required keys explicitly: https://github.com/testground/sdk-js/pull/26/commits/06df3ce6c9c904d52fa6d081aa1ffd204b5de69a
(required for: https://github.com/testground/testground/pull/1502#discussion_r1010661571)
You can see this version of @testground/sdk
active and working in an actual node-browser cross/dual testground test plan: https://github.com/testground/testground/pull/1502
Thanks for recreating the PR, it looks great now, two last questions before we can merge:
- [ ] Could we keep the TODO comments if they were not introduced in this PR? I don't have context on these.
- [ ] Could we go back to the initial logging approach? I'd rather keep it simple & use the code before implementing optimizations, json outputs, etc. That might be related to testground/testground#1355 (comment)
'log'
as you get no info at all, due to how testground-sdk is using the logger...(updated description and title and merging, thanks for the PR!)
Congratulations @GlenDC and @laurentsenta for this milestone!
Agreed - way to go!
browser
field to supportregisterTestcaseResult
to communicate end of test with a node runner when running in-browsergetEnvParameters
to let a client gather and move testground variables (used for browser support).Supersede https://github.com/testground/sdk-js/pull/25, having applies all the previous feedback.