{
  "stats": {
    "suites": 1,
    "tests": 5,
    "passes": 0,
    "pending": 0,
    "failures": 5,
    "start": "2025-11-08T20:15:07.998Z",
    "end": "2025-11-08T20:15:34.613Z",
    "duration": 26615,
    "testsRegistered": 5,
    "passPercent": 0,
    "pendingPercent": 0,
    "other": 0,
    "hasOther": false,
    "skipped": 0,
    "hasSkipped": false
  },
  "results": [
    {
      "uuid": "1375ba72-f7e5-453e-88b6-e1060683f894",
      "title": "",
      "fullFile": "cypress\\e2e\\dashboard.cy.js",
      "file": "cypress\\e2e\\dashboard.cy.js",
      "beforeHooks": [],
      "afterHooks": [],
      "tests": [],
      "suites": [
        {
          "uuid": "75b4ca9d-fb57-4d41-b403-2adc734a4e5a",
          "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": 4975,
              "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": "d2a19e08-3fd2-4e4a-9634-5e8213fee557",
              "parentUUID": "75b4ca9d-fb57-4d41-b403-2adc734a4e5a",
              "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": 5555,
              "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:8002/__cypress/runner/cypress_runner.js:76065:18)\n    at Object.errByPath (http://localhost:8002/__cypress/runner/cypress_runner.js:76119:10)\n    at checkForXhr (http://localhost:8002/__cypress/runner/cypress_runner.js:135342:84)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:135368:28)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise.attempt.Promise.try (http://localhost:8002/__cypress/runner/cypress_runner.js:4338:29)\n    at whenStable (http://localhost:8002/__cypress/runner/cypress_runner.js:143744:68)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:143685:14)\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:1724:18)\n    at Promise._fulfill (http://localhost:8002/__cypress/runner/cypress_runner.js:1668:18)\n    at <unknown> (http://localhost:8002/__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": "8f0d6e82-d805-4aa0-aef9-cdb07280db16",
              "parentUUID": "75b4ca9d-fb57-4d41-b403-2adc734a4e5a",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "lista tempo real com vendas stubadas",
              "fullTitle": "Dashboard - smoke tests lista tempo real com vendas stubadas",
              "timedOut": null,
              "duration": 5594,
              "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:8002/__cypress/runner/cypress_runner.js:76065:18)\n    at Object.errByPath (http://localhost:8002/__cypress/runner/cypress_runner.js:76119:10)\n    at checkForXhr (http://localhost:8002/__cypress/runner/cypress_runner.js:135342:84)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:135368:28)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise.attempt.Promise.try (http://localhost:8002/__cypress/runner/cypress_runner.js:4338:29)\n    at whenStable (http://localhost:8002/__cypress/runner/cypress_runner.js:143744:68)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:143685:14)\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:1724:18)\n    at Promise._fulfill (http://localhost:8002/__cypress/runner/cypress_runner.js:1668:18)\n    at <unknown> (http://localhost:8002/__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": "c0d78d6a-29b2-4b78-8ab0-ef676ec6f0f5",
              "parentUUID": "75b4ca9d-fb57-4d41-b403-2adc734a4e5a",
              "isHook": false,
              "skipped": false
            },
            {
              "title": "renderiza quadros financeiros e resumo",
              "fullTitle": "Dashboard - smoke tests renderiza quadros financeiros e resumo",
              "timedOut": null,
              "duration": 5547,
              "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:8002/__cypress/runner/cypress_runner.js:76065:18)\n    at Object.errByPath (http://localhost:8002/__cypress/runner/cypress_runner.js:76119:10)\n    at checkForXhr (http://localhost:8002/__cypress/runner/cypress_runner.js:135342:84)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:135368:28)\n    at tryCatcher (http://localhost:8002/__cypress/runner/cypress_runner.js:1830:23)\n    at Promise.attempt.Promise.try (http://localhost:8002/__cypress/runner/cypress_runner.js:4338:29)\n    at whenStable (http://localhost:8002/__cypress/runner/cypress_runner.js:143744:68)\n    at <unknown> (http://localhost:8002/__cypress/runner/cypress_runner.js:143685:14)\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:1724:18)\n    at Promise._fulfill (http://localhost:8002/__cypress/runner/cypress_runner.js:1668:18)\n    at <unknown> (http://localhost:8002/__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": "71d48988-b684-4734-b85b-3bbf1cf67401",
              "parentUUID": "75b4ca9d-fb57-4d41-b403-2adc734a4e5a",
              "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": 4665,
              "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": "d4850af4-f44a-4d0b-904c-214056b4ca10",
              "parentUUID": "75b4ca9d-fb57-4d41-b403-2adc734a4e5a",
              "isHook": false,
              "skipped": false
            }
          ],
          "suites": [],
          "passes": [],
          "failures": [
            "d2a19e08-3fd2-4e4a-9634-5e8213fee557",
            "8f0d6e82-d805-4aa0-aef9-cdb07280db16",
            "c0d78d6a-29b2-4b78-8ab0-ef676ec6f0f5",
            "71d48988-b684-4734-b85b-3bbf1cf67401",
            "d4850af4-f44a-4d0b-904c-214056b4ca10"
          ],
          "pending": [],
          "skipped": [],
          "duration": 26336,
          "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"
    }
  }
}