{
  "stats": {
    "suites": 1,
    "tests": 1,
    "passes": 0,
    "pending": 0,
    "failures": 1,
    "start": "2025-11-08T20:14:41.930Z",
    "end": "2025-11-08T20:14:47.015Z",
    "duration": 5085,
    "testsRegistered": 1,
    "passPercent": 0,
    "pendingPercent": 0,
    "other": 0,
    "hasOther": false,
    "skipped": 0,
    "hasSkipped": false
  },
  "results": [
    {
      "uuid": "5b1b0c1d-4317-46c2-9d70-205c5d3151b8",
      "title": "",
      "fullFile": "cypress\\e2e\\analise_visual_sem_dados.cy.js",
      "file": "cypress\\e2e\\analise_visual_sem_dados.cy.js",
      "beforeHooks": [],
      "afterHooks": [],
      "tests": [],
      "suites": [
        {
          "uuid": "94021fbe-70d4-4652-bfc2-20a09438f219",
          "title": "Relatórios - Análise Visual (sem dados)",
          "fullFile": "",
          "file": "",
          "beforeHooks": [],
          "afterHooks": [],
          "tests": [
            {
              "title": "Exibe fallback \"Sem dados para o período\" e limpa legendas",
              "fullTitle": "Relatórios - Análise Visual (sem dados) Exibe fallback \"Sem dados para o período\" e limpa legendas",
              "timedOut": null,
              "duration": 5019,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "// Fluxo falha\ncy.intercept('GET', '/api/financeiro/relatorios/fluxo*', {\n  statusCode: 404,\n  body: {\n    error: 'not found'\n  }\n}).as('fluxoFalha');\n// Receber/Pagar também sem séries e totais zerados\ncy.intercept('GET', '/api/financeiro/relatorios/receber/resumo*', {\n  statusCode: 200,\n  body: {\n    totals: {\n      recebido: 0,\n      pendente: 0,\n      vencido: 0,\n      total_geral: 0\n    },\n    series: []\n  }\n}).as('recResumo');\ncy.intercept('GET', '/api/financeiro/relatorios/pagar/resumo*', {\n  statusCode: 200,\n  body: {\n    totals: {\n      pago: 0,\n      pendente: 0,\n      vencido: 0,\n      total_geral: 0\n    },\n    series: []\n  }\n}).as('payResumo');\ncy.visit('/financeiro/relatorios');\ncy.get('#dataInicio').clear().type('2024-02-01');\ncy.get('#dataFim').clear().type('2024-02-29');\ncy.get('#btnGerar').click();\ncy.wait('@fluxoFalha');\ncy.wait(['@recResumo', '@payResumo']);\n// Mensagens de fallback nos dois gráficos\ncy.get('#graficoEntradaSaida').contains('Sem dados para o período').should('exist');\ncy.get('#graficoEntradaSaidaLegend').should('be.empty');\ncy.get('#graficoEvolucao').contains('Sem dados para o período').should('exist');\ncy.get('#graficoEvolucaoLegend').should('be.empty');",
              "err": {
                "message": "AssertionError: Timed out retrying after 4000ms: Expected to find element: `#dataInicio`, but never found it.",
                "estack": "AssertionError: Timed out retrying after 4000ms: Expected to find element: `#dataInicio`, but never found it.\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/analise_visual_sem_dados.cy.js:20:7)",
                "diff": null
              },
              "uuid": "aee394ee-46f9-4e14-91f3-32b8de2ae5e6",
              "parentUUID": "94021fbe-70d4-4652-bfc2-20a09438f219",
              "isHook": false,
              "skipped": false
            }
          ],
          "suites": [],
          "passes": [],
          "failures": [
            "aee394ee-46f9-4e14-91f3-32b8de2ae5e6"
          ],
          "pending": [],
          "skipped": [],
          "duration": 5019,
          "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"
    }
  }
}