ita-social-projects / StreetCode

MIT License
17 stars 8 forks source link

[Admin/StreetCode page/Chronology block] When the admin add more than 50 characters to the context field, all text is erased #401

Open SophiaMRI opened 1 year ago

SophiaMRI commented 1 year ago

Environment: Windows 11, Google Chrome Version 111.0.5563.147 (64-bit) Reproducible: Always Build found: Commit 1b79c16

Type: Functional Priority: High Severity: Critical

Preconditions

  1. The "StreetCode page" is opened.

  2. Logged as admin.

Steps to reproduce

  1. Scroll down to the "Chronology" block.

  2. Сlick on the '+' button.

  3. Enter 51 symbols in the context field (e.g. "Це мало фатальні наслідки для здоров’я військового.").

  4. Click Enter or near the field.

Actual result Entered text disappears and the context field is empty.

Expected result The system restricts entering 51st symbols but entered text displayed in the context field.

User story and test case links User story #124 Test case #396

https://github.com/ita-social-projects/StreetCode/assets/135108144/642824c7-b798-482c-a326-c1b60856fd15

SophiaMRI commented 1 year ago

Low priority