Skip to content

Commit

Permalink
Merge pull request #680 from catenax-ng/chore/#503-final-ess-tavern-f…
Browse files Browse the repository at this point in the history
…ixes

Chore/#503 final ess tavern fixes
  • Loading branch information
ds-jhartmann authored May 28, 2024
2 parents f85db68 + bb6c6e0 commit 1ada347
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions local/testing/api-tests/irs-api-tests.tavern.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ stages:

- &verify_ESS_job_response_with_desired_test_steps_and_wait_up_to_15_minutes_for_COMPLETED
name: verify job response with desired test steps and wait for desired job status
max_retries: 30
max_retries: 180
request:
url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations/{job_id}"
params:
Expand All @@ -82,7 +82,7 @@ stages:
json:
job:
state: COMPLETED
delay_after: 30
delay_after: 5

- name: get response for created investigation
request:
Expand Down Expand Up @@ -448,9 +448,12 @@ stages:
- function: local.testing.api-tests.tavern_helpers:supplyChainImpacted_is_as_expected
extra_kwargs:
expectedSupplyChainImpacted: "Unknown"
- function: local.testing.api-tests.tavern_helpers:tombstone_for_EssValidation_are_correct
- function: local.testing.api-tests.tavern_helpers:tombstones_have_size
extra_kwargs:
number_of_tombstones: 1
- function: local.testing.api-tests.tavern_helpers:tombstone_for_ess_validation_is_correct
extra_kwargs:
expectedTombstone: "AspectType 'PartSiteInformationAsPlanned' not found in Job."
expected_error_detail: "AspectType 'PartSiteInformationAsPlanned' not found in Job."
headers:
content-type: application/json

Expand Down Expand Up @@ -512,7 +515,7 @@ stages:
number_of_tombstones: 2
- function: local.testing.api-tests.tavern_helpers:tombstone_for_submodel_validation_is_correct
extra_kwargs:
expected_error_detail: "Submodel payload validation failed. $.sites[0]: required property 'catenaXsiteId' not found."
expected_error_detail: "Submodel payload validation failed. $.sites[0]: required property 'catenaXsiteId' not found"
- function: local.testing.api-tests.tavern_helpers:tombstone_for_ess_validation_is_correct
extra_kwargs:
expected_error_detail: "AspectType 'PartSiteInformationAsPlanned' not found in Job."
Expand Down Expand Up @@ -1137,7 +1140,7 @@ stages:

- &verify_job_is_running_and_wait_up_to_15_minutes_for_COMPLETED
name: verify job is running and wait for desired job status
max_retries: 30
max_retries: 180
request:
url: "{tavern.env_vars.IRS_HOST}/irs/jobs/{job_id}"
params:
Expand All @@ -1152,7 +1155,7 @@ stages:
json:
job:
state: COMPLETED
delay_after: 30
delay_after: 5

- name: verify job response with desired test steps
request:
Expand Down

0 comments on commit 1ada347

Please sign in to comment.