Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Document Version 1.0

Status: Test for v0.0.1 complete

...

Test Area - Export

Test ID

Test Case

Test Procedure

Result

Notes

19

A system message notifies of successful export command execution on the channel where export is initiated

  1. Issue a /export slash command in a channel.

  2. Verify that as soon as the slash command is issued, a system message notifies the user that the channel export has begun.

Pass

20

A bot message notifies of a successful export

  1. Issue a /export slash command in a channel.

  2. If exported successfully, verify that a Channel Export bot notifies of the successful export in the bot’s DM channel.

Pass

21

The exported file can be downloaded locally

  1. Issue a /export slash command in a channel.

  2. If exported successfully, verify that the exported channel can be downloaded in the bot’s DM channel.

Pass

22

Channel is exported in CSV file format

  1. Issue a /export slash command in a channel.

  2. If exported successfully, verify that the exported file is in CVS format.

Pass

23

Exported CSV filename has [channel-name].csv format

  1. Issue a /export slash command in a channel.

  2. If exported successfully, verify that the exported file has the filename in [channel_name].csv format.

Pass

24

A bot message notifies of an unsuccessful export

  1. Issue a /export slash command in a channel such that the export is not successfully.

  2. Verify that the bot notifies for the failed export in the bot’s DM.

Pass

Saw “there was an error…” message once during export failure

25

Exported CSV has messages of a channel in chronological order

  1. Export a channel.

  2. Go to the Channel Export bot’s DM channel.

  3. Download the exported file.

  4. Open up the file.

  5. Verify that the exported messages are in chronological order in each row, with the most recent message on the first row.

Pass

26

Exported CSV has date

  1. Find a channel where messages were sent in different days.

  2. Export the channel.

  3. Download the exported file.

  4. Open the exported file.

  5. Verify that the messages and dates of when the messages were sent are correctly matched in the file.

Pass

27

Exported CSV has timestamp

  1. Post several messages in a channel at varying intervals.

  2. Export the channel.

  3. Download the exported file.

  4. Open the exported file.

  5. Verify that the messages and timestamps of when the messages were sent are correctly matched in the file.

Fail

Times are off, even though there is timestamp and messages appear in chronological order.

28

Exported CSV has message senders username

  1. Find a channel where multiple users have sent several messages.

  2. Export the channel.

  3. Download the exported file.

  4. Open the exported file.

  5. Verify that the messages and the senders are correctly matched in the file.

Fail

The “username” column shows users' nickname instead of username. When nickname is left empty, there is no username in the CSV.

29

A channel with no messages can be exported successfully

  1. Create a new channel.

  2. Without sending any message in the channel, export the channel.

  3. Download the exported file.

  4. Verify the content of the exported channel in the file.

Pass

30

A channel with more than 100 messages can be exported successfully

  1. Find a channel with more than 100 messages.

  2. Export the channel.

  3. Download the exported file.

  4. Verify that all messages appear correctly in the file.

Pass

31

A channel with media files can be exported successfully

  1. Find a channel with different media, or send media messages in a channel.

  2. Export the channel.

  3. Download the file.

  4. (How is media exported?) In v0.0.1

    1. Emoji reactions show as :emoji_code:

    2. Media files show as empty messages

Pass

From Alejandro: For v.0.0.1, exporting the messages. No reactions, no media, no edit history.

...