{"name": "test_status_ready", "status": "failed", "statusDetails": {"message": "AssertionError: 500 GET https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/in-progress/sse?searchString=410002113: <!doctype html><html lang=\"en\"><head><title>HTTP Status 500 – Internal Server Error</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>, x-aer-trace-id: None", "trace": "self = <tests.fmcg.test_lk.test_invoice.TestFulfillmentSupplyStatuses object at 0x7679a19cae90>\nget_fmcg_invoice = LKInvoiceDTO(invoice=<src.framework.fmcg.builders.lk.invoice.FMCGInvoiceBuilder object at 0x7679a095ded0>)\n\n    def test_status_ready(self, get_fmcg_invoice):\n        \"\"\"\n        Создание инвойса в статусе 'ГОТОВО К ОТПРАВКЕ'\n        Ожидаемый результат: инвойс в указанном статусе\n        \"\"\"\n        headers = get_fmcg_invoice.invoice.headers\n        invoice_number = get_fmcg_invoice.invoice.invoice_number\n        updated_invoice = FMCGInvoiceBuilder(headers=headers).update_invoice(invoice_number=invoice_number)\n        assert updated_invoice.current_status == FMCGLkInvoiceStatuses.READY, \"Invoice is not in the 'Ready' status\"\n        invoice_in_sse = (\n            FMCGInvoiceBuilder(headers=headers)\n>           .get_sse_in_progress(search_string=invoice_number)\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n            .sse_in_progress.get(\"ready\")\n        )\n\ntests/fmcg/test_lk/test_invoice.py:43: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \nsrc/framework/fmcg/builders/lk/invoice.py:103: in get_sse_in_progress\n    response = ApiRequests.request(\nsrc/framework/common/api.py:288: in request\n    cls._validator.validate_status_code(response, allowed_status_codes, method=method)\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nresponse = <Response [500]>\nallowed_status_codes = (<HTTPStatus.OK: 200>, <HTTPStatus.NO_CONTENT: 204>, <HTTPStatus.CREATED: 201>, <HTTPStatus.ACCEPTED: 202>)\nmethod = 'GET'\n\n    @staticmethod\n    def validate_status_code(response: requests.Response, allowed_status_codes: tuple, method: str = None) -> None:\n        \"\"\"Валидирует статус код ответа\"\"\"\n        if response.status_code not in allowed_status_codes:\n            trace_id = get_clear_trace_id(headers=response.headers)\n            response_content = (\n                response.content[:STEP_CONTENT_MAX_LENGTH]\n                if len(response.content) > STEP_CONTENT_MAX_LENGTH\n                else response.content\n            )\n>           raise AssertionError(\n                f\"{response.status_code} {method} {response.url}: {response_content.decode()}, \"\n                f\"x-aer-trace-id: {trace_id}\"\n            )\nE           AssertionError: 500 GET https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/in-progress/sse?searchString=410002113: <!doctype html><html lang=\"en\"><head><title>HTTP Status 500 – Internal Server Error</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>, x-aer-trace-id: None\n\nsrc/framework/common/api.py:138: AssertionError"}, "description": "\n        Создание инвойса в статусе 'ГОТОВО К ОТПРАВКЕ'\n        Ожидаемый результат: инвойс в указанном статусе\n        ", "steps": [{"name": "PUT → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice?invoiceNumber=410002113", "status": "passed", "steps": [{"name": "Request", "status": "passed", "attachments": [{"name": "request.headers", "source": "24b9b781-bc0d-4104-a8a8-20303bfbf1e7-attachment.json", "type": "application/json"}, {"name": "request.body", "source": "c1017d56-0199-43d9-b7cc-458d796875c8-attachment.json", "type": "application/json"}, {"name": "request.params", "source": "324835cf-96c0-49b1-a16a-3eeb7fc44a72-attachment.json", "type": "application/json"}], "start": 1775636234239, "stop": 1775636234239}, {"name": "Response → 200, trace_id: None", "status": "passed", "attachments": [{"name": "response.headers", "source": "16e95a86-a2a5-4066-a75e-f1c44d6f3426-attachment.json", "type": "application/json"}, {"name": "response.body", "source": "a40651f5-ef3a-4412-af94-9e597629af61-attachment.json", "type": "application/json"}], "start": 1775636234239, "stop": 1775636234239}], "attachments": [{"name": "cURL", "source": "1426668d-33ca-403d-af1e-38854b5d4653-attachment.txt", "type": "text/plain"}], "start": 1775636234239, "stop": 1775636234239}, {"name": "GET → https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/in-progress/sse", "status": "failed", "statusDetails": {"message": "AssertionError: 500 GET https://dm-fmcg-be-service-lk.k8s-review.dailymail-tech.uz/api/v1/invoice/in-progress/sse?searchString=410002113: <!doctype html><html lang=\"en\"><head><title>HTTP Status 500 – Internal Server Error</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1></body></html>, x-aer-trace-id: None\n", "trace": "  File \"/app/src/framework/common/api.py\", line 288, in request\n    cls._validator.validate_status_code(response, allowed_status_codes, method=method)\n  File \"/app/src/framework/common/api.py\", line 138, in validate_status_code\n    raise AssertionError(\n"}, "attachments": [{"name": "Request", "source": "4d8dc60a-b78f-493e-8688-faedde39ada3-attachment.json", "type": "application/json"}], "start": 1775636234253, "stop": 1775636234278}], "attachments": [{"name": "log", "source": "caf67482-f4fc-4000-bbdc-4b648330d952-attachment.txt", "type": "text/plain"}], "start": 1775636233899, "stop": 1775636234279, "uuid": "6b3fd8ab-4f24-4fb5-a227-27882efadd34", "historyId": "c9c5fd4e7fc1ae834c45ae2b3154c43a", "testCaseId": "c9c5fd4e7fc1ae834c45ae2b3154c43a", "fullName": "tests.fmcg.test_lk.test_invoice.TestFulfillmentSupplyStatuses#test_status_ready", "labels": [{"name": "tag", "value": "dm-fmcg-be-service-lk"}, {"name": "parentSuite", "value": "tests.fmcg.test_lk"}, {"name": "suite", "value": "test_invoice"}, {"name": "subSuite", "value": "TestFulfillmentSupplyStatuses"}, {"name": "host", "value": "runner-1rdl4o-mi-project-9-concurrent-0-x106l0j2"}, {"name": "thread", "value": "39-MainThread"}, {"name": "framework", "value": "pytest"}, {"name": "language", "value": "cpython3"}, {"name": "package", "value": "tests.fmcg.test_lk.test_invoice"}], "titlePath": ["tests", "fmcg", "test_lk", "test_invoice.py", "TestFulfillmentSupplyStatuses"]}