From 82a66c25ac3b294ed4a58a0d02426ce875c300f7 Mon Sep 17 00:00:00 2001 From: ahiuchingau <20424172+ahiuchingau@users.noreply.github.com> Date: Mon, 25 Sep 2023 13:53:17 -0400 Subject: [PATCH] fix tavern tests --- .../runs/test_json_v6_run_failure.tavern.yaml | 21 ++++++++++++------- .../runs/test_papi_v2_run_failure.tavern.yaml | 7 ++++--- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/robot-server/tests/integration/http_api/runs/test_json_v6_run_failure.tavern.yaml b/robot-server/tests/integration/http_api/runs/test_json_v6_run_failure.tavern.yaml index dd73ae706bf..29377c8b9fe 100644 --- a/robot-server/tests/integration/http_api/runs/test_json_v6_run_failure.tavern.yaml +++ b/robot-server/tests/integration/http_api/runs/test_json_v6_run_failure.tavern.yaml @@ -56,9 +56,14 @@ stages: status: failed errors: - id: !anystr - errorType: PythonException createdAt: !anystr - detail: 'opentrons.hardware_control.errors.NoTipAttachedError: Cannot perform DROPTIP without a tip attached' + errorType: 'UnexpectedTipRemovalError' + detail: 'Cannot perform DROPTIP without a tip attached.' + errorInfo: + mount: 'LEFT' + pipette_name: 'p10_single' + errorCode: '3005' + wrappedErrors: [] - name: Verify commands contain the expected results request: url: '{ot2_server_base_url}/runs/{run_id}/commands' @@ -116,12 +121,14 @@ stages: status: failed error: id: !anystr - errorType: PythonException createdAt: !anystr - detail: 'opentrons.hardware_control.errors.NoTipAttachedError: Cannot perform DROPTIP without a tip attached' - errorCode: '4000' - errorInfo: !anydict - wrappedErrors: !anylist + errorType: 'UnexpectedTipRemovalError' + detail: 'Cannot perform DROPTIP without a tip attached.' + errorInfo: + mount: 'LEFT' + pipette_name: 'p10_single' + errorCode: '3005' + wrappedErrors: [] params: pipetteId: pipetteId labwareId: tipRackId diff --git a/robot-server/tests/integration/http_api/runs/test_papi_v2_run_failure.tavern.yaml b/robot-server/tests/integration/http_api/runs/test_papi_v2_run_failure.tavern.yaml index 10d71ae5121..273274b1a54 100644 --- a/robot-server/tests/integration/http_api/runs/test_papi_v2_run_failure.tavern.yaml +++ b/robot-server/tests/integration/http_api/runs/test_papi_v2_run_failure.tavern.yaml @@ -58,8 +58,9 @@ stages: - id: !anystr errorType: ExceptionInProtocolError createdAt: !anystr - detail: 'NoTipAttachedError [line 9]: Cannot perform DROPTIP without a tip attached' + detail: 'UnexpectedTipRemovalError [line 9]: Error 3005 UNEXPECTED_TIP_REMOVAL (UnexpectedTipRemovalError): Cannot perform DROPTIP without a tip attached.' errorCode: '4000' + wrappedErrors: !anylist - name: Verify commands contain the expected results request: @@ -116,8 +117,8 @@ stages: id: !anystr errorType: LegacyContextCommandError createdAt: !anystr - detail: 'Cannot perform DROPTIP without a tip attached' - errorCode: '4000' + detail: 'Cannot perform DROPTIP without a tip attached.' + errorCode: '3005' errorInfo: !anydict wrappedErrors: !anylist params: