{"uuid": "28995077-6c8c-4556-9a99-185c47842ad4", "children": ["e5829cea-9ab7-45e9-b242-721392f6f071"], "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": "b07f67ab-6353-4beb-ae9a-8632d52dc23b-attachment.json", "type": "application/json"}], "start": 1775605159068, "stop": 1775605159068}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "d1bd8a60-ff40-4f73-9fda-0de6671e2e6b-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "def24796-0527-46eb-957e-154294116db1-attachment.json", "type": "application/json"}], "start": 1775605159068, "stop": 1775605159068}], "attachments": [{"name": "cURL", "source": "51324d6b-6ff2-4304-b2b7-574533d03a8c-attachment.txt", "type": "text/plain"}], "start": 1775605159068, "stop": 1775605159068}, {"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": "07ad6db9-c954-42cd-8901-a01d3fd4254e-attachment.json", "type": "application/json"}], "start": 1775605159096, "stop": 1775605159096}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "c0ec68d0-f994-47fe-8298-3636358d3524-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "299675b7-dfd9-4693-83b7-d5ded8f9a094-attachment.json", "type": "application/json"}], "start": 1775605159096, "stop": 1775605159096}], "attachments": [{"name": "cURL", "source": "195ce813-9cd1-4bdf-8e3b-48cfca7fe578-attachment.txt", "type": "text/plain"}], "start": 1775605159096, "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": "e7b858ce-33d9-4b87-908b-9a606a633da9-attachment.json", "type": "application/json"}], "start": 1775605159184, "stop": 1775605159184}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "fea96c24-ce4f-4ddd-b95a-3162ea552f33-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "a0b52547-3812-492a-976b-8bf4a5fca9cf-attachment.json", "type": "application/json"}], "start": 1775605159184, "stop": 1775605159184}], "attachments": [{"name": "cURL", "source": "fcb2b0e4-d98a-4e82-872a-c2212a42639c-attachment.txt", "type": "text/plain"}], "start": 1775605159184, "stop": 1775605159184}, {"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": "e0db3579-9b3a-4c97-987e-6e07eb09b7d7-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "103f302a-0d05-4a33-a1d4-fb682f2d3b77-attachment.json", "type": "application/json"}], "start": 1775605159287, "stop": 1775605159287}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "96251ef9-a3ea-481e-a955-60b1318e05f7-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "5e6053b2-daa6-47c7-858e-ff7e8214f3b0-attachment.json", "type": "application/json"}], "start": 1775605159287, "stop": 1775605159287}], "attachments": [{"name": "cURL", "source": "6e6837ec-fc7a-4232-a585-fd3f270660ca-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": "aa5fd186-d587-43f4-bbaf-bb01168b131f-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "72d0c43a-18ad-486b-b047-5dfba62aba1f-attachment.json", "type": "application/json"}], "start": 1775605159575, "stop": 1775605159575}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "aa87b727-57bc-4315-9f22-a401ff0ede40-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "e8d767c5-1c52-47d3-8040-a4be9ef384a0-attachment.json", "type": "application/json"}], "start": 1775605159575, "stop": 1775605159575}], "attachments": [{"name": "cURL", "source": "22d91d38-fd5d-46de-972a-583a6cb8e6b9-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": "1e8d4c7f-78d8-47a9-8a61-f08734994585-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "0242dbfb-f748-4f18-bb7b-b7ff399c49ea-attachment.json", "type": "application/json"}], "start": 1775605159686, "stop": 1775605159686}, {"name": "Response → 400, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "73265c1c-5b95-4e99-8216-511f7b90a90f-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "12614357-14dc-4e60-b321-d4a0bac55300-attachment.json", "type": "application/json"}], "start": 1775605159686, "stop": 1775605159686}], "attachments": [{"name": "cURL", "source": "9bec3d8a-bb3e-4737-9fdb-f418cdb690a1-attachment.txt", "type": "text/plain"}], "start": 1775605159686, "stop": 1775605159686}], "start": 1775605158756, "stop": 1775605159687}], "start": 1775605158756, "stop": 1775605159898}