451 ‐ Testing - bounswe/bounswe2024group9 GitHub Wiki

1. User Tests

1.1. Annotation Functionality

By Kristina

The goal of this user test is to validate the functionality of annotation creation, editing, and deletion in the web application.

Prerequisite:

  1. User must be logged in to the system.
  2. Text selection and modal interaction should work properly.
  3. User shall navigate to the python results page - in the deployed version https://oyster-app-8k7np.ondigitalocean.app/result/Q28865/Python
  4. There shall be no annotations at the "backward-compatible" word
Steps Expected Result Actual Result Notes
1.1.1 Annotation Creation
1. Select a text snippet on the application including "backward compatible". A modal should appear titled "Create Annotation" with fields to enter the annotation text. Pass
2. Enter annotation text "supporting previous versions" and click the "Create" button. The annotation should be successfully saved and associated with the selected text. Pass
3. Wait until the page reloads and hover over "backward compatible". The annotation should persist and be highlighted in blue for the selected text. It should display "supporting previous versions" when hovered over. Pass
1.1.2 Annotation Editing
4. Hover over the annotation created in 1.1.1 at "backward compatible" and click on the pencil icon. The annotated text should appear alongside an edit button (a pencil), a bubble enabling text editing should show up in the middle of the page. Pass
5. Modify the annotation text "still supporting previous versions" and click the "Save Changes" button. The annotation should be successfully saved and associated with the selected text. Pass
6. Wait until the page reloads and hover over "backward compatible". The annotation should persist and be highlighted in blue for the selected text. It should display "still supporting previous versions" when hovered over. Pass
1.1.3 Annotation Deletion
7. Hover over the existing annotation from 1.1.2 and click on the trash can symbol. A bubble should show up confirming the deletion. Pass
8. Wait until the highlighted text disappears. The annotation should remain deleted and not reappear when hovering over "backward-compatible". Pass