openwisp / openwisp-controller

Network and WiFi controller: provisioning, configuration management and updates, (pull via openwisp-config or push via SSH), x509 PKI management and more. Mainly OpenWRT, but designed to work also on other systems.
https://openwisp.io/docs/dev/controller/
Other
550 stars 173 forks source link

[bug] Selenium tests contain JS errors due to failed websocket connection #904

Open nemesifier opened 1 month ago

nemesifier commented 1 month ago

Selenium tests contain JS errors due to failed websocket connection.

We need to switch from django's StaticLiveServerTestCase to ChannelsLiveServerTestCase. I also recommend making the base selenium class in openwisp-utils automatically inherit ChannelsLiveServerTestCase and enforce this across OpenWISP.

We also have to figure out: