Skip to content

Instantly share code, notes, and snippets.

@come-maiz
Last active February 6, 2017 16:56
Show Gist options
  • Save come-maiz/e8a5214aa89a320ebd505b5dc184e2df to your computer and use it in GitHub Desktop.
Save come-maiz/e8a5214aa89a320ebd505b5dc184e2df to your computer and use it in GitHub Desktop.
Quassel webserver snap testing

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:

  1. Go to https://localhost:64443/
  2. Dismiss the warning about the page certificate and continue.
  3. Enter the $quassel_server_url in the Server address text field.
    • If you installed quassel-core in the same machine, enter localhost.
  4. Click the Connect button.
    • Check that the Core Configuration Wizard appears.

Create an account:

  1. In the Core Configuration Wizard, enter your $username and $password, and repeat the $password.
  2. Click the Next button.
  3. Select SQLite as the Backend.
  4. Click the Commit button.
  5. In the Identities step, enter test in the Name, Real name and Nicknames textfields.
  6. Click the Save button.

Add a network:

  1. Click the Add a network button.
  2. In the Name text field, enter freenode.
  3. In the Host text field, enter irc.freenode.net.
  4. Click the Save button.

Connect:

  1. Click the menu button next to FREENODE.
  2. Click the Connect option.

Join a channel:

  1. Click the menu button next to FREENODE.
  2. Click the Join channel option.
  3. Enter #snappy in the text field.

Send a message:

  1. On the left bar, click the #snappy item.
  2. In the text bar that appears at the bottom, write: ping elopio: test from quassel-webserver snap
  3. Press enter.
@come-maiz
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment