{
  "stats": {
    "suites": 1,
    "tests": 1,
    "passes": 0,
    "pending": 0,
    "failures": 1,
    "start": "2025-11-07T20:01:05.896Z",
    "end": "2025-11-07T20:01:11.368Z",
    "duration": 5472,
    "testsRegistered": 1,
    "passPercent": 0,
    "pendingPercent": 0,
    "other": 0,
    "hasOther": false,
    "skipped": 0,
    "hasSkipped": false
  },
  "results": [
    {
      "uuid": "5053e155-ea61-4c72-b71f-d52acd51a634",
      "title": "",
      "fullFile": "cypress\\e2e\\analise_visual_detalhes.cy.js",
      "file": "cypress\\e2e\\analise_visual_detalhes.cy.js",
      "beforeHooks": [],
      "afterHooks": [],
      "tests": [],
      "suites": [
        {
          "uuid": "4a7ccb10-7e5f-4b1a-a88f-f138dc329316",
          "title": "Relatórios - Analise Visual detalhes",
          "fullFile": "",
          "file": "",
          "beforeHooks": [],
          "afterHooks": [],
          "tests": [
            {
              "title": "Mostra legendas e estado \"Sem dados\" quando apropriado",
              "fullTitle": "Relatórios - Analise Visual detalhes Mostra legendas e estado \"Sem dados\" quando apropriado",
              "timedOut": null,
              "duration": 5405,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "// Fluxo sem dados\ncy.intercept('GET', '/api/financeiro/relatorios/fluxo*', {\n  statusCode: 200,\n  body: {\n    totals: {\n      entradas: 0,\n      saidas: 0\n    },\n    series: []\n  }\n}).as('fluxoSemDados');\ncy.visit('/financeiro/relatorios');\n// Define período\ncy.get('#periodoInicio').clear().type('2024-01-01');\ncy.get('#periodoFim').clear().type('2024-01-31');\ncy.contains('button', 'Gerar').click();\ncy.wait('@fluxoSemDados');\ncy.get('#graficoEntradaSaida').contains('Sem dados para o período').should('exist');\ncy.get('#graficoEvolucao').contains('Sem dados para o período').should('exist');\n// Fluxo com dados\ncy.intercept('GET', '/api/financeiro/relatorios/fluxo*', {\n  statusCode: 200,\n  body: {\n    totals: {\n      entradas: 1000,\n      saidas: 400\n    },\n    series: [{\n      data: '2024-01-05',\n      entradas: 600,\n      saidas: 200\n    }, {\n      data: '2024-01-20',\n      entradas: 400,\n      saidas: 200\n    }, {\n      data: '2024-02-10',\n      entradas: 200,\n      saidas: 300\n    }]\n  }\n}).as('fluxoComDados');\ncy.contains('button', 'Gerar').click();\ncy.wait('@fluxoComDados');\ncy.get('#graficoEntradaSaidaLegend').contains('Entradas').should('exist');\ncy.get('#graficoEntradaSaidaLegend').contains('Saídas').should('exist');\ncy.get('#graficoEvolucaoLegend').contains('Entradas').should('exist');\ncy.get('#graficoEvolucaoLegend').contains('Saídas').should('exist');\n// Deve haver barras renderizadas\ncy.get('#graficoEntradaSaida div[role=\"img\"]').should('have.length', 2);\ncy.get('#graficoEvolucao').find('div').should('exist');",
              "err": {
                "message": "AssertionError: Timed out retrying after 4000ms: Expected to find element: `#periodoInicio`, but never found it.",
                "estack": "AssertionError: Timed out retrying after 4000ms: Expected to find element: `#periodoInicio`, but never found it.\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/analise_visual_detalhes.cy.js:12:7)",
                "diff": null
              },
              "uuid": "c93cc8f0-62e4-495c-91ae-81b4bf841a76",
              "parentUUID": "4a7ccb10-7e5f-4b1a-a88f-f138dc329316",
              "isHook": false,
              "skipped": false
            }
          ],
          "suites": [],
          "passes": [],
          "failures": [
            "c93cc8f0-62e4-495c-91ae-81b4bf841a76"
          ],
          "pending": [],
          "skipped": [],
          "duration": 5405,
          "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"
    }
  }
}