Skip to content

Commit

Permalink
Fix test_papi_v2_run_failure.tavern.yaml.
Browse files Browse the repository at this point in the history
  • Loading branch information
SyntaxColoring committed Oct 9, 2023
1 parent 1ef0616 commit 28b6699
Showing 1 changed file with 19 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ stages:
strict:
- json:off

- name: Wait for the protocol to complete
- name: Wait for the run to fail
max_retries: 10
delay_after: 0.1
request:
Expand All @@ -54,12 +54,24 @@ stages:
json:
data:
status: failed

- name: Verify the run contains the expected error
request:
url: '{ot2_server_base_url}/runs/{run_id}'
method: GET
response:
status_code: 200
strict:
- json:off
json:
data:
errors:
- id: !anystr
errorType: ExceptionInProtocolError
createdAt: !anystr
detail: 'NoTipAttachedError [line 9]: Cannot perform PREPARE_ASPIRATE without a tip attached'
detail: 'UnexpectedTipRemovalError [line 9]: Error 3005 UNEXPECTED_TIP_REMOVAL (UnexpectedTipRemovalError): Cannot perform PREPARE_ASPIRATE without a tip attached.'
errorCode: '4000'
errorInfo: !anydict
wrappedErrors: !anylist

- name: Verify commands contain the expected results
Expand All @@ -82,7 +94,7 @@ stages:
startedAt: !anystr
completedAt: !anystr
status: succeeded
params: { }
params: {}
- id: !anystr
key: !anystr
commandType: loadLabware
Expand All @@ -108,7 +120,7 @@ stages:
mount: right
- id: !anystr
key: !anystr
commandType: aspirate
commandType: aspirate
createdAt: !anystr
startedAt: !anystr
completedAt: !anystr
Expand All @@ -117,16 +129,16 @@ stages:
id: !anystr
errorType: LegacyContextCommandError
createdAt: !anystr
detail: 'Cannot perform PREPARE_ASPIRATE without a tip attached'
errorCode: '4000'
detail: 'Cannot perform PREPARE_ASPIRATE without a tip attached.'
errorCode: '3005'
errorInfo: !anydict
wrappedErrors: !anylist
params:
pipetteId: !anystr
labwareId: !anystr
wellName: A1
wellLocation:
origin: top
origin: top
offset:
x: 0
y: 0
Expand Down

0 comments on commit 28b6699

Please sign in to comment.