* First pass at basic browser tests for #1926 * Run tests against dev web server not go server * Bundle the web code into the server before running tests * Move cypress UI tests into its own npm project + add tests * Add additional tests + wire up with cypress dashboard * Limit concurrency of workflow jobs * Temporarily comment out some tests that do not pass in mobile. Will fix later.
Tests
Load Tests
- Install artillery from NPM/Yarn/Whatever Javascript package manager is popular this week.
- Start an instance of the server on localhost.
artillery run httpGetTest.yamlfor endpoint load tests.artillery run websocketTest.yamlfor websocket load tests.
Chat test
This will send automated fake chat messages to your localhost instance. Edit the messages, usernames or point to a different instance.
npm installnode fakeChat.js