Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Document version 1.

...

1

Status:

...

Test Completed

Document Version

Description

Date

0.0

Initial version

05/14

0.1

Initial review from the team

06/15

1.0

Test run for 0.5 complete

07/2324

1.1

Test doc cleaned up

07/27

References

...

Incident created without selecting a playbook is public by defaultPassPassPassPassPassPassContinue from the above test. add checklist items to Pub C.
  • Check at least 1 item on the checklist.

  • As user-2 go to Team Y.

  • From the public channels list in the LHS, find the incident channel for “Pub C” and click.

  • Verify that the Pub C incident details view opens up in the RHS.

  • Verify that user-2 can see the checklist items as created in step 1.

  • Verify that user-2 can see the correct state of checklist items as modified in step 2.

  • Non participants cannot edit incident details in RHS of a public incident unless added as the incident channel’s member user 2, go to Team Y.View Pub C’s details on the RHS the checklist items are greyed out (inactive).
  • Verify user-2 cannot add items to the checklist.

  • Verify user-2 cannot check off checklist items.

  • Verify user-2 cannot uncheck checklist items.

  • System
  • Log in as team admin.

  • Launch playbook backstage.

  • Click on “New Playbook”.

  • Enter “PB 1” for Playbook Name

    Test Area - Limit incident access to only participants

    As an incident participant, I can make an incident and its channel private so that non-participants don’t know it exists let alone access its content.

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    14

    Incident cannot be created without selecting a playbook

    1. As user-1, bring up the incident creation modal.

    2. Provide a channel name.

    3. Do not select anything from the Playbook dropdown.

    4. Do not input anything for Channel Name.

    5. Click “Start Incident”.

    6. Verify that incident is not created.

      1. Verify that the Incident Details modal remains open.

      2. Verify that “This field is required.” message appears below Playbook dropdown.

      3. Verify that “This field is required.” message appears below Channel Name input box.

    7. Enter a Channel Name.

    8. Leave the Playbook field empty.

    9. Repeat steps 5 and 6.

     Pass

    15

    User can make a public incident

    1. As user-1, create a public playbook as follows:

      1. Launch the playbook backstage.

      2. Click “New Playbook”.

      3. Provide name of the playbook - “Public PB 1“.

      4. Enable the “Create Public Incident” option.

      5. Enter a few checklist items.

      6. Click “Save”.

    2. Switch to the main channel view.

    3. Create an incident by selecting the playbook “Public PB 1”.

    4. Do not add any other user to the incident channel.

    5. As user-2, verify that the incident is visible in the incident backstage.

    6. Click on the incident.

    7. Verify that the incident details can’t be viewed.

    8. Verify that the incident details can be viewed.

    Pass

     Pass

    #7 is a bug.

    Fixed in master with https://github.com/mattermost/mattermost-plugin-incident-response/pull/219

    16

    User can make a private incident

    1. As user-1, launch the playbook backstage.

    2. Click “New Playbook”.

    3. Provide a playbook name “Private-PB-1”.

    4. Keep the “Create Public Incident” option disabled.

    5. Add some checklist items.

    6. Save playbook.

    7. Create an incident by selecting the playbook “Private-PB-1”.

    8. Log in as user-2.

    9. Launch incident backstage.

    10. Verify that the incident is not visible in the incident list.

    Pass

     Pass

    17

    Converting a public incident channel into private, makes the incident private

    1. As a sysadmin, create a public incident “Pub-1”.

    2. Log in as user-1.

    3. Join the “Pub-1” incident channel to become a participant.

    4. Convert it into a private incident

      1. Go to Pub-1 channel

      2. From the channel header, click the dropdown

      3. From the menu, select “Convert to Private Channel”

      4. In the “Convert public to a Private Channel” confirmation box, select “Yes..”

    5. Verify access in backstage

      1. Launch incident backstage.

      2. Verify that the incident is visible in the incident list.

      3. Click on the incident.

      4. Verify that the incident details are accurately displayed.

     Pass

    18

    Non participant cannot access a previously public incident converted to a private incident

    Continue the test from above.

    1. Log in as user-2.

    2. Verify incident is not accessible in backstage.

      1. Launch incident backstage.

      2. Verify that the incident is not visible in the incident list.

    Pass

     Pass

    19

    Non participant cannot access a new private incident

    1. As user-1, bring up the incident modal.

    2. Give it the channel name “Pr-In-1”.

    3. From the Playbook dropdown, select “Private-PB-1”.

    4. Click “Start Incident”.

    5. Do not add anyone else to the incident channel.

    6. Log in as user-2.

    7. Verify that the incident “Pr-In-1” is not visible in the incident RHS.

    8. Launch incident backstage.

    9. Verify that the incident “Pr-In-1” is not visible in the incident list.

    Pass

     Pass

    20

    Private incidents cannot be searched in backstage by non-participants.

    Continue from the above test.

    1. In the incident backstage, search for “Pub-1”.

    2. Verify that “Pub-1” incident is not present in the search result.

    3. Search for “Pr-In-1” in the backstage.

    4. Verify that “Pr-In-1” incident is not present in the search result.

     Pass

    21

    Public incidents are visible only within the incident’s team

    1. As user-1, create a public incident in Team X.

    2. Launch incident backstage.

    3. Verify that the incident is visible in the incident list.

    4. Switch to Team Y.

    5. Launch the incident backstage.

    6. Verify that the incident is not visible in the incident list.

    7. As user-2, go to Team X.

    8. Launch the incident backstage.

    9. Verify that the incident is visible in the incident list.

    10. Switch to Team Z.

    11. Verify that the incident is not visible in the incident list.

     Pass

    22

    Private incidents are visible only within the incident’s team

    1. As user-1, create a private incident using playbook with private setting on.

    2. Launch incident backstage.

    3. Verify that the incident is visible in the incident list.

    4. Switch to Team Y.

    5. Launch the incident backstage.

    6. Verify that the incident is not visible in the incident list.

    7. As user-2, go to Team X.

    8. Launch the incident backstage.

    9. Verify that the incident is not visible in the incident list.

    10. Switch to Team Z.

    11. Verify that the incident is not visible in the incident list.

     Pass

    23

    Public incidents cannot be searched in a different team’s incident backstage

    1. As user-1, create a public incident “Pub C” in Team Y.

    2. Launch incident backstage.

    3. Verify that the incident is visible in the incident list.

    4. Search for “Pub C” in the backstage.

    5. Verify that “Pub C” is present in the search result.

    6. Switch to Team X.

    7. Launch the incident backstage.

    8. Verify that the incident is not visible in the incident list.

    9. Search for “Pub C” in the backstage.

    10. Verify that “Pub C” is not present in the search result.

     Pass

    24

    Non participants can view public incident details in RHS

    System administrator cannot see a private incident

    1. As user-1,

    N/A

    Invalid - user has to be added to the IR channel to be able to launch anything about the incident in the RHS.

    25

    1. create a private incident “Pr A”.

    2. Add a few checklist items.

    3. Log in as sysadmin.

    4. Launch incident backstage.

    5. Verify that sysadmin cannot see “Pr A” in the incident list.

     Pass

    Won’t see private channel, but if permalink known, can simply browse to channel and self-join.

    25

    System administrator can join a private incident

    Continue from the above test.

    1. As

    1. sysadmin, use the permalink to the incident created in the above test.

    2. Verify that

    N/A

    Need to find out more about the mechanism to view the incident details on RHS if the details view is going to be tightly coupled with the channel view.

    26

    Non participant cannot view private incident details in RHS

    N/A

    Is this test case correct? Non-participant can’t see private channels.

    27

    System administrator cannot see a private incident

    1. As user-1, create a private incident “Pr A”.

    2. Add a few checklist items.

    3. Log in as sysadmin.

    4. Launch incident backstage.

    5. Verify that sysadmin cannot see “Pr A” in the incident list.

    Pass

    Won’t see private channel, but if permalink known, can simply browse to channel and self-join.

    28

    System administrator can join a private incident
    1. sysadmin can successfully join the channel.

     Pass

    Won’t be in LHS, but definitely can join channel with permalink.

    26

    System administrator can view a private incident details

    Continue from the above test.

    1. As sysadmin, open up the incident RHS.

    2. Verify that sysadmin can see the incident details for “Pr A” on the RHS.

    3. Launch incident backstage.

    4. Click on “Pr A”.

    5. Verify that sysadmin can see the details of “Pr A” correctly in the details view in backstage.

     Pass

    27

    System administrator can check and uncheck items in private incidents

    Continue from the above test.

    1. As sysadmin, use open up the permalink incident RHS to the incident created in the above testview the details of “Pr A”.

    2. Check an item from the checklist.

    3. Verify that sysadmin can successfully join the channel.

    Pass

    Won’t be in LHS, but definitely can join channel with permalink.

    29

    System administrator can view a private incident details
    1. check an item off the list.

    2. Uncheck an item from the checklist.

    3. Verify that sysadmin can successfully uncheck an item off the list.

    4. Launch the incident backstage.

    5. Find and click “Pr A” to view the details.

    6. Verify that the items checked off and unchecked are reflected properly in the graph.

     Pass

    28

    System administrator can end a private incident

    Continue from the above test.

    1. As sysadmin, open up the incident details of “Pr A” on the RHS.

    2. Click “End Incident”.

    3. Verify that sysadmin can see the incident details for “Pr A” on the RHSis ended successfully.

    4. Launch the incident backstage.

    5. Click on “Pr A”.

    6. Verify that sysadmin can see the details of “Pr A” correctly in the details view in backstage.

    Pass

    30

    System administrator can check and uncheck items in private incidents

    Continue from the above test.

    1. As sysadmin, open up the incident RHS to view the details of “Pr A”.

    2. Check an item from the checklist.

    3. Verify that sysadmin can successfully check an item off the list.

    4. Uncheck an item from the checklist.

    5. Verify that sysadmin can successfully uncheck an item off the list.

    6. Launch the incident backstage.

    7. Find and click “Pr A” to view the details.

    8. Verify that the items checked off and unchecked are reflected properly in the graph.

    Pass

    31

    System administrator can add and remove checklist items in a private incident
    1. the incident end state under “Status” is properly reflected in the list view.

    2. Verify that the incident end state is properly reflected in the incident details view.

     Pass

    29

    Team administrator cannot see a private incident

    1. As user-1, create a private incident “Pr B”.

    2. Add checklist items “check 1” and “check 2”.

    3. Log in as a team admin.

    4. Verify that team admin cannot see the private channel “Pr B” on the LHS.

    5. Launch incident backstage.

    6. Verify that team admin cannot see “Pr B” in the incident list.

     Pass

    Team admins can’t see a private incident. Test changed from can to cannot.

    30

    Team administrator can check and uncheck items in private incidents

    Continue from the above test.

    1. As sysadmin, add checklist item “Admin check“ to “Pr A”Invite team admin to the “Pr B” incident channel.

    2. As team admin, open up the incident RHS to view the details of “Pr B”.

    3. Check both items “check 1” and “check 2” from the checklist.

    4. Verify that “Admin check” is successfully added to the checklist.Remove one of the items added earlier by user-1 team admin can successfully check the item off the list.

    5. Uncheck item “check 2” from the checklist.

    6. Verify that team admin can successfully uncheck the item is successfully removedoff the list.

    7. Launch the incident backstage.

    8. Find and click “Pr A” B” to view the details.

    9. Verify that the items added checked off and removed unchecked are reflected properly in the graph.

    N/A

    Can’t add/remove/edit checklist item now that the RHS is immutable.

    32

     Pass

    Team admins can’t see a private incident. Invalid test.

    31

    Team administrator can end a private incident

    Continue from the above test.

    1. As sysadminteam admin, open the incident details of “Pr A” B” on the RHS.

    2. Click “End Incident”.

    3. Verify that the incident is ended successfully.

    4. Launch the incident backstage.

    5. Verify that the incident end state under “Status” is properly reflected in the list view.

    6. Verify that the incident end state is properly reflected in the incident details view.

    Pass

    33

    Team administrator cannot see a private incident

    1. As user-1, create a private incident “Pr B”.

    2. Add checklist items “check 1” and “check 2”.

    3. Log in as a team admin.

    4. Verify that team admin cannot see the private channel “Pr B” on the LHS.

    5. Launch incident backstage.

    6. Verify that team admin cannot see “Pr B” in the incident list.

    Pass

    Team admins can’t see a private incident. Test changed from can to cannot.

    34

    Team administrator can join a private incident

    Continue from the above test.

    1. As team admin, in the main channel view, find and click “Pr B” on the LHS.

    2. Verify that team admin can successfully join the channel.

    N/A

    Team admins can’t see a private incident. Invalid test.

    35

    Team administrator can view a private incident details

    Continue from the above test.

    1. As team admin, open up the incident RHS.

    2. Verify that team admin can see the incident details for “Pr B” on the RHS.

    3. Launch incident backstage.

    4. Click on “Pr B.

    5. Verify that team admin can see the details of “Pr B” correctly in the details view in backstage.

    N/A

    Team admins can’t see a private incident. Invalid test.

    36

    Team administrator can check and uncheck items in private incidents

    Continue from the above test.

    1. Invite team admin to the “Pr B” incident channel.

    2. As team admin, open up the incident RHS to view the details of “Pr B”.

    3. Check both items “check 1” and “check 2” from the checklist.

    4. Verify that team admin can successfully check the item off the list.

    5. Uncheck item “check 2” from the checklist.

    6. Verify that team admin can successfully uncheck the item off the list.

    7. Launch the incident backstage.

    8. Find and click “Pr B” to view the details.

    9. Verify that the items checked off and unchecked are reflected properly in the graph.

    Pass

    Team admins can’t see a private incident. Invalid test.

    37

    Team administrator can add and remove checklist items in a private incident

    Continue from the above test.

    1. As team admin, add checklist item “check 3“ to “Pr B”.

    2. Verify that “check 3” is successfully added to the checklist.

    3. Remove “check 2” from the checklist.

    4. Verify that the item is successfully removed.

    5. Launch the incident backstage.

    6. Find and click “Pr B” to view the details.

    7. Verify that the items added and removed are reflected properly.

    N/A

    RHS is now immutable. Invalid test.

    38

    Team administrator can end a private incident

    Continue from the above test.

    1. As team admin, open the incident details of “Pr B” on the RHS.

    2. Click “End Incident”.

    3. Verify that the incident is ended successfully.

    4. Launch the incident backstage.

    5. Verify that the incident end state under “Status” is properly reflected in the list view.

    6. Verify that the incident end state is properly reflected in the incident details view.

    Pass

    Test Area - Configure playbooks to create public/private incidents

    As an incident manager, I can configure playbooks to create either public or private incidents so that it defaults to the correct permission when executed.

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    39

    Playbook can be configured to create a public incident

     Pass

    Non-admin team member cannot “invite” other team members to manage private playbook

    Test Area - Configure playbooks to create public/private incidents

    As an incident manager, I can configure playbooks to create either public or private incidents so that it defaults to the correct permission when executed.

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    32

    Playbook can be configured to create a public incident

    1. Log in as team admin.

    2. Launch playbook backstage.

    3. Click on “New Playbook”.

    4. Enter “PB 1” for Playbook Name.

    5. Enable the button to “Create Public Incident”.

    6. Add checklist items “item 1” , “item 2” and “item 3”.

    7. Click “Save Playbook”.

    8. Switch to normal channel view.

    9. Bring up the incident creation dialog.

    10. Create incident “New Public PB1”.

    11. From the playbook dropdown, select “PB 1”.

    12. Click “Start Incident”.

    13. Verify that the incident created has the correct checklist items.

    14. Log in as user-2.

    15. Launch incident backstage.

    16. Verify user-2 can see “New Public PB1” in the incident list.

     Pass

    33

    Playbook can be configured to create a private incident

    1. Log in as team admin.

    2. Launch playbook backstage.

    3. Click on “New Playbook”.

    4. Enter “PB 2” for Playbook Name.

    5. Ensure the button to “Create Public Incident” is disabled.

    6. Add checklist items “item a” , “item b” and “item c”.

    7. Click “Save Playbook”.

    8. Switch to normal channel view.

    9. Bring up the incident creation dialog.

    10. Create incident “New Public PB2”.

    11. From the playbook dropdown, select “PB 2”.

    12. Click “Start Incident”.

    13. Verify that the incident created has the correct checklist items.

    14. Log in as user-2.

    15. Launch incident backstage.

    16. Verify user-2 cannot see “New Public PB1” in the incident list.

     Pass

    34

    Playbook can be edited to change public incident creation setting to private

    Continue from the above tests.

    1. Log in as user-1.

    2. Launch playbook backstage.

    3. Find playbook “PB 1”.

    4. Click “Edit”.

    5. Disable the button to “Create Public Incident”.

    6. Click “Save Playbook”.

    7. Switch to normal channel view.

    8. Bring up the incident creation dialog.

    9. Create incident “Incident PB3”.

    10. From the playbook dropdown, select “PB 1”.

    11. Click “Start Incident”.

    12. Verify that the incident created has the correct checklist items.

    13. Log in as user-2.

    14. Launch incident backstage.

    15. Verify user-2 cannot see “Incident PB3” in the incident list.

     Pass

    35

    Playbook can be edited to change private incident creation setting to public

    Continue from the above tests.

    1. Log in as user-1.

    2. Launch playbook backstage.

    3. Find playbook “PB 2”.

    4. Click “Edit”.

    5. Enable the button to “Create Public Incident”.

    6. Add checklist items “item 1” , “item 2” and “item 3”.

    7. Click “Save Playbook”.

    8. Switch to normal channel view.

    9. Bring up the incident creation dialog.

    10. Create incident “New Public PB1”“Incident PB4”.

    11. From the playbook dropdown, select “PB 1”2”.

    12. Click “Start Incident”.

    13. Verify that the incident created has the correct checklist items.

    14. Log in as user-2.

    15. Launch incident backstage.

    16. Verify user-2 can see “New Public PB1” “Incident PB4” in the incident list.

    Pass

    40

    Playbook can be configured to create a private incident

    1. Log in as team admin.

    2. Launch playbook backstage.

    3. Click on “New Playbook”.

    4. Enter “PB 2” for Playbook Name.

    5. Ensure the button to “Create Public Incident” is disabled.

    6. Add checklist items “item a” , “item b” and “item c”.

    7. Click “Save Playbook”.

    8. Switch to normal channel view.

    9. Bring up the incident creation dialog.

    10. Create incident “New Public PB2”.

    11. From the playbook dropdown, select “PB 2”.

    12. Click “Start Incident”.

    13. Verify that the incident created has the correct checklist items.

    14. Log in as user-2.

    15. Launch incident backstage.

    16. Verify user-2 cannot see “New Public PB1” in the incident list.

    41

    Playbook can be edited to change public incident creation setting to private

    Continue from the above tests.

    1. Log in as user-1.

    2. Launch playbook backstage.

    3. Find playbook “PB 1”.

    4. Click “Edit”.

    5. Disable the button to “Create Public Incident”.

    6. Click “Save Playbook”.

    7. Switch to normal channel view.

    8. Bring up the incident creation dialog.

    9. Create incident “Incident PB3”.

    10. From the playbook dropdown, select “PB 1”.

    11. Click “Start Incident”.

    12. Verify that the incident created has the correct checklist items.

    13. Log in as user-2.

    14. Launch incident backstage.

    15. Verify user-2 cannot see “Incident PB3” in the incident list.

    Pass

    42

    Playbook can be edited to change private incident creation setting to public

    Continue from the above tests.

    1. Log in as user-1.

    2. Launch playbook backstage.

    3. Find playbook “PB 2”.

    4. Click “Edit”.

    5. Enable the button to “Create Public Incident”.

    6. Click “Save Playbook”.

    7. Switch to normal channel view.

    8. Bring up the incident creation dialog.

    9. Create incident “Incident PB4”.

    10. From the playbook dropdown, select “PB 2”.

    11. Click “Start Incident”.

    12. Verify that the incident created has the correct checklist items.

    13. Log in as user-2.

    14. Launch incident backstage.

    15. Verify user-2 can see “Incident PB4” in the incident list.

    Pass

    Test Area - Prioritize incidents that the user is a participant of

    As an incident participant, I can easily tell apart the incidents that are relevant to me so that it’s I can get there more quickly.

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    43

    Incidents in backstage will be listed in priority order

    1. Log in as user-1.

    2. Add user-2 to incident “New Public PB 1”.

    3. Log in as user-2.

    4. Create a private incident “U2 Pr 1”.

    5. Launch incident backstage.

    6. Verify that the incidents are listed in the following order:

      1. U2 Pr 1 (user-2 is the creator)

      2. New Public PB 1 (user-2 is the member of)

      3. Incident PB4 (public incident that user-2 is not a member of)

    7. Switch to a normal channel view.

    8. Create a new public incident “U2 Pu”.

    9. Launch incident backstage.

    10. Verify that the incidents are listed in the following order:

      1. U2 Pu (the latest incident created by user-2)

      2. U2 Pr 1

      3. New Public PB 1

      4. Incident PB 4

    N/A

    Is the order correct in step 6 and 10?

    Prioritizing incident was for RHS incident list. Since incident list is removed from the RHS, this test is invalid.

    Effect of search on priority ordering in backstage

    N/A

    Effect of sorting on priority ordering in backstage

    N/A

    Effect on LHS channel order for priority ordering

    N/A

    Test Area - Limit the ability to create playbooks to Team Administrators

    As a system administrator, I can restrict who can create playbooks so that the incident response process can be better standardized.

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    44

    System administrator can create a public incident playbook

    1. Log in as a sysadmin.

    2. Launch the Playbooks backstage (either from main menu or incident RHS header’s playbook button).

    3. Click “New Playbook”.

    4. Enable the setting for “Create Public Playbook”.

    5. Provide “SA PB 1” for the Playbook Name.

    6. Enable the setting for “Create Public Incident” to allow the playbook to create public incidents by default.

    7. Add the following checklist items:

      1. Start test

      2. Edit test

      3. End test

    8. Click “Save Playbook”.

    9. Verify that upon saving, “SA PB 1” exists in the playbook list view in backstage.

    Pass

    45

    System administrator can create a private playbook

    1. Log in as a sysadmin.

    2. Launch the Playbooks backstage (either from main menu or incident RHS header’s playbook button).

    3. Click “New Playbook”.

    4. Enable the setting for “Create Public Playbook”.

    5. Provide “SA PB 2” for the Playbook Name.

    6. Disable the setting for “Create Public Incident” to allow the playbook to create private incidents by default.

    7. Add the following checklist items:

      1. Start test

      2. Edit test

      3. End test

    8. Click “Save Playbook”.

    9. Verify that upon saving, “SA PB 2” exists in the playbook list view in backstage.

    #4 correct?

    46

    Team admin can create a public playbook

    1. Log in as a team admin.

    2. Launch the Playbooks backstage (either from main menu or incident RHS header’s playbook button).

    3. Click “New Playbook”.

    4. Enable the setting for “Create Public Playbook”.

    5. Provide “TA PB 3” for the Playbook Name.

    6. Enable the setting for “Create Public Incident” to allow the playbook to create public incidents by default.

    7. Add the following checklist items:

      1. Start test

      2. Edit test

      3. End test

    8. Click “Save Playbook”.

    9. Verify that upon saving, “TA PB 3” exists in the playbook list view in backstage.

    #4 correct?

    47

    Team admin can create a private playbook

    1. Log in as a team admin.

    2. Launch the Playbooks backstage (either from main menu or incident RHS header’s playbook button).

    3. Click “New Playbook”.

    4. Enable the setting for “Create Public Playbook”.

    5. Provide “TA PB 4” for the Playbook Name.

    6. Disable the setting for “Create Public Incident” to allow the playbook to create private incidents by default.

    7. Add the following checklist items:

      1. Start test

      2. Edit test

      3. End test

    8. Click “Save Playbook”.

    9. Verify that upon saving, “TA PB 4” exists in the playbook list view in backstage.

    #4 correct?

    48

    A non-admin user cannot create a playbook

    1. Log in as a non-admin user.

    2. Launch playbooks backstage.

    3. Verify that there is no “New Playbook” button in the playbooks backstage.

    N/A

    Is #3 correct?

    49

    A non-admin user cannot create a private playbook

    N/A due to the test above this one. Is this correct?

    50

    A playbook is initially only visible to playbook creator

    1. Log in as a non-admin user.

    2. Launch playbooks backstage.

    3. Verify that playbooks “SA PB 2” and “TA PB 4” are not visible in the backstage.

    4. Switch to a normal channel view.

    5. Bring up the incident creation dialog.

    6. Verify that playbooks “SA PB 2” and “TA PB 4” are not available in the Playbook dropdown.

    7. Log in as the team admin.

    8. Launch Playbooks backstage.

    9. Verify that “SA PB 2” is not visible in the backstage.

    10. Switch to normal channel view.

    11. Bring up the incident creation dialog.

    12. Verify that “SA PB 2” is not available in the Playbook dropdown.

    13. Log in as the sysadmin.

    14. Launch Playbooks backstage.

    15. Verify that “TA PB 4” is not visible in the backstage.

    16. Switch to normal channel view.

    17. Bring up the incident creation dialog.

    18. Verify that “TA PB 4” is not available in the Playbook backstage.

    ==========

    1. Log in as user-1.

    2. Launch playbook backstage.

    3. Create a new playbook “U1PB”.

    4. Verify that “Members” has only user-1 included.

    5. Switch to a normal channel view.

    6. Bring up the incident creation dialog.

    7. Verify that user-1 can see “U1PB” listed in the playbook dropdown.

    8. Log in as user-2.

    9. Launch playbook backstage.

    10. Verify that user-2 does not see “U1PB” in the Playbooks list.

    11. Switch to a normal channel view.

    12. Bring up the incident creation dialog.

    13. Verify that user-2 cannot see “U1PB” listed in the playbook dropdown.

    Pass

    51

    Private playbook is only available within the team it was created in

    1. Log in as sysadmin.

    2. Switch to different team than the one where “SA PB 1” and “SA PB 2” were created.

    3. Launch the Playbook backstage.

    4. Verify that the playbooks “SA PB 1” and “SA PB 2” are not visible in the backstage.

    5. Switch to normal channel view.

    6. Bring up the incident creation dialog.

    7. Verify that “SA PB 1” and “SA PB 2” are not available in the Playbook backstage.

    N/A

    52

    Public playbook is visible to all the members of a team

    1. Create a new team “Team B”.

    2. Don’t add any user to the team.

    3. Create a public playbook - “Pub-PB1”.

    4. Verify no other user (non-admin team member, guest) can see “Pub-PB1” in backstage since they are not added to Team B”.

    5. Add user-1 to Team B.

    6. Log in as user-1.

    7. Verify that user-1 can see “Pub-PB1” in backstage.

    8. Verify that user-1 can see “Pub-PB1” in incident creation dialog’s playbook dropdown.

    9. Add user-2 to Team B.

    10. Create a new public playbook - “Pub-PB2”.

    11. Verify that both user-1 and user-2 can see “Pub-PB2” in backstage.

    12. Verify that both user-1 and user-2 can see “Pub-PB2” in incident creation dialog’s playbook dropdown.

    N/A

    53

    Public playbook can be edited by member user of the team

    Continue from the above tests.

    1. Log in as user-1.

    2. In Team B, launch the Playbook backstage.

    3. Find the playbook “Pub-PB2”.

    4. Click Edit for the playbook.

    5. Enable the setting for “Create Public Incident”.

    6. Add item “new task”.

    7. Click “Save Playbook”.

    8. Verify that the edit has been saved properly.

    9. Click “Edit” again.

    10. Verify that the edits made in step 5 & 6 persisted.

    N/A

    54

    Team member can “invite” other team members to manage playbook

    dupe of 61

    55

    Team member can create an incident using public playbook

    Continue from the above test.

    1. Log in as user-2.

    2. Bring up the incident creation modal.

    3. Create a new incident with playbook “Pub-PB2”.

    4. Open the incident details.

    5. Verify that the incident created is a public incident.

    6. Verify that the incident created has all settings and checklist items as edited in the above test.

    N/A

    56

    Public playbook can be deleted by team member

    1. Log in as user-2.

    2. Launch Playbook backstage.

    3. Find “Pub-PB2”.

    4. Click “Delete” for the playbook.

    5. Click “Delete Playbook” in the confirmation modal.

    6. Verify that the playbook is gone from the backstage list view.

    7. Switch to normal channel view.

    8. Bring up the incident creation modal.

    9. Verify that “Pub-PB2” is not available in the playbook dropdown.

    N/A

    57

    Private playbook cannot be edited by a non-admin team member

    1. Note the playbook name and playbook-id of the private playbook “TA SB 4”

    2. Log in as user-1.

    3. Issue a PUT request to http://localhost:8065/plugins/com.mattermost.plugin-incident-response/api/v1/playbooks/[playbook-id]` with a payload change to add a checklist item.

    4. Verify that the request cannot be completed.

    5. As team admin, verify that the PUT request made in 3 did not take effect.

    N/A

    Using a direct PUT to test here because the user will not be able to find the private playbook in the UI.

    58

    Private playbook cannot be deleted by member user of the team

    Continue from the above test.

    1. Log in as user-1.

    2. Issue a DELETE request to http://localhost:8065/plugins/com.mattermost.plugin-incident-response/api/v1/playbooks/[playbook-id].

    3. Verify that the request cannot be completed.

    4. As team admin, verify that the playbook did not get deleted.

    59

     Pass

    Test Area - Prioritize incidents that the user is a participant of

    As an incident participant, I can easily tell apart the incidents that are relevant to me so that it’s I can get there more quickly.

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    36

    Incidents in backstage will be listed in priority order

    1. Log in as user-1.

    2. Add user-2 to incident “New Public PB 1”.

    3. Log in as user-2.

    4. Create a private incident “U2 Pr 1”.

    5. Launch incident backstage.

    6. Verify that the incidents are listed in the following order:

      1. U2 Pr 1 (user-2 is the creator)

      2. New Public PB 1 (user-2 is the member of)

      3. Incident PB4 (public incident that user-2 is not a member of)

    7. Switch to a normal channel view.

    8. Create a new public incident “U2 Pu”.

    9. Launch incident backstage.

    10. Verify that the incidents are listed in the following order:

      1. U2 Pu (the latest incident created by user-2)

      2. U2 Pr 1

      3. New Public PB 1

      4. Incident PB 4

    N/A

    Is the order correct in step 6 and 10?

    Prioritizing incident was for RHS incident list. Since incident list is removed from the RHS, this test is invalid.

    Test Area - Limit the ability to create playbooks to Team Administrators

    As a system administrator, I can restrict who can create playbooks so that the incident response process can be better standardized.

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    37

    System administrator can create a public incident playbook

    1. Log in as a sysadmin.

    2. Launch the Playbooks backstage (either from main menu or incident RHS header’s playbook button).

    3. Click “New Playbook”.

    4. Enable the setting for “Create Public Playbook”.

    5. Provide “SA PB 1” for the Playbook Name.

    6. Enable the setting for “Create Public Incident” to allow the playbook to create public incidents by default.

    7. Add the following checklist items:

      1. Start test

      2. Edit test

      3. End test

    8. Click “Save Playbook”.

    9. Verify that upon saving, “SA PB 1” exists in the playbook list view in backstage.

     Pass

    38

    System administrator can create a private incident playbook

    1. Log in as a sysadmin.

    2. Launch the Playbooks backstage (either from main menu or incident RHS header’s playbook button).

    3. Click “New Playbook”.

    4. Enable the setting for “Create Public Playbook”.

    5. Provide “SA PB 2” for the Playbook Name.

    6. Disable the setting for “Create Public Incident” to allow the playbook to create private incidents by default.

    7. Add the following checklist items:

      1. Start test

      2. Edit test

      3. End test

    8. Click “Save Playbook”.

    9. Verify that upon saving, “SA PB 2” exists in the playbook list view in backstage.

     Pass

    39

    Team admin can create a public-incident playbook

    1. Log in as a team admin.

    2. Launch the Playbooks backstage (either from main menu or incident RHS header’s playbook button).

    3. Click “New Playbook”.

    4. Ensure the “Create Public Incident” setting is enabled.

    5. Provide “TA PB 3” for the Playbook Name.

    6. Enable the setting for “Create Public Incident” to allow the playbook to create public incidents by default.

    7. Add the following checklist items:

      1. Start test

      2. Edit test

      3. End test

    8. Click “Save Playbook”.

    9. Verify that upon saving, “TA PB 3” exists in the playbook list view in backstage.

     Pass

    40

    Team admin can create a private-incident playbook

    1. Log in as a team admin.

    2. Launch the Playbooks backstage (either from main menu or incident RHS header’s playbook button).

    3. Click “New Playbook”.

    4. Ensure the “Create Public Playbook” setting is disabled.

    5. Provide “TA PB 4” for the Playbook Name.

    6. Disable the setting for “Create Public Incident” to allow the playbook to create private incidents by default.

    7. Add the following checklist items:

      1. Start test

      2. Edit test

      3. End test

    8. Click “Save Playbook”.

    9. Verify that upon saving, “TA PB 4” exists in the playbook list view in backstage.

     Pass

    41

    A playbook is initially only visible to playbook creator

    1. Log in as user-1.

    2. Launch playbook backstage.

    3. Create a new playbook “U1PB”.

    4. Verify that “Members” has only user-1 included.

    5. Switch to a normal channel view.

    6. Bring up the incident creation dialog.

    7. Verify that user-1 can see “U1PB” listed in the playbook dropdown.

    8. Log in as user-2.

    9. Launch playbook backstage.

    10. Verify that user-2 does not see “U1PB” in the Playbooks list.

    11. Switch to a normal channel view.

    12. Bring up the incident creation dialog.

    13. Verify that user-2 cannot see “U1PB” listed in the playbook dropdown.

     Pass

    42

    Private playbook cannot be deleted by non-participating member user of the team

    Continue from the above test.

    Covered by #45
    1. Log in as team admin.Invite user-1 to manage playbook “TA PB 4”.

    2. Log in as user-1.

    3. Verify that user-1 can edit the playbook.

    4. As user-1 try inviting user-2 to manage the playbook.

    5. Verify that user-1 cannot invite user-2 to manage the playbook.

    N/A

    60

    Non-admin team member cannot create an incident using private playbook if not invited to manage the playbook

    1. .

    2. Issue a DELETE request to http://localhost:8065/plugins/com.mattermost.plugin-incident-response/api/v1/playbooks/[playbook-id].

    3. Verify that the request cannot be completed.

    4. As team admin, verify that the playbook did not get deleted.

     Pass

    Test Area - Limit playbook access to specific users

    As a playbook creator, I can specify who else can see and edit the playbook so that sensitive content wouldn’t be unintentionally revealed.

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    6143

    Users who have access to a playbook limit playbook access to specific users

    1. Log in as team admin.

    2. Create a playbook “TA 1”.

    3. Add checklist items “1”, “2” and “3”.

    4. Invite user-2 in the playbook.

    5. Click “Save Playbook”.

    6. Login as user-1.

    7. Launch playbook backstage.

    8. Verify that user-1 cannot find “TA 1” in the backstage.

    9. Switch to normal channel view.

    10. Bring up the incident creation dialog.

    11. Verify that user-1 cannot find “TA 1” in the playbook dropdown.

    12. Login as user-2.

    13. Launch playbook backstage.

    14. Verify that user-1 can find “TA 1” in the backstage.

    15. Switch to normal channel view.

    16. Bring up the incident creation dialog.

    17. Verify that user-1 can find “TA 1” in the playbook dropdown.

    Pass

     Pass

    6244

    Team admin Playbook member can edit users who have access to playbook

    Continue from the above test.

    1. As team admin, launch playbook backstage.

    2. Find “TA 1”.

    3. Click “Edit”.

    4. Invite user-1 to manage the playbook “TA 1”.

    5. Click “Save Playbook”.

    6. Verify that user-1 can now find “TA 1” in the backstage.

    7. Switch to normal channel view.

    8. Bring up the incident creation dialog.

    9. Verify that user-1 can now find “TA 1” in the playbook dropdown.

    Pass

     Pass

    6345

    User removed by a playbook member can no longer access playbook

    Continue from the above test.

    1. As user-1, launch playbook backstage.

    2. Find “TA 1”.

    3. Click “Edit”.

    4. Remove team admin from the playbook “TA 1”.

    5. Click “Save Playbook”.

    6. Verify that user-2 cannot find “TA 1” in the backstage.

    7. Switch to normal channel view.

    8. Bring up the incident creation dialog.

    9. Verify that team admin cannot find “TA 1” in the playbook dropdown.

    Pass

     Pass

    6446

    Playbook member can limit playbook access to specific users

    1. Log in as team admin.

    2. Create a playbook “Sa 1”.

    3. Add checklist items “a”, “b” and “c”.

    4. Invite user-2 in the playbook.

    5. Click “Save Playbook”.

    6. Login as user-1.

    7. Launch playbook backstage.

    8. Verify that user-1 cannot find “Sa 1” in the backstage.

    9. Switch to normal channel view.

    10. Bring up the incident creation dialog.

    11. Verify that user-1 cannot find “Sa 1” in the playbook dropdown.

    12. Login as user-2.

    13. Launch playbook backstage.

    14. Verify that user-2 can find “Sa 1” in the backstage.

    15. Switch to normal channel view.

    16. Bring up the incident creation dialog.

    17. Verify that user-2 can find “Sa 1” in the playbook dropdown.

    Pass

     Pass

    6547

    Playbook member can edit users who have access to playbook

    Continue from the above test.

    1. As team admin, launch playbook backstage.

    2. Find “Sa 1”.

    3. Click “Edit”.

    4. Invite user-1 to manage the playbook “Sa 1”.

    5. Click “Save Playbook”.

    6. Verify that user-1 can now find “Sa 1” in the backstage.

    7. Switch to normal channel view.

    8. Bring up the incident creation dialog.

    9. Verify that user-1 can now find “Sa 1” in the playbook dropdown.

    Pass

     Pass

    6648

    User removed by system admin can no longer access playbook

    Continue from the above test.

    1. As team admin, launch playbook backstage.

    2. Find “Sa 1”.

    3. Click “Edit”.

    4. Remove user-2 from the playbook “Sa 1”.

    5. Click “Save Playbook”.

    6. Verify that user-2 cannot find “Sa 1” in the backstage.

    7. Switch to normal channel view.

    8. Bring up the incident creation dialog.

    9. Verify that user-2 cannot find “Sa 1” in the playbook dropdown.

     Pass

    Pass49

    Last playbook member cannot be removed from the playbook

    1. Log in as user-1.

    2. Create a playbook.

    3. Add user-2 as a member to the playbook.

    4. Log in as user-2.

    5. Verify that user-2 can access the playbook in the backstage.

    6. Go to the editing view of the playbook.

    7. Remove user-1 from the playbook.

    8. Save the playbook.

    9. Verify that the playbook saved successfully.

    10. Go back to the editing view of the playbook.

    11. Remove the user themself (user-2) as the member.

    12. Click “Save Playbook”.

    13. Verify taht the playbook cannot be saved.

    Pass

     Pass

    Test Area - UI

    Test ID

    Test Case

    Test Procedure

    Result

    Notes

    6750

    Test UI in light theme

    1. Test UI in light theme in Chrome.

    2. Test UI in light theme in Firefox.

    3. Test UI in light theme in Safari.

    4. Test UI in light theme in Desktop app.

    5. Spot check in mobile app.

    6. Spot check in mobile browser.

    Pass

     Pass

    6851

    Test UI in dark theme

    1. Test UI in dark theme in Chrome.

    2. Test UI in dark theme in Firefox.

    3. Test UI in dark theme in Safari.

    4. Test UI in dark theme in Desktop app.

    5. Spot check in mobile app.

    6. Spot check in mobile browser.

    Done

    Bugs filed for dark themes.

    6952

    Test UI in Monokai theme

    1. Test UI in Monokai theme in Chrome.

    2. Test UI in Monokai theme in Firefox.

    3. Test UI in Monokai theme in Safari.

    4. Test UI in Monokai theme in Desktop app.

    5. Spot check in mobile app.

    6. Spot check in mobile browser.{"sidebarBg":"#2f3136","sidebarText":"#8f9297","sidebarUnreadText":"#dcddde","sidebarTextHoverBg":"#35363c","sidebarTextActiveBorder":"#35363c","sidebarTextActiveColor":"#dcddde","sidebarHeaderBg":"#282b30","sidebarHeaderTextColor":"#818386","onlineIndicator":"#64b285","awayIndicator":"#eea941","dndIndicator":"#b74b47","mentionBg":"#7289da","mentionBj":"#ffffff","mentionColor":"#dcddde","centerChannelBg":"#36393e","centerChannelColor":"#dcddde","newMessageSeparator":"#f75252","linkColor":"#7289da","buttonBg":"#43b581","buttonColor":"#ffffff","errorTextColor":"#fd5960","mentionHighlightBg":"#36393e","mentionHighlightLink":"#7289da","codeTheme":"monokai"}

    Done

    Bugs filed

    Test Area - Tests/bugs outside of user stories

    Test ID

    Test Case

    Test Procedure

    Result

    Tickets

    Notes

    7053

    Channel is archived when ending an incident with slash command

    1. Set ExperimentalViewArchivedChannels to true or, from System Console > Site Configuration > User and Teams, set “Allow users to view archived channels” to true.

    2. Start a new incident using any method.

    3. Locate the channel in the LHS.

    4. End the incident using the /incident end command.

    5. Click “Confirm” in the confirmation dialog.

    6. Verify that the incident ended.

      1. Status of the incident changed to “Ended” in the backstage.

    7. Verify that the incident channel is archived:

      1. In the LHS, verify the incident channel is listed with the archived icon.

      2. Running CLI command ./mattermost channel list [team-name] shows the channel as '(archived)'.

    N/A

    Moved from 0.5

    Ticket is still open: https://mattermost.atlassian.net/browse/MM-24408

    7154

    Channel is archived when ending an incident from RHS

    1. Start a new incident using any method.

    2. Locate the channel in the LHS.

    3. End the incident from the RHS.

    4. Click “Confirm” in the confirmation dialog.

    5. Verify that the incident ended.

      1. Incident no longer appears in the RHS list.

      2. Status of the incident changed to “Ended” in the backstage.

    6. Verify that the incident channel is archived:

      1. In the LHS, verify the incident channel is listed with the archived icon.

      2. Running CLI command ./mattermost channel list [team-name] shows the channel as '(archived)'.

    N/A

    Moved from 0.5

    7255

    The incident channel shows up under archived channel once the incident is ended

    1. On the LHS click “more” under Private Channels.

    2. Ensure “Show: Archived Channels” is selected in the dropdown.

    3. Verify the channels of the incidents ended in the above 2 tests are listed.

    N/A

    Moved from 0.5

    7356

    Incident channels do not appear in LHS when archived channel display is turned off

    1. Set ExperimentalViewArchivedChannels to false or, from System Console > Site Configuration > User and Teams, set “Allow users to view archived channels” to false.

    2. Switch to normal channel view.

    3. Verify that the channels of the incidents ended in the tests above do not appear on the LHS.

    N/A

    Moved from 0.5

    7457

    Add a message indicating no checklist items in Incidents RHS

     

     N/A

    https://mattermost.atlassian.net/browse/MM-24502

    Moved from 0.4

    Ticket closed as won’t fix.

    7558

    Support incident list pagination

    1. Create a new team so that there are no incidents.

    2. Create 24 incidents.

    3. Launch the incident backstage.

      1. From the channel header, click the incident icon.

      2. In the incident RHS, click the playbook icon to launch the backstage.

      3. Click the “Incidents” tab on the LHS.

    4. Verify that all 24 incidents created in step 2 are displayed in the list on the same page.

    5. Verify there is no “Next” and “Previous” buttons at the bottom of the page.

    6. Create one more incident so that the total number of incidents are 25.

    7. In the incident backstage, verify that all 25 incidents are displayed in the same page.

    8. Verify there is no “Next” and “Previous” buttons at the bottom of the page.

    9. Create one more incident so that the total number of incidents are now 26.

    10. In the incident backstage, scroll to the bottom of the page.

    11. Verify there are 25 incidents displayed on the first incident list page.

    12. Verify there is no “Previous” button.

    13. Verify there is a “Next” button.

    14. Click on the “Next” button.

    15. Verify that page 2 of the incident lists page loads.

    16. Verify that there is only 1 incident in the 2nd page.

    17. Verify there is “Previous” button in the 2nd page.

    18. Create incidents so that there are now a total of 51 incidents.

    19. In the 2nd page of the incident list page in the backstage, verify there is “Previous” button and a “Next” button.

    20. Verify both “Previous” and “Next” button are functional.

     Pass

    https://mattermost.atlassian.net/browse/MM-24580

    Moved from 0.4

    7659

    Support incident list sorting on End Date

    1. Create a few incidents at varying times.

    2. Launch the incident backstage to view the incident list.

    3. Verify that incidents are listed with the newest one on top by default.

    4. Click “End Date” in the header.

    5. Verify that the incident list is rearranged such that the last one that was ended is now at the top of the list, followed by other ‘Ended’ incidents in descending order of the time the incidents were ended, followed by the ‘Ongoing’ incidents (descending order of creation?)

    6. Verify that all other incident info are still associated with the incidents correctly.

    7. Click “End Date” again.

    8. Verify that the incident list is rearranged such that the first incident to end is now at the top of the list, followed by other ‘Ended’ incidents in ascending order of the time the incidents were ended, followed by the ‘Ongoing’ incidents (ascending order of creation?).

    9. Verify that all other incident info are still associated with the incidents correctly.

     Pass

    https://mattermost.atlassian.net/browse/MM-24581

    Moved from 0.4

    7760

    Support incident list sorting on Start Date

    Continue from the test for “Support incident list sorting on End Date”

    1. Click “Start Date” in the header.

    2. Verify that the incident list is rearranged such that the first incident to get created is now at the top of the list, followed by other incidents (ongoing or ended) in ascending order of the time the incidents were created.

    3. Verify that all other incident info are still associated with the incidents correctly.

     Pass

    https://mattermost.atlassian.net/browse/MM-24581

    Moved from 0.4

    61

    “Create a playbook” link in Incident Details modal links to New Playbook page in backstagePass

     Pass

    ...

    IR (v0.5.0) Bugs:

    Jira Legacy
    serverSystem JIRA
    maximumIssues20
    columnskey,summary,type,assignee,reporter,status,resolution
    jqlQueryissuetype = Bug AND project = MM AND fixVersion = "IR (v0.5.0)"
    serverIdfa8b0166-b019-31be-aef3-0e1e83e7ecff