Skip to content

Commit

Permalink
fix: helm release bdd step
Browse files Browse the repository at this point in the history
  • Loading branch information
metacoma committed Sep 18, 2024
1 parent aa46433 commit 4d00b1e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions tests/mindwm_bdd/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def mindwm_context(ctx, kube, context_name):
with allure.step(f"Create context '{context_name}'"):
pass


@then("the context should be ready and operable")
def minwdm_context_validate(ctx, kube):
try:
Expand Down Expand Up @@ -100,10 +101,13 @@ def mindwm_user_validate(ctx, kube):
else:
raise


@when("God creates a MindWM host resource with the name \"{host_name}\" and connects it to the user \"{user_name}\"")
def mindwm_host_create(ctx, kube, host_name, user_name):
ctx['host_name'] = host_name
mindwm_crd.host_create(kube, host_name, user_name)
with allure.step(f"Host '{ctx['host_name']}' has created"):
pass

@then("the host resource should be ready and operable")
def mindwm_host_validate(ctx, kube):
Expand Down
2 changes: 1 addition & 1 deletion tests/mindwm_bdd/features/0_minwdm_lifecycle.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Feature: Mindwm Lifecycle Management
Then all nodes in Kubernetes are ready

When God executes "make argocd"
Then helm release argocd is deployed in argocd namespace
Then helm release "argocd" is deployed in "argocd" namespace

When God executes "make argocd_app"
Then the argocd "mindwm-gitops" application appears in "argocd" namespace
Expand Down

0 comments on commit 4d00b1e

Please sign in to comment.