{"uuid": "21f40463-64fd-43bc-b5d2-2f315955b74c", "children": ["0385d6c1-70f5-4f74-b780-fcb094ac203f"], "befores": [{"name": "get_fmcg_invoice", "status": "failed", "statusDetails": {"message": "AssertionError: Handler: POST https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/create; \n Expected status code: 200; \n Actual status code: 400; \n Response body: {\"message\":\"Prices and cart items are different\",\"localizedMessage\":\"Цены и айтемы в корзине не совпадают\"}; \n X-Aer-Trace-Id: \n", "trace": "  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 38, in run_old_style_hookwrapper\n    res = yield\n          ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 139, in _multicall\n    teardown.throw(exception)\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 53, in run_old_style_hookwrapper\n    return result.get_result()\n           ^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_result.py\", line 103, in get_result\n    raise exc.with_traceback(tb)\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 38, in run_old_style_hookwrapper\n    res = yield\n          ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 139, in _multicall\n    teardown.throw(exception)\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/setuponly.py\", line 36, in pytest_fixture_setup\n    return (yield)\n            ^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/pluggy/_callers.py\", line 121, in _multicall\n    res = hook_impl.function(*args)\n          ^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/fixtures.py\", line 1202, in pytest_fixture_setup\n    result = call_fixture_func(fixturefunc, request, kwargs)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/_pytest/fixtures.py\", line 915, in call_fixture_func\n    fixture_result = fixturefunc(**kwargs)\n                     ^^^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/fmcg/fixtures/lk.py\", line 46, in get_fmcg_invoice\n    new_invoice = FMCGInvoiceBuilder(headers=get_fmcg_auth_header).create_invoice()\n                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/app/src/framework/fmcg/builders/lk/invoice.py\", line 44, in create_invoice\n    invoice = InvoiceApi(headers=self.headers).api_v1_invoice_create_post(body=request_body)\n              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api/invoice_api.py\", line 545, in api_v1_invoice_create_post\n    return self.api_v1_invoice_create_post_with_http_info(**kwargs)  # noqa: E501\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api/invoice_api.py\", line 612, in api_v1_invoice_create_post_with_http_info\n    return self.api_client.call_api(\n           ^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api_client.py\", line 339, in call_api\n    return self.__call_api(resource_path, method,\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/usr/local/lib/python3.11/site-packages/qacl_dm_fmcg_be_service_lk/api_client.py\", line 172, in __call_api\n    assert response_data.status == expected_status_code, \\\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n"}, "steps": [{"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/categories", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "e5efa084-3014-42cc-87ec-c5c132fae4c7-attachment.json", "type": "application/json"}], "start": 1775605159068, "stop": 1775605159068}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "7be99c10-2ea3-4111-bc2c-c285b353209c-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "3437e207-37d0-42dd-be05-16937a74b102-attachment.json", "type": "application/json"}], "start": 1775605159068, "stop": 1775605159069}], "attachments": [{"name": "cURL", "source": "d9a30816-31ba-4381-8cdd-3bea210f5a7b-attachment.txt", "type": "text/plain"}], "start": 1775605159068, "stop": 1775605159069}, {"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/unit", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "d01b5c52-a8c8-4986-b040-3cadaad7426d-attachment.json", "type": "application/json"}], "start": 1775605159097, "stop": 1775605159097}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "01244d9d-8c2f-4609-b40b-11e2864b2876-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "894fcc95-122e-4980-b6c3-4b2acbd599f0-attachment.json", "type": "application/json"}], "start": 1775605159097, "stop": 1775605159097}], "attachments": [{"name": "cURL", "source": "6777b59d-f736-4c16-9501-2e2db53a831f-attachment.txt", "type": "text/plain"}], "start": 1775605159097, "stop": 1775605159097}, {"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/packingtype", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "8502363f-a703-4271-bc91-37e0d66ec94f-attachment.json", "type": "application/json"}], "start": 1775605159177, "stop": 1775605159177}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "60d70c43-1aed-424c-ae6c-9edda9ceec90-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "8183c5e7-06dc-4b85-a6cb-8dbf99345e6e-attachment.json", "type": "application/json"}], "start": 1775605159177, "stop": 1775605159178}], "attachments": [{"name": "cURL", "source": "8c464255-6ec8-4a66-92b9-4e09dec68526-attachment.txt", "type": "text/plain"}], "start": 1775605159177, "stop": 1775605159178}, {"name": "POST → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/sku", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "34fb2556-a08a-4b6f-8cac-03e59acfc6e1-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "32643777-14e1-4427-a8c0-f9de529f8085-attachment.json", "type": "application/json"}], "start": 1775605159287, "stop": 1775605159287}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "b0c8e076-d8e7-4afb-9182-f9e68dcf7cde-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "75c10411-163c-41a3-9719-d304c5d72dec-attachment.json", "type": "application/json"}], "start": 1775605159287, "stop": 1775605159287}], "attachments": [{"name": "cURL", "source": "49f2aabf-f832-4cbc-ac0e-63b32e259f1d-attachment.txt", "type": "text/plain"}], "start": 1775605159287, "stop": 1775605159287}, {"name": "PUT → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/cart/add-item", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "251d7843-29fb-4ddc-8b53-738e3270c3b7-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "842932af-4194-43f3-8da8-6d7effae21fd-attachment.json", "type": "application/json"}], "start": 1775605159575, "stop": 1775605159576}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "158be673-3813-49a9-b645-78f28365f367-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "f77a51c3-813f-49ba-93f9-108b4229a3ff-attachment.json", "type": "application/json"}], "start": 1775605159576, "stop": 1775605159576}], "attachments": [{"name": "cURL", "source": "5a36a813-0354-4765-9f30-ee58df89e13d-attachment.txt", "type": "text/plain"}], "start": 1775605159575, "stop": 1775605159576}, {"name": "POST → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/create", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "3d2c5de2-4e85-4882-b5d8-d4ef98ea6fee-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "68567ae4-c2cb-4417-bed9-30732e195649-attachment.json", "type": "application/json"}], "start": 1775605159682, "stop": 1775605159682}, {"name": "Response → 400, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "99901831-f6b7-46b8-95cc-bdde20496110-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "c0902198-f1c4-4dd9-a96f-52c1107b1694-attachment.json", "type": "application/json"}], "start": 1775605159682, "stop": 1775605159682}], "attachments": [{"name": "cURL", "source": "5535fbae-1203-46f5-8519-8d3f88981b42-attachment.txt", "type": "text/plain"}], "start": 1775605159682, "stop": 1775605159682}], "start": 1775605158755, "stop": 1775605159683}], "start": 1775605158755, "stop": 1775605159888}