{
  "stats": {
    "suites": 1,
    "tests": 5,
    "passes": 0,
    "pending": 0,
    "failures": 5,
    "start": "2025-11-07T19:23:35.293Z",
    "end": "2025-11-07T19:24:02.288Z",
    "duration": 26995,
    "testsRegistered": 5,
    "passPercent": 0,
    "pendingPercent": 0,
    "other": 0,
    "hasOther": false,
    "skipped": 0,
    "hasSkipped": false
  },
  "results": [
    {
      "uuid": "21d8968f-2369-4ceb-a7fb-f4d325d95fcd",
      "title": "",
      "fullFile": "cypress\\e2e\\dashboard.cy.js",
      "file": "cypress\\e2e\\dashboard.cy.js",
      "beforeHooks": [],
      "afterHooks": [],
      "tests": [],
      "suites": [
        {
          "uuid": "5fd76118-9577-4547-b500-347e812449e0",
          "title": "Dashboard - smoke tests",
          "fullFile": "",
          "file": "",
          "beforeHooks": [],
          "afterHooks": [],
          "tests": [
            {
              "title": "carrega e exibe elementos principais",
              "fullTitle": "Dashboard - smoke tests carrega e exibe elementos principais",
              "timedOut": null,
              "duration": 4770,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit('/dashboard');\ncy.get('h1').contains('Dashboard');\ncy.get('.tab-nav .tab-btn').should('have.length.at.least', 3);\ncy.get('#btnApplyFilters').should('exist');",
              "err": {
                "message": "AssertionError: Timed out retrying after 4000ms: Expected to find element: `h1`, but never found it.",
                "estack": "AssertionError: Timed out retrying after 4000ms: Expected to find element: `h1`, but never found it.\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/dashboard.cy.js:64:7)",
                "diff": null
              },
              "uuid": "df44b775-a5f4-44ad-9e8f-b516bb20ba02",
              "parentUUID": "5fd76118-9577-4547-b500-347e812449e0",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "renderiza KPIs a partir de dados stubados",
              "fullTitle": "Dashboard - smoke tests renderiza KPIs a partir de dados stubados",
              "timedOut": null,
              "duration": 5572,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit('/dashboard');\ncy.wait(['@pdvVendas', '@pedidos', '@orcamentos']);\nconst fatTotal = 150.35 + 200.00 + 99.90 + 300.00; // PDV + Pedidos faturamento\nconst pedidosAbertos = 1; // apenas um com status 'aberto'\nconst totalItens = 3 + 2; // pdv + pedidos\nconst ticketMedio = fatTotal / totalItens;\ncy.get('#kpiFatTotal .value').should('contain', fmtBRL(fatTotal));\ncy.get('#kpiPedidosAbertos .value').should('contain', String(pedidosAbertos));\ncy.get('#kpiTicketMedio .value').should('contain', fmtBRL(ticketMedio));",
              "err": {
                "message": "CypressError: Timed out retrying after 5000ms: `cy.wait()` timed out waiting `5000ms` for the 1st request to the route: `pdvVendas`. No request ever occurred.\n\nhttps://on.cypress.io/wait",
                "estack": "CypressError: Timed out retrying after 5000ms: `cy.wait()` timed out waiting `5000ms` for the 1st request to the route: `pdvVendas`. No request ever occurred.\n\nhttps://on.cypress.io/wait\n    at cypressErr (http://localhost:8000/__cypress/runner/cypress_runner.js:76065:18)\n    at Object.errByPath (http://localhost:8000/__cypress/runner/cypress_runner.js:76119:10)\n    at checkForXhr (http://localhost:8000/__cypress/runner/cypress_runner.js:135342:84)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:135368:28)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise.attempt.Promise.try (http://localhost:8000/__cypress/runner/cypress_runner.js:4338:29)\n    at whenStable (http://localhost:8000/__cypress/runner/cypress_runner.js:143744:68)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:143685:14)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8000/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8000/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8000/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8000/__cypress/runner/cypress_runner.js:1724:18)\n    at Promise._fulfill (http://localhost:8000/__cypress/runner/cypress_runner.js:1668:18)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:5473:46)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/dashboard.cy.js:71:7)",
                "diff": null
              },
              "uuid": "4804bf5c-ee20-409f-bd17-ec84483b1c03",
              "parentUUID": "5fd76118-9577-4547-b500-347e812449e0",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "lista tempo real com vendas stubadas",
              "fullTitle": "Dashboard - smoke tests lista tempo real com vendas stubadas",
              "timedOut": null,
              "duration": 5732,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit('/dashboard');\ncy.wait('@pdvVendas');\ncy.get('#rtList li').should('have.length.at.least', 1);",
              "err": {
                "message": "CypressError: Timed out retrying after 5000ms: `cy.wait()` timed out waiting `5000ms` for the 1st request to the route: `pdvVendas`. No request ever occurred.\n\nhttps://on.cypress.io/wait",
                "estack": "CypressError: Timed out retrying after 5000ms: `cy.wait()` timed out waiting `5000ms` for the 1st request to the route: `pdvVendas`. No request ever occurred.\n\nhttps://on.cypress.io/wait\n    at cypressErr (http://localhost:8000/__cypress/runner/cypress_runner.js:76065:18)\n    at Object.errByPath (http://localhost:8000/__cypress/runner/cypress_runner.js:76119:10)\n    at checkForXhr (http://localhost:8000/__cypress/runner/cypress_runner.js:135342:84)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:135368:28)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise.attempt.Promise.try (http://localhost:8000/__cypress/runner/cypress_runner.js:4338:29)\n    at whenStable (http://localhost:8000/__cypress/runner/cypress_runner.js:143744:68)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:143685:14)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8000/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8000/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8000/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8000/__cypress/runner/cypress_runner.js:1724:18)\n    at Promise._fulfill (http://localhost:8000/__cypress/runner/cypress_runner.js:1668:18)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:5473:46)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/dashboard.cy.js:85:7)",
                "diff": null
              },
              "uuid": "358feecc-3706-464f-a4f0-5f5d44477466",
              "parentUUID": "5fd76118-9577-4547-b500-347e812449e0",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "renderiza quadros financeiros e resumo",
              "fullTitle": "Dashboard - smoke tests renderiza quadros financeiros e resumo",
              "timedOut": null,
              "duration": 5626,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit('/dashboard');\ncy.wait(['@payables', '@receivables']);\ncy.get('#fpSummary').should('contain', 'Pendentes:');\ncy.get('#frSummary').should('contain', 'Esperados:');\ncy.get('#fpRows tr').should('have.length.at.least', 1);\ncy.get('#frRows tr').should('have.length.at.least', 1);",
              "err": {
                "message": "CypressError: Timed out retrying after 5000ms: `cy.wait()` timed out waiting `5000ms` for the 1st request to the route: `payables`. No request ever occurred.\n\nhttps://on.cypress.io/wait",
                "estack": "CypressError: Timed out retrying after 5000ms: `cy.wait()` timed out waiting `5000ms` for the 1st request to the route: `payables`. No request ever occurred.\n\nhttps://on.cypress.io/wait\n    at cypressErr (http://localhost:8000/__cypress/runner/cypress_runner.js:76065:18)\n    at Object.errByPath (http://localhost:8000/__cypress/runner/cypress_runner.js:76119:10)\n    at checkForXhr (http://localhost:8000/__cypress/runner/cypress_runner.js:135342:84)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:135368:28)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise.attempt.Promise.try (http://localhost:8000/__cypress/runner/cypress_runner.js:4338:29)\n    at whenStable (http://localhost:8000/__cypress/runner/cypress_runner.js:143744:68)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:143685:14)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8000/__cypress/runner/cypress_runner.js:1542:31)\n    at Promise._settlePromise (http://localhost:8000/__cypress/runner/cypress_runner.js:1599:18)\n    at Promise._settlePromise0 (http://localhost:8000/__cypress/runner/cypress_runner.js:1644:10)\n    at Promise._settlePromises (http://localhost:8000/__cypress/runner/cypress_runner.js:1724:18)\n    at Promise._fulfill (http://localhost:8000/__cypress/runner/cypress_runner.js:1668:18)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:5473:46)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/dashboard.cy.js:91:7)",
                "diff": null
              },
              "uuid": "45c81b4a-3b61-4c2b-aec3-0b66802f4bef",
              "parentUUID": "5fd76118-9577-4547-b500-347e812449e0",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "alterna aba e mantém navegação visual",
              "fullTitle": "Dashboard - smoke tests alterna aba e mantém navegação visual",
              "timedOut": null,
              "duration": 5005,
              "state": "failed",
              "speed": null,
              "pass": false,
              "fail": true,
              "pending": false,
              "context": null,
              "code": "cy.visit('/dashboard');\ncy.get('.tab-nav .tab-btn[href=\"#sec-despesas\"]').click();\ncy.get('.tab-nav .tab-btn[href=\"#sec-despesas\"]').should('have.class', 'active');\ncy.get('.tab-nav .tab-btn[href=\"#sec-resumo\"]').click();\ncy.get('.tab-nav .tab-btn[href=\"#sec-resumo\"]').should('have.class', 'active');",
              "err": {
                "message": "AssertionError: Timed out retrying after 4000ms: Expected to find element: `.tab-nav .tab-btn[href=\"#sec-despesas\"]`, but never found it.",
                "estack": "AssertionError: Timed out retrying after 4000ms: Expected to find element: `.tab-nav .tab-btn[href=\"#sec-despesas\"]`, but never found it.\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/dashboard.cy.js:100:7)",
                "diff": null
              },
              "uuid": "4e839a83-aaac-4f3d-bd0d-5273ebed621b",
              "parentUUID": "5fd76118-9577-4547-b500-347e812449e0",
              "isHook": false,
              "skipped": false
            }
          ],
          "suites": [],
          "passes": [],
          "failures": [
            "df44b775-a5f4-44ad-9e8f-b516bb20ba02",
            "4804bf5c-ee20-409f-bd17-ec84483b1c03",
            "358feecc-3706-464f-a4f0-5f5d44477466",
            "45c81b4a-3b61-4c2b-aec3-0b66802f4bef",
            "4e839a83-aaac-4f3d-bd0d-5273ebed621b"
          ],
          "pending": [],
          "skipped": [],
          "duration": 26705,
          "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"
    }
  }
}