HiveMQ Edge is an MQTT gateway that enables interoperability between OT devices and IT systems. It translates diverse protocols into MQTT for streamlined communication and helps organize data into a unified namespace, making managing and streaming data across your infrastructure easier.
In the CI pipeline, the output of the Cypress was very verbose (more than 35K lines in the stdout). This was mostly due to every API request not being used by the tests, to not be intercepted by Cypress, resulting in an ECONNREFUSED error which dumped the whole request message in the stdout. A lot of noise masking the details of errors in the tests.
In the
CI
pipeline, the output of theCypress
was very verbose (more than 35K lines in the stdout). This was mostly due to every API request not being used by the tests, to not be intercepted by Cypress, resulting in an ECONNREFUSED error which dumped the whole request message in the stdout. A lot of noise masking the details of errors in the tests.An option to disable
morgan
outputs (see https://github.com/cypress-io/cypress/issues/26284#issuecomment-1498191390) didn't seem to be working with the GitHub actionsThe PR adds intercepts to all API requests, returning a
404
when they are not in use for the tests.The result is a mere 4K lines in the log output, offering unobfuscated access to the errors.
The PR also updates the version of the
Cypress
action and cleans a few linting warnings (unused aliases).