ita-social-projects / StreetCode

MIT License
17 stars 8 forks source link

[Admin/Chronology] Unable to add multiple historical events to a Streetcode #1676

Open arisssha opened 3 weeks ago

arisssha commented 3 weeks ago

Environment: macOS 13.6.8/Google Chrome 127.0.6533.89 Reproducible: always Build found: commit 73879a7

Preconditions The user is logged in as an admin and is on the 'Новий Стріткод' page, having navigated to the 'Chronology' block.

Steps to reproduce

  1. Click the "+" button to add a new "Chronology" entry.
  2. Fill in all mandatory fields with valid data for the first history event.
  3. Click the "Зберегти" button to save the history event.
  4. Verify that the newly created history event was added successfully to the "Chronology" list.
  5. Repeat steps 1-3 to add a second history event with different valid data.
  6. Verify that both history events are displayed successfully in the "Chronology" list, ensuring that the second event was added and that the system correctly displays both events.

Expected result The system displays both historical events, confirming that it successfully handles the addition and display of multiple historical events in the 'Chronology' list.

Actual result After the second historical event is added to the Streetcode, the system replaces the first historical event with the newly added second historical event and displays only one event.

https://github.com/user-attachments/assets/abc2d481-bf7f-4a7b-9d3d-f5225f2c7c02

User story: #124 Test case: https://github.com/orgs/ita-social-projects/projects/21/views/1?pane=issue&itemId=76068968

DDeviak commented 2 weeks ago

Hello, @arisssha. I was not able to reproduce this issue. I suggest retesting it, and if the issue is still unreproducible, you can close it.

https://github.com/user-attachments/assets/e165adec-102b-418f-8c05-9736eb14f9ae

arisssha commented 2 weeks ago

After clearing all cached data from the browser and the system, the bug was still reproducible. Please pay attention to the developer tools.

https://github.com/user-attachments/assets/3026c5b3-b5a4-4c68-a467-9e53f5643693

arisssha commented 2 weeks ago

Issue reproducible only on macOS Ventura 13.6.8.