You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently tests for the remote connection UI are dependant on the existence of hardcoded remote Peer ID which is not controlled by the CI. This is not a good practice for CI tests.
Expected behavior
Tests should be encapsulated in predictable environment that always behaves as expected. Ideally completely controlled by the CI flow.
Consider replacing the full p2p fetch API with a mockup local implementation that isolates the dependency on WebRTC. This way the Cypress UI tests do what they are meant to do.
End to end integration tests can be added later with a local edge peer running in the CI environment.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently tests for the remote connection UI are dependant on the existence of hardcoded remote Peer ID which is not controlled by the CI. This is not a good practice for CI tests.
ambianic-ui/cypress/integration/ambianic-tests/remote-connection.spec.js
Line 29 in 2bf35b2
To Reproduce
See failing CI runs: https://github.com/ambianic/ambianic-ui/pull/594/checks?check_run_id=2224336786#step:5:3220
Expected behavior
Tests should be encapsulated in predictable environment that always behaves as expected. Ideally completely controlled by the CI flow.
Consider replacing the full p2p fetch API with a mockup local implementation that isolates the dependency on WebRTC. This way the Cypress UI tests do what they are meant to do.
End to end integration tests can be added later with a local edge peer running in the CI environment.
The text was updated successfully, but these errors were encountered: