uiowaSEP2024 / 001_DisAv

Distraction Avoider
Apache License 2.0
0 stars 0 forks source link

Test: whitelist & blacklist bug #228

Closed saanbe16 closed 3 weeks ago

saanbe16 commented 3 weeks ago

Test: Whitelist and Blacklist Update Functionality

Test Plan:

  1. Test Scenario: Add Website to Whitelist

    • Steps:
      1. Access the web dashboard.
      2. Use the UI component to add a website to the whitelist.
      3. Verify that the website is successfully added to the whitelist.
    • Expected Result: The specified website is added to the whitelist and immediately visible.
  2. Test Scenario: Remove Website from Whitelist

    • Steps:
      1. Access the web dashboard.
      2. Use the UI component to remove a website from the whitelist.
      3. Verify that the website is successfully removed from the whitelist.
    • Expected Result: The specified website is removed from the whitelist and immediately reflected.
  3. Test Scenario: Add Website to Blacklist

    • Steps:
      1. Access the web dashboard.
      2. Use the UI component to add a website to the blacklist.
      3. Verify that the website is successfully added to the blacklist.
    • Expected Result: The specified website is added to the blacklist and immediately visible.
  4. Test Scenario: Remove Website from Blacklist

    • Steps:
      1. Access the web dashboard.
      2. Use the UI component to remove a website from the blacklist.
      3. Verify that the website is successfully removed from the blacklist.
    • Expected Result: The specified website is removed from the blacklist and immediately reflected.
  5. Test Scenario: Error Handling

    • Steps:
      1. Introduce errors in adding or removing websites (e.g., invalid input, server errors).
      2. Verify how the system responds to these errors.
    • Expected Result: Errors are handled gracefully, and appropriate feedback is provided to the user.

Related Issues

Notes

Tasks