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 address
text field.- If you installed quassel-core in the same machine, enter
localhost
.
- If you installed quassel-core in the same machine, enter
- Click the
Connect
button.- Check that the
Core Configuration Wizard
appears.
- Check that the
Create an account:
- In the
Core Configuration Wizard
, enter your $username and $password, and repeat the $password. - Click the
Next
button. - Select
SQLite
as theBackend
. - Click the
Commit
button. - In the
Identities
step, entertest
in theName
,Real name
andNicknames
textfields. - Click the
Save
button.
Add a network:
- Click the
Add a network
button. - In the
Name
text field, enterfreenode
. - In the
Host
text field, enterirc.freenode.net
. - Click the
Save
button.
Connect:
- Click the menu button next to
FREENODE
. - Click the
Connect
option.
Join a channel:
- Click the menu button next to
FREENODE
. - Click the
Join channel
option. - Enter
#snappy
in the text field.
Send a message:
- On the left bar, click the
#snappy
item. - 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.