Skip to content

Commit

Permalink
Update UserGuide.md
Browse files Browse the repository at this point in the history
  • Loading branch information
galishaq authored Oct 20, 2024
1 parent 4fadc42 commit 62f6e1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ This file contains unit tests for the bug/feedback form submission feature. The
**Form Submission:** Tests ensure that the form data (title, description, CSRF token) is properly passed in the fetch request when the form is submitted.
**Alerts:** The tests verify that appropriate success or failure alert messages are displayed based on the form submission result.

Why the tests are sufficient:
**Why the tests are sufficient:**
- The tests cover key scenarios for the bug/feedback form:
- Successful form submission when valid data is provided.
- Validation checks to ensure all required fields are filled out.
Expand All @@ -275,7 +275,7 @@ This file contains unit tests for the bug archive feature. The tests simulate AP
**Refresh Functionality:** Tests simulate adding a new bug and refreshing the archive page to check that the new entry appears in the archive.
**Error Handling:** The tests verify that appropriate error messages are displayed when there is a failure to retrieve the bug archive due to API or network issues.

**Why the tests are sufficient:***
**Why the tests are sufficient:**
- The tests cover the main functionalities of the bug archive page:
- Simulating the retrieval of bugs and ensuring they are displayed accurately.
- Handling both successful data retrieval and scenarios where an API call fails.
Expand Down

0 comments on commit 62f6e1c

Please sign in to comment.