diff --git a/.github/workflows/behave.api.test.yml b/.github/workflows/behave.api.test.yml index febc424..d5d78e1 100644 --- a/.github/workflows/behave.api.test.yml +++ b/.github/workflows/behave.api.test.yml @@ -4,8 +4,8 @@ on: push: branches: [develop] pull_request: - branches: [develop] types: [closed] + branches: [develop, staging, main] workflow_dispatch: jobs: diff --git a/test/features/steps/shared_test_steps.py b/test/features/steps/shared_test_steps.py index d9a4ea6..32baca1 100644 --- a/test/features/steps/shared_test_steps.py +++ b/test/features/steps/shared_test_steps.py @@ -1,5 +1,6 @@ from behave import given, when, then +# Shared test steps for various APIs @then("the response status should be 200") def step_then_status_200(context): assert context.response.status_code == 200, f"Expected 200 but got {context.response.status_code}"