Smoke tests for the Quassel webserver snap
First, install the snap:
$ sudo snap install quassel-webserver --candidate
The following tests require a freshly installed quassel server. In an ubuntu system, it can be installed with sudo apt install quassel-core.
Connect to a server:
- Go to https://localhost:64443/
- Dismiss the warning about the page certificate and continue.
- Enter the $quassel_server_url in the
Server addresstext field.- If you installed quassel-core in the same machine, enter
localhost.
- If you installed quassel-core in the same machine, enter
- Click the
Connectbutton.- Check that the
Core Configuration Wizardappears.
- Check that the
Create an account:
- In the
Core Configuration Wizard, enter your $username and $password, and repeat the $password. - Click the
Nextbutton. - Select
SQLiteas theBackend. - Click the
Commitbutton. - In the
Identitiesstep, entertestin theName,Real nameandNicknamestextfields. - Click the
Savebutton.
Add a network:
- Click the
Add a networkbutton. - In the
Nametext field, enterfreenode. - In the
Hosttext field, enterirc.freenode.net. - Click the
Savebutton.
Connect:
- Click the menu button next to
FREENODE. - Click the
Connectoption.
Join a channel:
- Click the menu button next to
FREENODE. - Click the
Join channeloption. - Enter
#snappyin the text field.
Send a message:
- On the left bar, click the
#snappyitem. - In the text bar that appears at the bottom, write:
ping elopio: test from quassel-webserver snap - Press enter.
The first time I open the URL, the theme is not loaded. This is added to syslog:
Oct 10 21:56:04 ubuntu-xenial snap[5670]: #033[0mGET /stylesheets/theme-default.css #033[31m500 #033[0m806.377 ms - 186#033[0m
Oct 10 21:56:04 ubuntu-xenial snap[5670]: Error: EROFS: read-only file system, open '/snap/quassel-webserver/x1/lib/node_modules/quassel-webserver/public/stylesheets/theme-default.css'
It's solved by refreshing the page.
Oct 10 21:56:04 ubuntu-xenial snap[5670]: at Error (native)
I couldn't connect to the network. It's stuck loading.