{
  "stats": {
    "suites": 1,
    "tests": 7,
    "passes": 0,
    "pending": 0,
    "failures": 7,
    "start": "2025-11-08T20:16:28.358Z",
    "end": "2025-11-08T20:16:34.005Z",
    "duration": 5647,
    "testsRegistered": 7,
    "passPercent": 0,
    "pendingPercent": 0,
    "other": 0,
    "hasOther": false,
    "skipped": 0,
    "hasSkipped": false
  },
  "results": [
    {
      "uuid": "67a26392-76cf-4f9d-8ba1-0e74710e7862",
      "title": "",
      "fullFile": "cypress\\e2e\\relatorios_vendas.cy.js",
      "file": "cypress\\e2e\\relatorios_vendas.cy.js",
      "beforeHooks": [],
      "afterHooks": [],
      "tests": [],
      "suites": [
        {
          "uuid": "8764fd95-6c11-462e-a56f-60b392344f6b",
          "title": "Relatórios de Vendas - UI e Exportações",
          "fullFile": "",
          "file": "",
          "beforeHooks": [],
          "afterHooks": [],
          "tests": [
            {
              "title": "carrega a página e popula filtros",
              "fullTitle": "Relatórios de Vendas - UI e Exportações carrega a página e popula filtros",
              "timedOut": null,
              "duration": 776,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit(base + '/relatorios/vendas');\ncy.wait('@filters');\ncy.get('#vendasProduto').find('option').should('have.length.greaterThan', 1);\ncy.get('#vendasRegiao').find('option').should('have.length.greaterThan', 1);\ncy.get('#vendasVendedor').find('option').should('have.length.greaterThan', 1);",
              "err": {
                "message": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n  > Error: connect ECONNREFUSED ::1:8001\n\nCommon situations why this would fail:\n  - you don't have internet access\n  - you forgot to run / boot your web server\n  - your web server isn't accessible\n  - you have weird network configuration settings on your computer",
                "estack": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n    at <unknown> (  > Error: connect ECONNREFUSED ::1:8001)\n\nCommon situations why this would fail:\n- you don't have internet access\n- you forgot to run / boot your web server\n- your web server isn't accessible\n- you have weird network configuration settings on your computer\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131607:74)\n    at visitFailedByErr (http://localhost:8002/__cypress/runner/cypress_runner.js:131006:12)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131606:11)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8002/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8002/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8002/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8002/__cypress/runner/cypress_runner.js:1720:18)\n    at _drainQueueStep (http://localhost:8002/__cypress/runner/cypress_runner.js:2430:12)\n    at _drainQueue (http://localhost:8002/__cypress/runner/cypress_runner.js:2423:9)\n    at Async._drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2439:5)\n    at Async.drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2309:14)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/relatorios_vendas.cy.js:67:7)\n\nFrom Node.js Internals:\n    at <unknown> (      Error: connect ECONNREFUSED ::1:8001)\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)",
                "diff": null
              },
              "uuid": "2157853b-9dfa-4c89-88e0-2d60f935aac7",
              "parentUUID": "8764fd95-6c11-462e-a56f-60b392344f6b",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "padroniza tamanho dos botões (.btn)",
              "fullTitle": "Relatórios de Vendas - UI e Exportações padroniza tamanho dos botões (.btn)",
              "timedOut": null,
              "duration": 781,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit(base + '/relatorios/vendas');\ncy.get('#btnGerarVendas').should('have.class', 'btn').and('have.css', 'min-height', '40px').and('have.css', 'font-size', '14px');\ncy.get('#btnExportarPdfPagina').should('have.class', 'btn').and('have.css', 'min-height', '40px');",
              "err": {
                "message": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n  > Error: connect ECONNREFUSED ::1:8001\n\nCommon situations why this would fail:\n  - you don't have internet access\n  - you forgot to run / boot your web server\n  - your web server isn't accessible\n  - you have weird network configuration settings on your computer",
                "estack": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n    at <unknown> (  > Error: connect ECONNREFUSED ::1:8001)\n\nCommon situations why this would fail:\n- you don't have internet access\n- you forgot to run / boot your web server\n- your web server isn't accessible\n- you have weird network configuration settings on your computer\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131607:74)\n    at visitFailedByErr (http://localhost:8002/__cypress/runner/cypress_runner.js:131006:12)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131606:11)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8002/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8002/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8002/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8002/__cypress/runner/cypress_runner.js:1720:18)\n    at _drainQueueStep (http://localhost:8002/__cypress/runner/cypress_runner.js:2430:12)\n    at _drainQueue (http://localhost:8002/__cypress/runner/cypress_runner.js:2423:9)\n    at Async._drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2439:5)\n    at Async.drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2309:14)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/relatorios_vendas.cy.js:75:7)\n\nFrom Node.js Internals:\n    at <unknown> (      Error: connect ECONNREFUSED ::1:8001)\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)",
                "diff": null
              },
              "uuid": "0206521c-69c8-4eae-b978-c2895bc1fbcf",
              "parentUUID": "8764fd95-6c11-462e-a56f-60b392344f6b",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "gera relatório e renderiza tabelas e gráficos",
              "fullTitle": "Relatórios de Vendas - UI e Exportações gera relatório e renderiza tabelas e gráficos",
              "timedOut": null,
              "duration": 743,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit(base + '/relatorios/vendas');\n// Define datas explícitas para evitar valores vazios\ncy.get('#vendasDataInicio').type('2025-10-01');\ncy.get('#vendasDataFim').type('2025-10-31');\ncy.get('#btnGerarVendas').click();\ncy.wait(['@advanced', '@bySeller', '@topProducts', '@topRegions']);\ncy.get('#tbodyBySeller').find('tr').should('have.length.greaterThan', 1);\n// Top Produtos: valida colunas e percentuais\ncy.get('#tbodyTopProducts').find('tr').should('have.length', 2);\ncy.get('#tbodyTopProducts tr').first().find('td').should('have.length', 5);\ncy.get('#tbodyTopProducts tr').first().find('td').eq(0).should('have.text', '1');\ncy.get('#tbodyTopProducts tr').eq(1).find('td').eq(0).should('have.text', '2');\ncy.get('#tbodyTopProducts').closest('table').find('thead tr th').eq(4).should('contain.text', 'Percentual');\n// 560k / (560k + 320k) = 63.6%\ncy.get('#tbodyTopProducts tr').first().find('td').eq(4).should('contain.text', '63.6%');\ncy.get('#tbodyTopProducts tr').eq(1).find('td').eq(4).should('contain.text', '36.4%');\n// Top Regiões: valida colunas e percentuais\ncy.get('#tbodyTopRegions').find('tr').should('have.length', 2);\ncy.get('#tbodyTopRegions tr').first().find('td').should('have.length', 5);\ncy.get('#tbodyTopRegions tr').first().find('td').eq(0).should('have.text', '1');\ncy.get('#tbodyTopRegions tr').eq(1).find('td').eq(0).should('have.text', '2');\ncy.get('#tbodyTopRegions').closest('table').find('thead tr th').eq(4).should('contain.text', 'Percentual');\n// 400k / (400k + 380k) = 51.3%\ncy.get('#tbodyTopRegions tr').first().find('td').eq(4).should('contain.text', '51.3%');\ncy.get('#tbodyTopRegions tr').eq(1).find('td').eq(4).should('contain.text', '48.7%');\ncy.get('#chartVendasSerie').children().should('have.length.greaterThan', 0);\ncy.get('#chartTopProducts').children().should('have.length.greaterThan', 0);\ncy.get('#chartTopRegions').children().should('have.length.greaterThan', 0);\n// Gráficos devem exibir percentuais nos labels\ncy.get('#chartTopProducts').should('contain.text', '%');\ncy.get('#chartTopRegions').should('contain.text', '%');",
              "err": {
                "message": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n  > Error: connect ECONNREFUSED ::1:8001\n\nCommon situations why this would fail:\n  - you don't have internet access\n  - you forgot to run / boot your web server\n  - your web server isn't accessible\n  - you have weird network configuration settings on your computer",
                "estack": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n    at <unknown> (  > Error: connect ECONNREFUSED ::1:8001)\n\nCommon situations why this would fail:\n- you don't have internet access\n- you forgot to run / boot your web server\n- your web server isn't accessible\n- you have weird network configuration settings on your computer\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131607:74)\n    at visitFailedByErr (http://localhost:8002/__cypress/runner/cypress_runner.js:131006:12)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131606:11)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8002/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8002/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8002/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8002/__cypress/runner/cypress_runner.js:1720:18)\n    at _drainQueueStep (http://localhost:8002/__cypress/runner/cypress_runner.js:2430:12)\n    at _drainQueue (http://localhost:8002/__cypress/runner/cypress_runner.js:2423:9)\n    at Async._drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2439:5)\n    at Async.drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2309:14)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/relatorios_vendas.cy.js:86:7)\n\nFrom Node.js Internals:\n    at <unknown> (      Error: connect ECONNREFUSED ::1:8001)\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)",
                "diff": null
              },
              "uuid": "657f0046-e881-4df1-a5f8-7983a9dcb862",
              "parentUUID": "8764fd95-6c11-462e-a56f-60b392344f6b",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "exporta CSV (Vendedores, Produtos, Regiões)",
              "fullTitle": "Relatórios de Vendas - UI e Exportações exporta CSV (Vendedores, Produtos, Regiões)",
              "timedOut": null,
              "duration": 734,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit(base + '/relatorios/vendas');\ncy.get('#btnGerarVendas').click();\ncy.wait(['@bySeller', '@topProducts', '@topRegions']);\ncy.window().then(win => {\n  cy.stub(win.HTMLAnchorElement.prototype, 'click').as('aClick');\n});\ncy.get('#btnExportarVendasCsv').click();\ncy.get('#btnExportTopProductsCsv').click();\ncy.get('#btnExportTopRegionsCsv').click();\ncy.get('@aClick').should('have.been.called');",
              "err": {
                "message": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n  > Error: connect ECONNREFUSED ::1:8001\n\nCommon situations why this would fail:\n  - you don't have internet access\n  - you forgot to run / boot your web server\n  - your web server isn't accessible\n  - you have weird network configuration settings on your computer",
                "estack": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n    at <unknown> (  > Error: connect ECONNREFUSED ::1:8001)\n\nCommon situations why this would fail:\n- you don't have internet access\n- you forgot to run / boot your web server\n- your web server isn't accessible\n- you have weird network configuration settings on your computer\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131607:74)\n    at visitFailedByErr (http://localhost:8002/__cypress/runner/cypress_runner.js:131006:12)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131606:11)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8002/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8002/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8002/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8002/__cypress/runner/cypress_runner.js:1720:18)\n    at _drainQueueStep (http://localhost:8002/__cypress/runner/cypress_runner.js:2430:12)\n    at _drainQueue (http://localhost:8002/__cypress/runner/cypress_runner.js:2423:9)\n    at Async._drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2439:5)\n    at Async.drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2309:14)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/relatorios_vendas.cy.js:121:7)\n\nFrom Node.js Internals:\n    at <unknown> (      Error: connect ECONNREFUSED ::1:8001)\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)",
                "diff": null
              },
              "uuid": "a8a10f2f-bf19-4c27-b076-3728ee088cac",
              "parentUUID": "8764fd95-6c11-462e-a56f-60b392344f6b",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "exporta PNG dos gráficos com html2canvas stubado",
              "fullTitle": "Relatórios de Vendas - UI e Exportações exporta PNG dos gráficos com html2canvas stubado",
              "timedOut": null,
              "duration": 766,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit(base + '/relatorios/vendas');\ncy.get('#btnGerarVendas').click();\ncy.wait(['@advanced', '@topProducts', '@topRegions']);\ncy.window().then(win => {\n  const fakeCanvas = win.document.createElement('canvas');\n  Object.defineProperty(fakeCanvas, 'width', {\n    value: 800\n  });\n  Object.defineProperty(fakeCanvas, 'height', {\n    value: 600\n  });\n  fakeCanvas.toDataURL = () => 'data:image/png;base64,ZmFrZQ==';\n  cy.stub(win, 'html2canvas').resolves(fakeCanvas);\n  cy.stub(win.HTMLAnchorElement.prototype, 'click').as('aClick');\n});\ncy.get('#btnVendasSeriePng').click();\ncy.get('#btnTopProductsPng').click();\ncy.get('#btnTopRegionsPng').click();\ncy.get('@aClick').should('have.been.called');",
              "err": {
                "message": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n  > Error: connect ECONNREFUSED ::1:8001\n\nCommon situations why this would fail:\n  - you don't have internet access\n  - you forgot to run / boot your web server\n  - your web server isn't accessible\n  - you have weird network configuration settings on your computer",
                "estack": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n    at <unknown> (  > Error: connect ECONNREFUSED ::1:8001)\n\nCommon situations why this would fail:\n- you don't have internet access\n- you forgot to run / boot your web server\n- your web server isn't accessible\n- you have weird network configuration settings on your computer\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131607:74)\n    at visitFailedByErr (http://localhost:8002/__cypress/runner/cypress_runner.js:131006:12)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131606:11)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8002/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8002/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8002/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8002/__cypress/runner/cypress_runner.js:1720:18)\n    at _drainQueueStep (http://localhost:8002/__cypress/runner/cypress_runner.js:2430:12)\n    at _drainQueue (http://localhost:8002/__cypress/runner/cypress_runner.js:2423:9)\n    at Async._drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2439:5)\n    at Async.drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2309:14)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/relatorios_vendas.cy.js:134:7)\n\nFrom Node.js Internals:\n    at <unknown> (      Error: connect ECONNREFUSED ::1:8001)\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)",
                "diff": null
              },
              "uuid": "d115d2ea-b7ea-4412-9554-f40136a7cfd1",
              "parentUUID": "8764fd95-6c11-462e-a56f-60b392344f6b",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "exporta PDF da página (multi-página) com jsPDF stubado",
              "fullTitle": "Relatórios de Vendas - UI e Exportações exporta PDF da página (multi-página) com jsPDF stubado",
              "timedOut": null,
              "duration": 752,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit(base + '/relatorios/vendas');\ncy.get('#btnGerarVendas').click();\ncy.wait(['@advanced', '@bySeller', '@topProducts', '@topRegions']);\ncy.window().then(win => {\n  // html2canvas gera um canvas válido para cada card\n  const mkCanvas = () => {\n    const c = win.document.createElement('canvas');\n    Object.defineProperty(c, 'width', {\n      value: 800\n    });\n    Object.defineProperty(c, 'height', {\n      value: 600\n    });\n    c.toDataURL = () => 'data:image/jpeg;base64,ZmFrZQ==';\n    return c;\n  };\n  let count = 0;\n  cy.stub(win, 'html2canvas').callsFake(async () => {\n    count++;\n    return mkCanvas();\n  });\n  const save = cy.stub().as('pdfSave');\n  const addPage = cy.stub();\n  const addImage = cy.stub();\n  const jsPDF = function () {\n    return {\n      internal: {\n        pageSize: {\n          getWidth: () => 210,\n          getHeight: () => 297\n        }\n      },\n      addPage,\n      addImage,\n      save\n    };\n  };\n  win.jspdf = {\n    jsPDF\n  };\n});\ncy.get('#btnExportarPdfPagina').click();\ncy.get('@pdfSave').should('have.been.called');",
              "err": {
                "message": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n  > Error: connect ECONNREFUSED ::1:8001\n\nCommon situations why this would fail:\n  - you don't have internet access\n  - you forgot to run / boot your web server\n  - your web server isn't accessible\n  - you have weird network configuration settings on your computer",
                "estack": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n    at <unknown> (  > Error: connect ECONNREFUSED ::1:8001)\n\nCommon situations why this would fail:\n- you don't have internet access\n- you forgot to run / boot your web server\n- your web server isn't accessible\n- you have weird network configuration settings on your computer\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131607:74)\n    at visitFailedByErr (http://localhost:8002/__cypress/runner/cypress_runner.js:131006:12)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131606:11)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8002/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8002/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8002/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8002/__cypress/runner/cypress_runner.js:1720:18)\n    at _drainQueueStep (http://localhost:8002/__cypress/runner/cypress_runner.js:2430:12)\n    at _drainQueue (http://localhost:8002/__cypress/runner/cypress_runner.js:2423:9)\n    at Async._drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2439:5)\n    at Async.drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2309:14)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/relatorios_vendas.cy.js:152:7)\n\nFrom Node.js Internals:\n    at <unknown> (      Error: connect ECONNREFUSED ::1:8001)\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)",
                "diff": null
              },
              "uuid": "4a31a164-3b01-44da-a6a8-79293d03b4c7",
              "parentUUID": "8764fd95-6c11-462e-a56f-60b392344f6b",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "valida fluxo de impressão via safePrint sem erros",
              "fullTitle": "Relatórios de Vendas - UI e Exportações valida fluxo de impressão via safePrint sem erros",
              "timedOut": null,
              "duration": 762,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit(base + '/relatorios/vendas');\ncy.window().then(win => {\n  cy.stub(win, 'print').as('winPrint');\n  // Chama impressão segura (exposta globalmente por print-control.js)\n  win.safePrint(1);\n});\ncy.get('@winPrint').should('have.been.called');\ncy.get('@consoleError').should('not.have.been.called');",
              "err": {
                "message": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n  > Error: connect ECONNREFUSED ::1:8001\n\nCommon situations why this would fail:\n  - you don't have internet access\n  - you forgot to run / boot your web server\n  - your web server isn't accessible\n  - you have weird network configuration settings on your computer",
                "estack": "CypressError: `cy.visit()` failed trying to load:\n\nhttp://localhost:8001/relatorios/vendas\n\nWe attempted to make an http request to this URL but the request failed without a response.\n\nWe received this error at the network level:\n\n    at <unknown> (  > Error: connect ECONNREFUSED ::1:8001)\n\nCommon situations why this would fail:\n- you don't have internet access\n- you forgot to run / boot your web server\n- your web server isn't accessible\n- you have weird network configuration settings on your computer\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131607:74)\n    at visitFailedByErr (http://localhost:8002/__cypress/runner/cypress_runner.js:131006:12)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:131606:11)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8002/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8002/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8002/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8002/__cypress/runner/cypress_runner.js:1720:18)\n    at _drainQueueStep (http://localhost:8002/__cypress/runner/cypress_runner.js:2430:12)\n    at _drainQueue (http://localhost:8002/__cypress/runner/cypress_runner.js:2423:9)\n    at Async._drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2439:5)\n    at Async.drainQueues (http://localhost:8002/__cypress/runner/cypress_runner.js:2309:14)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/relatorios_vendas.cy.js:181:7)\n\nFrom Node.js Internals:\n    at <unknown> (      Error: connect ECONNREFUSED ::1:8001)\n    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1495:16)",
                "diff": null
              },
              "uuid": "40ce9ecd-4324-4ebd-85d0-84141bda6037",
              "parentUUID": "8764fd95-6c11-462e-a56f-60b392344f6b",
              "isHook": false,
              "skipped": false
            }
          ],
          "suites": [],
          "passes": [],
          "failures": [
            "2157853b-9dfa-4c89-88e0-2d60f935aac7",
            "0206521c-69c8-4eae-b978-c2895bc1fbcf",
            "657f0046-e881-4df1-a5f8-7983a9dcb862",
            "a8a10f2f-bf19-4c27-b076-3728ee088cac",
            "d115d2ea-b7ea-4412-9554-f40136a7cfd1",
            "4a31a164-3b01-44da-a6a8-79293d03b4c7",
            "40ce9ecd-4324-4ebd-85d0-84141bda6037"
          ],
          "pending": [],
          "skipped": [],
          "duration": 5314,
          "root": false,
          "rootEmpty": false,
          "_timeout": 2000
        }
      ],
      "passes": [],
      "failures": [],
      "pending": [],
      "skipped": [],
      "duration": 0,
      "root": true,
      "rootEmpty": true,
      "_timeout": 2000
    }
  ],
  "meta": {
    "mocha": {
      "version": "7.0.1"
    },
    "mochawesome": {
      "options": {
        "quiet": true,
        "reportFilename": "mochawesome",
        "saveHtml": true,
        "saveJson": true,
        "consoleReporter": "spec",
        "useInlineDiffs": false,
        "code": true
      },
      "version": "7.1.4"
    },
    "marge": {
      "options": {
        "id": "default",
        "reportDir": "cypress/reports/mochawesome",
        "overwrite": false,
        "html": true,
        "json": true,
        "quiet": true
      },
      "version": "6.3.2"
    }
  }
}