<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="5.576" tests="5" failures="3">
  <testsuite name="Root Suite" timestamp="2025-11-07T19:24:12" tests="0" file="cypress\e2e\mobile_pwa.cy.js" time="0.000" failures="0">
  </testsuite>
  <testsuite name="Gestor coletor PWA" timestamp="2025-11-07T19:24:12" tests="5" time="5.570" failures="3">
    <testcase name="Gestor coletor PWA carrega e testa ping com dispositivo válido" time="0.000" classname="carrega e testa ping com dispositivo válido">
      <failure message="Timed out retrying after 4000ms: expected &apos;&lt;span#scanStatus.muted&gt;&apos; to contain &apos;Conexão OK&apos;" type="AssertionError"><![CDATA[AssertionError: Timed out retrying after 4000ms: expected '<span#scanStatus.muted>' to contain 'Conexão OK'
    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/mobile_pwa.cy.js:9:26)]]></failure>
    </testcase>
    <testcase name="Gestor coletor PWA registra item de inventário na fila e sincroniza" time="0.000" classname="registra item de inventário na fila e sincroniza">
      <failure message="cy.get(...).should(...).or is not a function" type="TypeError"><![CDATA[TypeError: cy.get(...).should(...).or is not a function
    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/mobile_pwa.cy.js:18:62)]]></failure>
    </testcase>
    <testcase name="Gestor coletor PWA envia evento de recebimento e valida aceite do backend" time="0.179" classname="envia evento de recebimento e valida aceite do backend">
    </testcase>
    <testcase name="Gestor coletor PWA envia evento de expedição e valida aceite do backend" time="0.143" classname="envia evento de expedição e valida aceite do backend">
    </testcase>
    <testcase name="Gestor coletor PWA consulta relatório CSV de entradas de inventário" time="0.000" classname="consulta relatório CSV de entradas de inventário">
      <failure message="`cy.request()` failed on:

http://localhost:8000/api/wms/inventory/entries/export.csv

The response we received from your web server was:

  &gt; 401: Unauthorized

This was considered a failure because the status code was not `2xx` or `3xx`.

If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`

-----------------------------------------------------------

The request we sent was:

Method: GET
URL: http://localhost:8000/api/wms/inventory/entries/export.csv
Headers: {
  &quot;Connection&quot;: &quot;keep-alive&quot;,
  &quot;user-agent&quot;: &quot;Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/13.17.0 Chrome/118.0.5993.159 Electron/27.3.10 Safari/537.36&quot;,
  &quot;accept&quot;: &quot;*/*&quot;,
  &quot;accept-encoding&quot;: &quot;gzip, deflate&quot;
}

-----------------------------------------------------------

The response we got was:

Status: 401 - Unauthorized
Headers: {
  &quot;host&quot;: &quot;localhost:8000&quot;,
  &quot;date&quot;: &quot;Fri, 07 Nov 2025 19:24:17 GMT&quot;,
  &quot;connection&quot;: &quot;close&quot;,
  &quot;x-powered-by&quot;: &quot;PHP/8.2.29&quot;,
  &quot;content-type&quot;: &quot;application/json&quot;
}
Body: {
  &quot;error&quot;: &quot;Unauthorized&quot;
}


https://on.cypress.io/request" type="CypressError"><![CDATA[CypressError: `cy.request()` failed on:

http://localhost:8000/api/wms/inventory/entries/export.csv

The response we received from your web server was:

  > 401: Unauthorized

This was considered a failure because the status code was not `2xx` or `3xx`.

If you do not want status codes to cause failures pass the option: `failOnStatusCode: false`

-----------------------------------------------------------

The request we sent was:

Method: GET
URL: http://localhost:8000/api/wms/inventory/entries/export.csv
Headers: {
  "Connection": "keep-alive",
  "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Cypress/13.17.0 Chrome/118.0.5993.159 Electron/27.3.10 Safari/537.36",
  "accept": "*/*",
  "accept-encoding": "gzip, deflate"
}

-----------------------------------------------------------

The response we got was:

Status: 401 - Unauthorized
Headers: {
  "host": "localhost:8000",
  "date": "Fri, 07 Nov 2025 19:24:17 GMT",
  "connection": "close",
  "x-powered-by": "PHP/8.2.29",
  "content-type": "application/json"
}
Body: {
  "error": "Unauthorized"
}


https://on.cypress.io/request
    at <unknown> (http://localhost:8000/__cypress/runner/cypress_runner.js:132876:72)
    at tryCatcher (http://localhost:8000/__cypress/runner/cypress_runner.js:1830:23)
    at Promise._settlePromiseFromHandler (http://localhost:8000/__cypress/runner/cypress_runner.js:1542:31)
    at Promise._settlePromise (http://localhost:8000/__cypress/runner/cypress_runner.js:1599:18)
    at Promise._settlePromise0 (http://localhost:8000/__cypress/runner/cypress_runner.js:1644:10)
    at Promise._settlePromises (http://localhost:8000/__cypress/runner/cypress_runner.js:1724:18)
    at _drainQueueStep (http://localhost:8000/__cypress/runner/cypress_runner.js:2430:12)
    at _drainQueue (http://localhost:8000/__cypress/runner/cypress_runner.js:2423:9)
    at Async._drainQueues (http://localhost:8000/__cypress/runner/cypress_runner.js:2439:5)
    at Async.drainQueues (http://localhost:8000/__cypress/runner/cypress_runner.js:2309:14)
From Your Spec Code:
    at Context.eval (webpack://gestoreasy-v3/./cypress/e2e/mobile_pwa.cy.js:42:7)]]></failure>
    </testcase>
  </testsuite>
</testsuites>