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
feat(cts): generate tests for helpers #2798
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for api-clients-automation ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
🔨 The codegen job will run at the end of the CI.Make sure your last commit does not contain generated code, it will be automatically pushed by our CI. |
8a51cc3
to
04b4cd7
Compare
tests/CTS/client/search/helpers.json
Outdated
"object": "$client", | ||
"path": "generateSecuredApiKey", | ||
"parameters": { | ||
"parentAPIKey": "2640659426d5107b6e47d75db9cbaef8", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no worries this is our search api key, this means the generated key is usable for e2e
I was about to start adding those tests for PHP by hand, is it still useful or should I wait for this PR to be merged ? |
4ce6e93
to
59e4763
Compare
0ed2041
to
6f93939
Compare
🧭 What and Why
Use the helper spec to generate tests, starting with the simplest: generateSecuredApiKey