Skip to content

Testing

rugk edited this page Dec 13, 2022 · 16 revisions

Config page

Enter these Mastodon handles and click somewhere else. Check, if you get the expected response (wording not exact, check semantics i.e. meaning) listed:

Mastodon handle Expected warning/error/response Reason
`` (empty) Warning: "Please enter a Mastodon handle." initial state when first installed
username Error: "Invalid Mastodon handle." syntax check
@chaos.social Error: "Invalid Mastodon handle." syntax check (empty username)
rugk@ Error: "Invalid Mastodon handle." syntax check (empty server)
[email protected] Error: "Entered server is no Mastodon instance" Mastodon server verification
[email protected]/test Error: "Entered server is no Mastodon instance" Mastodon server verification
[email protected] Error: "Entered Mastodon user does not exist on that server" Mastodon user verification
[email protected] Error: "Mastodon server could not be contacted" Network error (HTTPS requirement)
[email protected] Error: "Mastodon server could not be contacted" Network error (DNS)
[email protected]/status/500 Error: "Verification failed" Server error (HTTP 500/server down)
[email protected]/status/400 Error: "Verification failed" Server error (HTTP 400 Bad Request)
[email protected]/status/200 Error: "Verification failed" Server error (no JSON response)
[email protected] No error valid testing account
[email protected] No error valid account

Note some server requests may take some time, so the old error is shown in the meantime, that is about to be expected for now.

Redirects

Prerequirement: Setup a valid Mastodon handle in the config.

The examples below are written for the account [email protected]. In your test, only the server URLs may be different.

Mastodon

Follow

  1. Go to https://mastodon.social/@Gargron.
  2. Click "Follow" button.
  3. Expected: You get redirected to https://mastodon.social/[email protected] (eventually after login):

Interact

  1. Go to https://mastodon.social/@Gargron/100114728075404707.
  2. Click either the "Reply", "Boost" or "Fav" button. (Please test with all buttons.)
  3. Expected: You get redirected to https://mastodon.social/web/statuses/100114728075404707 (eventually after login):

In addition:

In both cases

…try a right-click on an empty page. Expected: You should not be able to navigate back.

GNU Social

Note: This is currently quite unreliable, as GNUSocial instances often do not trigger a redirect, but actually often open a popup on the site itself, where you are supposed to enter your ID. Unfortunately, this is not yet supported by this add-on. As a workaround, you can try opening the "Subscribe" button (link) in a new tab.

  1. Go to https://gnusocial.no/rms.
  2. Click on the "subscribe" button at the top right:
  3. Expected: You get redirected to https://mastodon.social/[email protected] (eventually after login):
  4. (test for e2c4dd0b) Click the back button of your browser.
    Expected: You should be at https://gnusocial.no/rms again.

Pleroma

Follow from user page

  1. Go to https://pl.vinzv.space/users/vinzv.
  2. Click on the "Remote follow" button.
  3. Expected: You get redirected to https://mastodon.social/[email protected] (eventually after login).
  4. (test for e2c4dd0b) Click the back button of your browser.
    Expected: You should be at https://pl.vinzv.space/users/vinzv again.

Follow from foreign page

  1. Go to https://fediverse.network/fediverse.network.
  2. Click on “Follow changes at @[email protected]”:
  3. Expected: You get redirected to https://mastodon.social/[email protected]
  4. (test for e2c4dd0b) Click the back button of your browser.
    Expected: You should be at https://fediverse.network/fediverse.network again.

Friendica

  1. Go to https://squeet.me/profile/nasa.
  2. Click on “Connect” or “Verbinden”:
  3. Expected: You get redirected to https://social.wiuwiu.de/[email protected]
  4. Click the back button of your browser.
    Expected: You should be at https://squeet.me/profile/nasa again.