-
Notifications
You must be signed in to change notification settings - Fork 3
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
Regression testing for keyword replacement #695
base: main
Are you sure you want to change the base?
Conversation
test/k6/src/config.js
Outdated
} | ||
|
||
const subscriptionKey = __ENV.subscriptionKey || null; | ||
if (!subscriptionKey) { |
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.
This if assumes that subscription key is provided in all cases. This isn't true. We can keep the if, but would need to update all workflow files as well. Subscription key is currently added only when running the orders_email.js
file.
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.
This conditional statement is removed.
Quality Gate failedFailed conditions |
-e env=*** ` | ||
-e orgNoRecipient=*** ` | ||
-e resourceId=*** ` | ||
podman compose run k6 run /src/tests/orders_org_no.js \ |
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.
When it comes to ` vs \ . It depends on what type of console you use. If you use command prompt, powershell or bash. I don't remember which is which. Now that you have changed it maybe write down as a comment which shell the command is made for?
Description
Implement regression testing to ensure that keywords in notifications are correctly replaced with the appropriate values.
Related Issue(s)
Verification
Documentation