Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Add some asserts
Fang-Pen Lin1b827439b342
diff --git a/backend/bdd/features/pki/acme/new-order.feature b/backend/bdd/features/pki/acme/new-order.featureindex 215933bf02..a80c3ed58f 100644--- a/backend/bdd/features/pki/acme/new-order.feature+++ b/backend/bdd/features/pki/acme/new-order.feature@@ -16,4 +16,4 @@ Feature: New OrderThen I create a RSA private key pair as cert_keyThen I sign the certificate signing request csr with private key cert_key and output it as csr_pem in PEM formatThen I submit the certificate signing request PEM csr_pem certificate order to the ACME server as order- Then the value order.uri should be true for startswith("foo")+ Then the value order.uri should be true for startswith("{BASE_URL}/api/v1/pki/acme/profiles/{acme_profile.id}/orders/")diff --git a/backend/bdd/features/steps/pki_acme.py b/backend/bdd/features/steps/pki_acme.pyindex 2a845d95ba..b06a36f9cc 100644--- a/backend/bdd/features/steps/pki_acme.py+++ b/backend/bdd/features/steps/pki_acme.py@@ -163,5 +163,5 @@ def step_impl(context: Context, var_path: str, query: str):value = context.vars[parts[0]]for part in parts[1:]:value = getattr(value, part)- result = jq.compile(query).input_value(value).first()+ result = jq.compile(replace_vars(query, context.vars)).input_value(value).first()assert result, f"{value} does not match {query}"