2021-08-20 22:54:08 +02:00
|
|
|
# Manual testing
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
As a general rule, we like to have automated tests for everything that
|
2021-08-20 21:53:28 +02:00
|
|
|
can be practically tested. However, there are certain types of bugs
|
2016-11-21 16:36:13 +01:00
|
|
|
that are best caught with old fashioned manual testing (also called
|
2021-08-20 21:53:28 +02:00
|
|
|
manual QA). Manual testing not only catches bugs, but it also helps
|
2016-11-21 16:36:13 +01:00
|
|
|
developers learn more about the system and think about the existing
|
|
|
|
semantics of a feature they're working on.
|
|
|
|
|
2016-11-29 23:23:54 +01:00
|
|
|
This doc assumes you know how to set up a local development server
|
2021-08-20 21:53:28 +02:00
|
|
|
and open the Zulip app in the browser. It also assumes a basic
|
2016-11-21 16:36:13 +01:00
|
|
|
knowledge of how to use Zulip.
|
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
## Basic stuff
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
When testing Zulip manually, here are things to focus on:
|
|
|
|
|
|
|
|
- The best bugs to catch are security/permissions bugs.
|
2021-08-20 21:53:28 +02:00
|
|
|
- Don't rush manual testing. Look for small details like
|
2016-11-21 16:36:13 +01:00
|
|
|
display glitches.
|
|
|
|
- Always test with multiple users (you can use incognito windows
|
|
|
|
to facilitate this).
|
|
|
|
- Always keep the inspector console open and watch for warnings
|
|
|
|
or errors.
|
2021-08-20 21:53:28 +02:00
|
|
|
- Be methodical about collecting information on bugs. (You will
|
2016-11-21 16:36:13 +01:00
|
|
|
eventually want to create tickets, but you may want to consolidate
|
|
|
|
your own notes before filing tickets.)
|
|
|
|
|
|
|
|
You generally want to test with Cordelia as the primary user,
|
2021-08-20 21:53:28 +02:00
|
|
|
and use Hamlet as her primary conversation partner. Use Iago
|
|
|
|
when you need to test administrative functions. Send messages
|
2016-11-21 16:36:13 +01:00
|
|
|
to Othello or Prospero if you want to verify things such as
|
|
|
|
Cordelia not being able to receive messages not intended for her.
|
|
|
|
|
|
|
|
The rest of this document groups tasks into basic areas of
|
2021-08-20 21:53:28 +02:00
|
|
|
functionality of the system. If you have multiple people testing
|
2016-11-21 16:36:13 +01:00
|
|
|
at once, you can divvy up QA tasks by these sections in the doc.
|
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Message view
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
We mostly test the message view as part of testing everything
|
|
|
|
else, but there are few things to specially test here.
|
|
|
|
|
|
|
|
Try using all the navigation hotkeys:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2016-11-21 16:36:13 +01:00
|
|
|
- Up/k
|
|
|
|
- Down/j
|
|
|
|
- PgUp/K
|
|
|
|
- PgDn/J/Spacebar
|
|
|
|
- End (or fn-right-arrow on OSX)
|
|
|
|
- also try scrolling aggressively with the mouse
|
|
|
|
|
|
|
|
Try narrowing from the message view:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2016-11-21 16:36:13 +01:00
|
|
|
- Hotkeys
|
2024-04-02 13:10:48 +02:00
|
|
|
- use a to go to Combined feed
|
2024-05-20 17:43:55 +02:00
|
|
|
- use s to narrow to a channel (select message first
|
2021-08-20 22:54:08 +02:00
|
|
|
and verify in sidebar)
|
|
|
|
- use S to narrow to the topic (and verify in sidebar)
|
2023-06-16 00:55:22 +02:00
|
|
|
- use v to navigate to direct messages
|
2016-11-21 16:36:13 +01:00
|
|
|
- Click on the recipient bar
|
2024-05-20 17:43:55 +02:00
|
|
|
- narrow to a channel
|
2021-08-20 22:54:08 +02:00
|
|
|
- narrow to a topic
|
2023-06-16 00:55:22 +02:00
|
|
|
- narrow to direct messages with one user
|
|
|
|
- narrow to a group direct message
|
2016-11-21 16:36:13 +01:00
|
|
|
- Click on the Zulip logo
|
2021-08-20 22:54:08 +02:00
|
|
|
- narrow to a topic
|
2022-10-12 19:54:34 +02:00
|
|
|
- click on the Zulip logo (and verify you're in the Recent conversations view)
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Messagebox
|
2019-04-07 14:01:40 +02:00
|
|
|
|
|
|
|
With messagebox we want to test mainly the functioning of all
|
|
|
|
all the keyboard shortcuts and click handlers.
|
|
|
|
|
|
|
|
Apart from that there are three views of a message box, we want
|
|
|
|
to test their appearance too:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2019-04-07 14:01:40 +02:00
|
|
|
- Message that includes sender
|
|
|
|
- Message without the sender
|
|
|
|
- "/me" message
|
|
|
|
|
|
|
|
Here's how we're going to test the message appearances:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2019-04-07 14:01:40 +02:00
|
|
|
- narrow to a new topic and send a message (this message will include sender)
|
2022-02-07 21:38:40 +01:00
|
|
|
- edit the message ("EDITED" label should appear beside sender name)
|
2019-04-07 14:01:40 +02:00
|
|
|
- send another message (will not include sender)
|
2022-02-07 21:38:40 +01:00
|
|
|
- edit the message ("EDITED" label should appear in the left column, where the avatar is)
|
2019-04-07 14:01:40 +02:00
|
|
|
- send a "/me" message (`/me test message`)
|
2021-08-20 22:54:08 +02:00
|
|
|
- message should appear alongside sender name
|
2022-02-07 21:38:40 +01:00
|
|
|
- edit the message ("EDITED" label should appear beside the message)
|
2019-04-07 14:01:40 +02:00
|
|
|
|
|
|
|
For all the three cases, we need to test the click handlers and
|
|
|
|
the hotkeys too:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2019-04-07 14:01:40 +02:00
|
|
|
- Sender popover:
|
2021-08-20 22:54:08 +02:00
|
|
|
- click on the avatar and sender name for messages which include sender
|
|
|
|
- press 'u' to open the sender popover for all messages
|
2019-04-07 14:01:40 +02:00
|
|
|
- Message reply:
|
2021-08-20 22:54:08 +02:00
|
|
|
- click on message to reply
|
|
|
|
- use 'r' or Return hotkey to reply
|
|
|
|
- use '>' to quote and reply
|
|
|
|
- use '@' to mention and reply
|
2019-04-07 14:01:40 +02:00
|
|
|
- Reactions:
|
2021-08-20 22:54:08 +02:00
|
|
|
- click on the reactions button to open menu
|
|
|
|
- use ':' to open the reactions menu
|
|
|
|
- react to a message
|
2019-04-07 14:01:40 +02:00
|
|
|
- Chevron
|
2021-08-20 22:54:08 +02:00
|
|
|
- click on chevron to open menu
|
|
|
|
- use 'i' to open chevron menu
|
2019-04-07 14:01:40 +02:00
|
|
|
- Message edit
|
2021-08-20 22:54:08 +02:00
|
|
|
- click on message edit/view source button
|
|
|
|
- use 'i' + Return to edit/view source message
|
|
|
|
- click on the 'copy and close' option in view source and verify positioning of 'Copied!' label.
|
2019-04-07 14:01:40 +02:00
|
|
|
- Star a message:
|
2021-08-20 22:54:08 +02:00
|
|
|
- click on the star button in the right column
|
|
|
|
- use 'Ctrl + S' to star a message
|
2019-04-07 14:01:40 +02:00
|
|
|
- Message length
|
2023-04-08 15:19:10 +02:00
|
|
|
- send a long message and see if 'Show more' button appears
|
2021-08-20 22:54:08 +02:00
|
|
|
- click on the 'more' or 'collapse' link
|
|
|
|
- use i to collapse/expand a message irrespective of message length
|
2019-04-07 14:01:40 +02:00
|
|
|
- use 'v' to show all images in the thread
|
|
|
|
- use 'M' to mute the thread
|
|
|
|
|
|
|
|
Play with the screen size to check if the messagebox appears
|
|
|
|
fine in different screens too.
|
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Message editing
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
With message editing we mainly want to exercise topic changes.
|
|
|
|
|
|
|
|
Here are some tasks:
|
|
|
|
|
|
|
|
- Do lots of editing
|
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
- send a message to the topic "original"
|
|
|
|
- edit the message content
|
2024-05-20 17:43:55 +02:00
|
|
|
- send two messages to the "original" channel
|
2021-08-20 22:54:08 +02:00
|
|
|
- start to edit a message but then cancel
|
|
|
|
- change the topic for the first message to "change1" (just
|
|
|
|
this message)
|
|
|
|
- narrow back to "original"
|
2024-05-20 17:43:55 +02:00
|
|
|
- send one more message to the channel
|
2021-08-20 22:54:08 +02:00
|
|
|
- change the topic for the last two messages to "change2"
|
|
|
|
- narrow back to "original"
|
2024-05-20 17:43:55 +02:00
|
|
|
- send two more messages to the channel
|
2021-08-20 22:54:08 +02:00
|
|
|
- edit the 2nd message on topic and change all messages to
|
|
|
|
"change3"
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
- Test UI entry points
|
|
|
|
- hit "i" then down arrow to edit with the popup
|
|
|
|
- use the popup using the mouse
|
|
|
|
- enter edit mode using the pencil icon
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Narrowing
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
Zulip uses the term "narrowing" to refer to opening different views
|
|
|
|
of your messages, whether by clicking on sidebar options, recipient
|
2021-08-20 21:53:28 +02:00
|
|
|
bars, or by using search. The main focus of these tasks should
|
|
|
|
be watching unread counts. Of course, you also want to see messages
|
|
|
|
show up in the message pane. And, finally, you should make sure
|
2016-11-21 16:36:13 +01:00
|
|
|
that no messages outside the narrow show up in Cordelia's view.
|
|
|
|
|
2021-08-10 07:55:12 +02:00
|
|
|
:::{important}
|
|
|
|
Make sure that Cordelia is subscribed to Verona but not
|
2024-05-20 17:43:55 +02:00
|
|
|
subscribed to Denmark; if not, you should use different channels
|
2021-08-10 07:55:12 +02:00
|
|
|
for your testing.
|
|
|
|
:::
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
When testing narrows, you want to have Hamlet send the same message
|
|
|
|
several times in a row, while cycling Cordelia through various narrows.
|
|
|
|
|
|
|
|
Here are the main tasks for Hamlet (and each message gets sent several
|
|
|
|
times):
|
|
|
|
|
2023-06-16 00:55:22 +02:00
|
|
|
- Send Cordelia/Othello a direct message.
|
|
|
|
- Send Cordelia a direct message.
|
|
|
|
- Send Othello a direct message.
|
2016-11-21 16:36:13 +01:00
|
|
|
- Post to Verona/foo.
|
|
|
|
- Post to Verona/bar.
|
|
|
|
- Post to Denmark/foo.
|
|
|
|
- Post to Denmark/foo and mention Cordelia.
|
|
|
|
|
|
|
|
For each of the above types of messages, you will want to cycle
|
|
|
|
through the following views for Cordelia (and have Hamlet send new
|
|
|
|
messages after each narrow):
|
|
|
|
|
2024-04-02 13:10:48 +02:00
|
|
|
- Go to Combined feed view.
|
2024-04-17 20:53:00 +02:00
|
|
|
- Go to Direct message feed view.
|
2023-06-16 00:55:22 +02:00
|
|
|
- Go to Direct messages w/Hamlet.
|
|
|
|
- Go to Direct messages w/Hamlet and Othello.
|
2016-11-21 16:36:13 +01:00
|
|
|
- Go to Verona view.
|
|
|
|
- Go to Verona/bar view.
|
|
|
|
- Go to Verona/foo view.
|
|
|
|
- Go to Denmark view.
|
|
|
|
- Go to Denmark/foo view.
|
|
|
|
|
2021-08-20 21:53:28 +02:00
|
|
|
There are 56 things to test here. If you can get into a rhythm
|
2016-11-21 16:36:13 +01:00
|
|
|
where you can test each case in about 30 seconds, then the whole
|
|
|
|
exercise is about 30 minutes, assuming no bugs.
|
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Composing messages
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2020-08-11 01:47:49 +02:00
|
|
|
We have pretty good automated tests for our Markdown processor, so
|
2021-08-20 21:53:28 +02:00
|
|
|
manual testing is targeted more to other interactions. For composing
|
2016-11-21 16:36:13 +01:00
|
|
|
a message, pay attention to details like what is automatically
|
|
|
|
populated and where the focus is placed.
|
|
|
|
|
|
|
|
- Hotkeys
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- use r to reply to a channel message
|
2023-06-16 00:55:22 +02:00
|
|
|
- use r to reply to a direct message
|
|
|
|
- use R to reply to the author of a direct message
|
2024-05-20 17:43:55 +02:00
|
|
|
- use R to reply to the author of a direct message channel
|
|
|
|
- use c to compose a channel message
|
2023-06-16 00:55:22 +02:00
|
|
|
- use x to compose a new direct message
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Buttons
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Narrow to a channel and click on "New topic"
|
2024-04-17 20:53:00 +02:00
|
|
|
- Narrow to "Direct message feed" and click on "New topic"
|
2024-05-20 17:43:55 +02:00
|
|
|
- Narrow to a channel and click on "New direct message"
|
2024-04-17 20:53:00 +02:00
|
|
|
- Narrow to "Direct message feed" and click on "New direct message"
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Topics
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Compose/send a message to a channel with no topic.
|
|
|
|
- Compose/send a message to a channel with a new topic.
|
|
|
|
- Compose/send a message to a channel with autocomplete.
|
|
|
|
- Compose/send a message to a channel manually typing an
|
2021-08-20 22:54:08 +02:00
|
|
|
existing topic.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Formatting stuff
|
2021-08-20 22:54:08 +02:00
|
|
|
|
|
|
|
- Use the "A" icon to get Markdown help.
|
|
|
|
- Use the eyeball icon to show a preview and send from preview mode.
|
|
|
|
- Toggle in and out of preview before sending a message.
|
|
|
|
- Use @-mention to mention Hamlet (and send him a message).
|
|
|
|
- Use `#**devel**` syntax and send to Hamlet, then follow the link.
|
|
|
|
- Create a bulleted list.
|
|
|
|
- Use the emoji icon to find an emoji in the picker.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Attachments
|
2021-08-20 22:54:08 +02:00
|
|
|
|
|
|
|
- Send a message with an attachment using the paperclip icon.
|
|
|
|
- Send a message with multiple attachments.
|
|
|
|
- Copy an image from the clipboard.
|
|
|
|
- Use drag/drop from the desktop to upload an image.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Drafts
|
2021-08-20 22:54:08 +02:00
|
|
|
|
|
|
|
- Start composing a message then click outside the compose box.
|
|
|
|
- Use "restore drafts" to restore the draft.
|
|
|
|
- Start composing then use "Esc" to abort the message.
|
|
|
|
- Use "restore drafts" to restore the draft.
|
2024-05-20 17:43:55 +02:00
|
|
|
- Start composing a channel message and then abort using
|
2021-08-20 22:54:08 +02:00
|
|
|
the little "x" icon in the compose box.
|
2023-06-16 00:55:22 +02:00
|
|
|
- Click on "New direct message" and restore the draft. (You
|
2024-05-20 17:43:55 +02:00
|
|
|
should now be sending to a channel.)
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Click to send
|
2021-08-20 22:54:08 +02:00
|
|
|
- Turn off Enter-to-send.
|
|
|
|
- Send a two-paragraph message using Tab and Enter.
|
|
|
|
- Send a two-paragraph message using Ctrl-Enter or Cmd-Enter.
|
|
|
|
- Turn on Enter-to-send.
|
|
|
|
- Hit Enter to send.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Popover menus
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
For this task you just want to go through all of our popover menus
|
2021-08-20 21:53:28 +02:00
|
|
|
and exercise them. The main nuance here is that you occasionally want
|
2016-11-21 16:36:13 +01:00
|
|
|
to click somewhere on the UI outside of an existing popover to see if
|
2021-08-20 21:53:28 +02:00
|
|
|
the popover menu is "too sticky." Also, occasionally actions will be
|
2016-11-21 16:36:13 +01:00
|
|
|
somewhat jarring; for example, if you mute a message in the current view,
|
|
|
|
then the message will disappear from the view.
|
|
|
|
|
|
|
|
Here are the things to test:
|
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Channel sidebar menus (click ellipsis when hovering over channel filters)
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Channel settings (just make sure it goes there)
|
2021-08-20 22:54:08 +02:00
|
|
|
- Narrow (and then have Hamlet send a message)
|
|
|
|
- Pin/unpin (do both)
|
2024-05-20 17:43:55 +02:00
|
|
|
- Compose (send a message to the channel)
|
2021-08-20 22:54:08 +02:00
|
|
|
- Mark as read (scroll back and then have Hamlet send you a message)
|
|
|
|
- Mute/unmute (do both)
|
2024-05-20 17:43:55 +02:00
|
|
|
- Unsubscribe (and then go to Channel settings in the gear menu to resubscribe)
|
2021-08-20 22:54:08 +02:00
|
|
|
- Choose custom color (play around with this)
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2020-06-16 05:49:21 +02:00
|
|
|
- Topic sidebar menus (click ellipsis when hovering over topics)
|
2021-08-20 22:54:08 +02:00
|
|
|
|
|
|
|
- Narrow (and then have Hamlet send a message)
|
|
|
|
- Mute/unmute (try both)
|
|
|
|
- Mark as read (scroll back and then have Hamlet send you a message)
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Left-message-pane menus (click on person's name)
|
2021-08-20 22:54:08 +02:00
|
|
|
|
|
|
|
- Verify email
|
|
|
|
- Verify date message sent
|
2023-06-16 00:55:22 +02:00
|
|
|
- Send a direct message (make sure compose box is filled out ok)
|
|
|
|
- Narrow to direct messages with
|
|
|
|
- Narrow to direct messages sent by
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Right-pane-pane menus (click on chevron when hovering)
|
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
- use "i" hotkey to open the menu
|
|
|
|
- Edit a message you sent (using the down-arrow key to navigate the popup)
|
|
|
|
- View Source for somebody else's message (make sure
|
|
|
|
it's not editable)
|
|
|
|
- Reply (send a message)
|
|
|
|
- Collapse/uncollapse (try both)
|
|
|
|
- Mute/unmute (try both, watch left sidebar)
|
|
|
|
- Link to this conversation
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
- Buddy list menus (click ellipsis when hovering over users)
|
2023-06-16 00:55:22 +02:00
|
|
|
- Narrow to direct messages with
|
2021-08-20 22:54:08 +02:00
|
|
|
- Narrow to message sent by
|
|
|
|
- Compose a message to
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Sidebar filtering
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
This is a fairly quick task where we test the search filters on the left sidebar
|
2021-08-20 21:53:28 +02:00
|
|
|
and the buddy list. If Cordelia is not subscribed to Denmark, subscribe her to
|
2024-05-20 17:43:55 +02:00
|
|
|
that channel.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Channels filtering
|
2021-08-20 22:54:08 +02:00
|
|
|
|
|
|
|
- Use "w" hotkey to open the search.
|
|
|
|
- Filter on "d".
|
|
|
|
- Pin/unpin Denmark.
|
|
|
|
- Clear filter.
|
2024-05-20 17:43:55 +02:00
|
|
|
- Use "A" and "D" hotkeys to cycle through the channels.
|
2021-08-20 22:54:08 +02:00
|
|
|
- Filter again and then click somewhere else.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
- Buddy list filtering
|
2021-08-20 22:54:08 +02:00
|
|
|
- Use "q" hotkey to open the search.
|
|
|
|
- Filter for Hamlet, Prospero, Othello, etc.
|
|
|
|
- Log on Hamlet and log off Hamlet while filtering for Hamlet.
|
|
|
|
- Log on/log off Hamlet while filtering for Othello.
|
|
|
|
- Log on/log off Hamlet while not filtering at all.
|
|
|
|
- Filter again and then click somewhere else.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
### Channel permissions
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
This is an important category to test, because we obviously do not
|
2024-05-20 17:43:55 +02:00
|
|
|
want to have bugs where people can read messages on channels they
|
2016-11-21 16:36:13 +01:00
|
|
|
should not have access to.
|
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
The general flow here is for Hamlet to create the channels and verify
|
2016-11-21 16:36:13 +01:00
|
|
|
that Cordelia has the correct visibility to them.
|
|
|
|
|
|
|
|
First, we start off with "positive" tests.
|
|
|
|
|
|
|
|
- Positive tests
|
2024-05-20 17:43:55 +02:00
|
|
|
- Have Hamlet create a public channel w/Cordelia subscribed and
|
|
|
|
have him post a message to the channel.
|
|
|
|
- Have Hamlet create a public channel without Cordelia and then...
|
|
|
|
- Have Hamlet post to the channel.
|
|
|
|
- Have Cordelia subscribe to the channel.
|
2021-08-20 22:54:08 +02:00
|
|
|
- Verify Cordelia can see the previous message.
|
2024-05-20 17:43:55 +02:00
|
|
|
- Have Cordelia post a message to the channel.
|
|
|
|
- Have Hamlet create a private channel with Cordelia
|
2021-08-20 22:54:08 +02:00
|
|
|
invited and test a two-way conversation between the two
|
|
|
|
users.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
For negative tests, we want to dig a little deeper to find back
|
2024-05-20 17:43:55 +02:00
|
|
|
doors for Cordelia to access the channel. Here are some techniques
|
2016-11-21 16:36:13 +01:00
|
|
|
to try:
|
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Try to have her compose a message to the channel by
|
2016-11-21 16:36:13 +01:00
|
|
|
circumventing autocomplete.
|
2024-05-20 17:43:55 +02:00
|
|
|
- Try to have her narrow to the channel using channel:foo
|
2016-11-21 16:36:13 +01:00
|
|
|
in search.
|
2024-05-20 17:43:55 +02:00
|
|
|
- Go to channel settings and see if the channel shows up.
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
For public channels, it's ok for Cordelia to know the channel exists,
|
|
|
|
and she can subsequently subscribe. For private channels, she should
|
2016-11-21 16:36:13 +01:00
|
|
|
not even know they exist (until she's invited, of course).
|
|
|
|
|
|
|
|
- Negative tests
|
2024-05-20 17:43:55 +02:00
|
|
|
- Have Hamlet create a public channel without inviting Cordelia.
|
|
|
|
- Verify Cordelia can see the channel in her settings.
|
|
|
|
- Verify Cordelia can't compose a message to the channel.
|
2021-08-20 22:54:08 +02:00
|
|
|
- Verify that Cordelia sees nothing when Hamlet posts to
|
2024-05-20 17:43:55 +02:00
|
|
|
the channel.
|
|
|
|
- Have Hamlet create a public channel with Cordelia, but then
|
2021-08-20 22:54:08 +02:00
|
|
|
have Iago revoke her subscription using the admin page.
|
2024-05-20 17:43:55 +02:00
|
|
|
- Verify that the channel appears in Cordelia's left sidebar
|
2021-08-20 22:54:08 +02:00
|
|
|
and then goes away.
|
2024-05-20 17:43:55 +02:00
|
|
|
- Try to have Cordelia view the channel using a sneaky
|
|
|
|
search along the lines of `channel:foo`.
|
|
|
|
- Have Hamlet create a private channel without inviting Cordelia.
|
|
|
|
- Verify Cordelia can't compose a message to the channel.
|
2021-08-20 22:54:08 +02:00
|
|
|
|
|
|
|
### Search
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
The main task for testing search is to play around with search
|
2021-08-20 21:53:28 +02:00
|
|
|
suggestions (autocomplete). Once you select an option, verify the
|
2016-11-21 16:36:13 +01:00
|
|
|
message view is consistent with the search and that the left sidebar
|
2021-08-20 21:53:28 +02:00
|
|
|
reflects the current narrow. If a search comes up legitimately
|
2016-11-21 16:36:13 +01:00
|
|
|
empty, have Hamlet send a message that matches the search.
|
|
|
|
|
|
|
|
Here are searches you should be able to do with autocomplete:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- channel:design
|
|
|
|
- channel:Verona topic:Verona1
|
|
|
|
- channel:Verona keyword
|
2016-11-21 16:36:13 +01:00
|
|
|
- sent by me
|
|
|
|
- @-mentions
|
|
|
|
- starred messages
|
|
|
|
- messages sent by Hamlet
|
2023-06-16 00:55:22 +02:00
|
|
|
- direct messages with Hamlet
|
|
|
|
- direct messages with Hamlet matching keyword "foo"
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
There are some things you can try that don't come up in autocomplete:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- -channel:Verona (exclude Verona)
|
|
|
|
- channel:Verona channel:devel (should return no results)
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
Miscellaneous:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2016-11-21 16:36:13 +01:00
|
|
|
- Use the "/" hotkey to start a search.
|
|
|
|
- Use the "x" icon to clear a search.
|
|
|
|
- Use the "Esc" hotkey to clear a search.
|
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
### Channel settings
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
Test various UI entry points into channel settings:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2016-11-21 16:36:13 +01:00
|
|
|
- Use small gear menu in left sidebar, then filter to "devel".
|
|
|
|
- Use popover menu in left sidebar next to "devel".
|
|
|
|
- Use gear menu above buddy list and filter to "devel".
|
|
|
|
- Use gear menu and click on "devel."
|
|
|
|
- Use gear menu and then click on chevron menu next to "devel."
|
|
|
|
(I'm not sure why we still have the chevron at this writing.)
|
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
Create new public channel "public1" and add Hamlet:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Type "public1" in the text box and then click "Create new channel."
|
2016-11-21 16:36:13 +01:00
|
|
|
- Select "People must be invited" and then verify you can't
|
2024-05-20 17:43:55 +02:00
|
|
|
select "Announce new channel in #[announcement channel]".
|
2016-11-21 16:36:13 +01:00
|
|
|
- Select "Anyone can join" again to make it be public.
|
|
|
|
- Check the checkbox for Hamlet.
|
|
|
|
- Hit the "Create" button.
|
|
|
|
|
|
|
|
Test subscribe/unsubscribe:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Log in as Hamlet and go to his channel settings.
|
2016-11-21 16:36:13 +01:00
|
|
|
- As Cordelia, unsubscribe from "public1" using the checkmark in the
|
2024-05-20 17:43:55 +02:00
|
|
|
channel settings page.
|
2017-01-15 05:13:22 +01:00
|
|
|
- Verify that Hamlet sees that Cordelia has unsubscribed (and the
|
2016-11-21 16:36:13 +01:00
|
|
|
subscriber count should decrement).
|
|
|
|
- As Cordelia, resubscribe to "public1."
|
|
|
|
- Verify Hamlet sees that change.
|
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
As Cordelia, exercise different options in **Create Channel**
|
|
|
|
dialog by creating channels s1, s2, s3, etc.:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2016-11-21 16:36:13 +01:00
|
|
|
- s1: anyone can join, announce it, and add Hamlet using filter feature
|
|
|
|
- s2: people must be invited
|
|
|
|
- s3: anyone can join, don't announce
|
|
|
|
- s4: check all, then uncheck all, then invite only Hamlet
|
|
|
|
- s5: invite everybody but Hamlet
|
|
|
|
- s6:
|
2024-05-20 17:43:55 +02:00
|
|
|
- create the channel as public, but don't subscribe anybody initially
|
|
|
|
- then click on channel options to add Hamlet using "Add" button
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
Test per-channel options:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2024-05-20 17:43:55 +02:00
|
|
|
- Use "devel" channel and send a message to it
|
2016-11-21 16:36:13 +01:00
|
|
|
- Do mute and unmute, have Hamlet send messages
|
|
|
|
- Test notifications on/off, have Hamlet send messages
|
|
|
|
- Test pin and unpin, view left sidebar
|
2024-05-20 17:43:55 +02:00
|
|
|
- Change channel color, and then view the left sidebar and the All
|
2017-08-08 07:37:39 +02:00
|
|
|
messages view
|
2024-05-20 17:43:55 +02:00
|
|
|
- Verify channel subscriber counts in the main channel view
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### User settings
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
You can modify per-user settings by choosing "Settings" in the gear menu.
|
|
|
|
Do these tasks as Cordelia.
|
|
|
|
|
2017-01-15 20:34:59 +01:00
|
|
|
- Your account
|
2021-08-20 22:54:08 +02:00
|
|
|
- Change full name (Hamlet should see the name change)
|
|
|
|
- Customize profile picture
|
|
|
|
- Deactivate account (and then log in as Iago to re-activate Cordelia)
|
2023-06-29 15:28:38 +02:00
|
|
|
- Preferences
|
2021-08-20 22:54:08 +02:00
|
|
|
- Right now, these unfortunately require reloads to take effect.
|
|
|
|
- Default language (change to Spanish)
|
|
|
|
- 24-hour time (and then test going back to AM/PM)
|
2016-11-21 16:36:13 +01:00
|
|
|
- Notifications
|
2024-05-20 17:43:55 +02:00
|
|
|
- Channel message
|
2021-08-20 22:54:08 +02:00
|
|
|
- turn off notifications at user level
|
2024-05-20 17:43:55 +02:00
|
|
|
- create a new channel
|
2021-08-20 22:54:08 +02:00
|
|
|
- have Hamlet send a message
|
|
|
|
- turn on notifications at user level
|
2024-05-20 17:43:55 +02:00
|
|
|
- create a new channel
|
2021-08-20 22:54:08 +02:00
|
|
|
- have Hamlet send a message
|
2024-05-20 17:43:55 +02:00
|
|
|
- then turn off notifications for that channel
|
2021-08-20 22:54:08 +02:00
|
|
|
- have Hamlet send another message
|
2023-06-16 00:55:22 +02:00
|
|
|
- Direct messages and @-mentions
|
2021-08-20 22:54:08 +02:00
|
|
|
- Test Desktop/Audible options
|
|
|
|
- You can ignore other stuff for now
|
2016-11-21 16:36:13 +01:00
|
|
|
- Bots/API key
|
2023-06-16 00:55:22 +02:00
|
|
|
- Create a bot with a generic avatar and send it a direct message
|
|
|
|
- Create a bot with a custom avatar and send it a direct message
|
2021-08-20 22:54:08 +02:00
|
|
|
- Change your API key
|
2016-11-21 16:36:13 +01:00
|
|
|
- Alert words
|
2021-08-20 22:54:08 +02:00
|
|
|
- Create an alert word
|
|
|
|
- Have Hamlet send you a message that includes the alert word
|
2016-11-21 16:36:13 +01:00
|
|
|
- Zulip labs
|
2021-08-20 22:54:08 +02:00
|
|
|
- Turn on auto-scroll to new messages (and have Hamlet send you one)
|
2024-05-20 17:43:55 +02:00
|
|
|
- Turn on/off "Enable desktop notifications for new channels" and test.
|
2021-08-20 22:54:08 +02:00
|
|
|
(We may eliminate this option soon.)
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Keyboard shortcuts
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
We mostly test keyboard shortcuts as part of other tasks.
|
|
|
|
|
|
|
|
Here are the tasks for this section:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2016-11-21 16:36:13 +01:00
|
|
|
- Use the "?" hotkey to open the keyboard help
|
|
|
|
- Proofread the dialog for typos.
|
|
|
|
- Close the dialog.
|
|
|
|
- Re-open the keyboard help using the gear menu.
|
|
|
|
- Find a hotkey that you don't frequently use and experiment with its
|
|
|
|
usage.
|
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Miscellaneous menu options
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
Make sure that these options launch appropriate help screens:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2016-11-21 16:36:13 +01:00
|
|
|
- Proofread and try a couple random options:
|
2021-08-20 22:54:08 +02:00
|
|
|
- Message formatting
|
2022-12-09 22:19:28 +01:00
|
|
|
- Search filters
|
2016-11-21 16:36:13 +01:00
|
|
|
- Make sure help launches in a separate browser tab:
|
2021-08-20 22:54:08 +02:00
|
|
|
- Desktop and mobile apps
|
|
|
|
- Integrations
|
|
|
|
- API documentation
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### Inviting users/tutorial
|
2016-11-21 16:36:13 +01:00
|
|
|
|
|
|
|
Here are the tasks:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2016-11-21 16:36:13 +01:00
|
|
|
- Invite ignore@zulip.com using the link beneath the buddy list but
|
|
|
|
then don't take further action.
|
|
|
|
- Fully invite foo@zulip.com using the gear menu.
|
2016-11-29 23:23:54 +01:00
|
|
|
- Go to the development console to get the login link for foo@zulip.com.
|
2016-11-21 16:36:13 +01:00
|
|
|
- Go through the signup flow.
|
|
|
|
- Follow the tutorial.
|
|
|
|
- Use the gear menu to log out.
|
|
|
|
- Log back in as Cordelia (admittedly, this step doesn't really QA
|
|
|
|
much of our production code, since the login flow is customized for
|
2016-11-29 23:23:54 +01:00
|
|
|
the development environment).
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 22:54:08 +02:00
|
|
|
### To be continued...
|
2016-11-21 16:36:13 +01:00
|
|
|
|
2021-08-20 21:53:28 +02:00
|
|
|
This document does not cover settings/admin options yet. The main
|
2017-02-21 21:34:13 +01:00
|
|
|
things to do when testing the settings system are:
|
2021-08-20 22:54:08 +02:00
|
|
|
|
2017-02-21 21:34:13 +01:00
|
|
|
- Verify that changes are synced to other users.
|
|
|
|
- Verify error messages appear if you do something wrong and look right.
|
|
|
|
- For organization settings, verify that they look right in read-only
|
|
|
|
mode (i.e. when not logged into an administrator account).
|