Versions Compared

Key

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

Document version 0.0

Status: Test Development in Progress

...

Test Area (v0.7) - Browse existing slash commands in playbook editing

Test ID

Test Case

Test Steps

Result

Notes

Typing a / in the slash command field brings up a list of existing slash commands

  1. Log in as user-1.

  2. Launch playbooks backstage.

  3. Click “New Playbook”.

  4. Enter “PBa” as the playbook name.

  5. Edit the name of the default stage to “S1”.

  6. Click “Add new stage”.

  7. Enter “C1” for checklist item name.

  8. In the slash command field, enter /

  9. Verify that a autocomplete list of all available slash commands pop up as soon as entering /.

Typing a non-/ character in the slash command field?

Should this be allowed?

Selecting from the slash command list auto completes the slash command

Continue from the above tests.

  1. In the slash command field, enter /.

  2. From the autocomplete list, click /dnd.

  3. Verify that the slash command field is autocompleted with /dnd.

Typing a non-existing slash command shows a “invalid slash command” error

Valid?

The slash command field can be left empty

Continue from the above tests.

  1. Remove the contents of “C1” so that the slash command field is empty.

  2. Click “Save Playbook”.

  3. Verify that the playbook is saved successfully.

Test Area (v0.7) - Execute the attached slash command with a button click

Test ID

Test Case

Test Steps

Result

Notes

A checklist item configured without a slash command does not have a Run button next to it

A checklist item configured with a valid slash command has a Run button next to it

A checklist item configured with an invalid slash command does not have a Run button next to it

A checklist item configured with a nonexistent slash command does not have a Runbutton next to it

Clicking the Run button for a checklist slash command runs the slash command

Plugin posts a message in the incident channel when a slash command Runis clicked

A message that the checklist item slash command was run (not the slash command system message)

Running a slash command with system message attached to it post the slash command system message in the incident channel

In case of two valid slash commands, the running the command from the checklist item will only run the first command successfully

This is in sync with the core feature behavior

Running an invalid slash command from RHS checklist shows an ‘invalid slash command’ error

Like core feature?

A slash command can be run multiple times from the RHS checklist

A plugin post notifies when a slash command fails to run successfully

...