Skip to content

🧪 Manual Testing

Kira Clark edited this page Mar 21, 2024 · 11 revisions

Checklist

When manually testing the app, If it's for a ticket or just regression there are a few points to remember.

If you are testing a ticket which has AC's make sure to do those first so that any bugs relating to the ticket can be logged

When it comes to doing regression manual testing on the app the points are:

  • Run through the visual aspects of the app making sure the new changes have not changed anything they were not supposed to
  • Run through the application using screen readers to make sure that the correct information is read out
  • Using keyboard navigation through the pages
  • Reset the application and make sure that levels can still be passed with the correct information being sent within the email
  • In the sandbox, Run through the defence config toggles and check that the correct pop up appears within the chat window
  • Activate defence configs and send a message that would trigger that configuration and check that the response the bot gives to this trigger is expected of the activated configuration
  • Modals should be appearing when they are supposed to
  • Dialogs are appearing on correct button presses

Test Cases

For each test case the pre-requisite steps are that the app is running and the frontend is open

Description Steps
Keyboard Navigation
  1. Run through the application only using keyboard navigation.
  2. Check that navigation cycles through all readable or selectable objects.
Handbook locked out
  1. Reset levels
  2. Select handbook and check that all information is correctly locked until associated level is completed for all pages
  3. Manually set the levels completed so that all levels are now unlocked
  4. Select handbook and check all information that was locked out before is now unlocked for all pages
Header and Footer
  1. Check that the header and footer are present
  2. Ensure details in the header and footer are correct
  3. Ensure that header and footer are fully visible and functional without overflowing at 200% zoom on laptop screen
Modal Dialogs
  1. Click on any of the following buttons: Reset Progress, Getting Started, Mission Info and Reset Level
  2. Ensure details on the modal are correct
  3. Ensure any navigation on the modal works as expected
  4. Ensure the modal closes
  5. Repeat for remaining buttons
Screen Readers
  1. Open screen reader of choice (NVDA or Narrator)
  2. Navigate over elements with mouse control
  3. Correct info is read out
  4. Repeat with keyboard navigation
Level win conditions happy path
  1. If not a new user then reset progress
  2. Play Levels and ensure the correct information for each level is required and that the win condition is met
Level win conditions unhappy path
  1. If not a new user then reset progress
  2. Play level 1 and ensure that incorrect information is not accepted and that the level does not complete
  3. Win the level to move to the next
  4. Repeat for levels 2 and 3
Sandbox config
  1. In the sandbox ensure all the defence configuration options are present
  2. Run through the defence configs and check that each can be opened
  3. Turn on each defence config and ensure that correct pop up appears in chat
  4. Send message to bot that would trigger the turn on configuration and make sure that the bot reacts appropriately to the configuration
Level 3 config
  1. If level 3 is not available manual set variables so that it is
  2. On Level 3 make sure there is a limited amount of defence configurations available
  3. Run through these configurations and make sure pop up appears in chat
  4. Send bot message that would trigger defence config and ensure response is appropriate for the configuration set
Email placement
  1. If not a new user then reset progress
  2. Play levels and ensure that emails are in the right side column when they are sent by the bot
Reset Level
  1. Complete level of choosing
  2. Click reset level and confirm
  3. Ensure chat and emails are cleared, and reset message appears in chat window
Server off/down
  1. Start up app locally
  2. Open frontend
  3. Turn off server in backend
  4. Refresh frontend page in browser
  5. Check that error message appears in chat that the server is not running
Reset Progress
  1. When Reset Progress is clicked and confirmed
  2. Ensure user is sent back to level 1 only if they were on level 2 or 3
  3. If user is already on Level 1 or Sandbox
  4. Ensure the Welcome dialog opens