{
  "stats": {
    "suites": 1,
    "tests": 5,
    "passes": 0,
    "pending": 0,
    "failures": 5,
    "start": "2025-11-07T10:20:33.806Z",
    "end": "2025-11-07T10:21:01.606Z",
    "duration": 27800,
    "testsRegistered": 5,
    "passPercent": 0,
    "pendingPercent": 0,
    "other": 0,
    "hasOther": false,
    "skipped": 0,
    "hasSkipped": false
  },
  "results": [
    {
      "uuid": "c6b6bf44-e416-47dc-b237-5fefa55a3988",
      "title": "",
      "fullFile": "cypress\\e2e\\dashboard.cy.js",
      "file": "cypress\\e2e\\dashboard.cy.js",
      "beforeHooks": [],
      "afterHooks": [],
      "tests": [],
      "suites": [
        {
          "uuid": "870d71cf-aea9-448c-826e-e3d106c297c2",
          "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": 5205,
              "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": "8ceb69e1-48cc-47dd-82d2-cf2047fb7e28",
              "parentUUID": "870d71cf-aea9-448c-826e-e3d106c297c2",
              "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": 5907,
              "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:77954:18)\n    at Object.errByPath (http://localhost:8000/__cypress/runner/cypress_runner.js:78022:10)\n    at checkForXhr (http://localhost:8000/__cypress/runner/cypress_runner.js:138285:84)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:138310:28)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1777:23)\n    at Promise.attempt.Promise.try (http://localhost:8000/__cypress/runner/cypress_runner.js:4285:29)\n    at whenStable (http://localhost:8000/__cypress/runner/cypress_runner.js:151356:68)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:151297:14)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1777:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8000/__cypress/runner/cypress_runner.js:1489:31)\n    at Promise._settlePromise (http://localhost:8000/__cypress/runner/cypress_runner.js:1546:18)\n    at Promise._settlePromise0 (http://localhost:8000/__cypress/runner/cypress_runner.js:1591:10)\n    at Promise._settlePromises (http://localhost:8000/__cypress/runner/cypress_runner.js:1671:18)\n    at Promise._fulfill (http://localhost:8000/__cypress/runner/cypress_runner.js:1615:18)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:5420:46)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/dashboard.cy.js:71:7)",
                "diff": null
              },
              "uuid": "c9be26f7-b9c3-4941-9937-0fcc4c404cec",
              "parentUUID": "870d71cf-aea9-448c-826e-e3d106c297c2",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "lista tempo real com vendas stubadas",
              "fullTitle": "Dashboard - smoke tests lista tempo real com vendas stubadas",
              "timedOut": null,
              "duration": 5685,
              "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:77954:18)\n    at Object.errByPath (http://localhost:8000/__cypress/runner/cypress_runner.js:78022:10)\n    at checkForXhr (http://localhost:8000/__cypress/runner/cypress_runner.js:138285:84)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:138310:28)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1777:23)\n    at Promise.attempt.Promise.try (http://localhost:8000/__cypress/runner/cypress_runner.js:4285:29)\n    at whenStable (http://localhost:8000/__cypress/runner/cypress_runner.js:151356:68)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:151297:14)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1777:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8000/__cypress/runner/cypress_runner.js:1489:31)\n    at Promise._settlePromise (http://localhost:8000/__cypress/runner/cypress_runner.js:1546:18)\n    at Promise._settlePromise0 (http://localhost:8000/__cypress/runner/cypress_runner.js:1591:10)\n    at Promise._settlePromises (http://localhost:8000/__cypress/runner/cypress_runner.js:1671:18)\n    at Promise._fulfill (http://localhost:8000/__cypress/runner/cypress_runner.js:1615:18)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:5420:46)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/dashboard.cy.js:85:7)",
                "diff": null
              },
              "uuid": "6d30862b-e642-4fdb-97de-d022c09a72b0",
              "parentUUID": "870d71cf-aea9-448c-826e-e3d106c297c2",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "renderiza quadros financeiros e resumo",
              "fullTitle": "Dashboard - smoke tests renderiza quadros financeiros e resumo",
              "timedOut": null,
              "duration": 5661,
              "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: `receivables`. 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: `receivables`. No request ever occurred.\n\nhttps://on.cypress.io/wait\n    at cypressErr (http://localhost:8000/__cypress/runner/cypress_runner.js:77954:18)\n    at Object.errByPath (http://localhost:8000/__cypress/runner/cypress_runner.js:78022:10)\n    at checkForXhr (http://localhost:8000/__cypress/runner/cypress_runner.js:138285:84)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:138310:28)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1777:23)\n    at Promise.attempt.Promise.try (http://localhost:8000/__cypress/runner/cypress_runner.js:4285:29)\n    at whenStable (http://localhost:8000/__cypress/runner/cypress_runner.js:151356:68)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:151297:14)\n    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1777:23)\n    at Promise._settlePromiseFromHandler (http://localhost:8000/__cypress/runner/cypress_runner.js:1489:31)\n    at Promise._settlePromise (http://localhost:8000/__cypress/runner/cypress_runner.js:1546:18)\n    at Promise._settlePromise0 (http://localhost:8000/__cypress/runner/cypress_runner.js:1591:10)\n    at Promise._settlePromises (http://localhost:8000/__cypress/runner/cypress_runner.js:1671:18)\n    at Promise._fulfill (http://localhost:8000/__cypress/runner/cypress_runner.js:1615:18)\n    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:5420:46)\nFrom Your Spec Code:\n    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/dashboard.cy.js:91:7)",
                "diff": null
              },
              "uuid": "badfb670-f275-4d8d-adce-e0ed07ac38d2",
              "parentUUID": "870d71cf-aea9-448c-826e-e3d106c297c2",
              "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": 4923,
              "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": "05949252-66ac-4034-a296-bfdc25f7b314",
              "parentUUID": "870d71cf-aea9-448c-826e-e3d106c297c2",
              "isHook": false,
              "skipped": false
            }
          ],
          "suites": [],
          "passes": [],
          "failures": [
            "8ceb69e1-48cc-47dd-82d2-cf2047fb7e28",
            "c9be26f7-b9c3-4941-9937-0fcc4c404cec",
            "6d30862b-e642-4fdb-97de-d022c09a72b0",
            "badfb670-f275-4d8d-adce-e0ed07ac38d2",
            "05949252-66ac-4034-a296-bfdc25f7b314"
          ],
          "pending": [],
          "skipped": [],
          "duration": 27381,
          "root": false,
          "rootEmpty": false,
          "_timeout": 2000
        }
      ],
      "passes": [],
      "failures": [],
      "pending": [],
      "skipped": [],
      "duration": 0,
      "root": true,
      "rootEmpty": true,
      "_timeout": 2000
    }
  ],
  "meta": {
    "mocha": {
      "version": "7.2.0"
    },
    "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"
    }
  }
}