StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

[Functional] [Admin/StreetCode][Основний текст][Авторство] The number of characters displays incorrectly in the character counter below the 'Основний текст' and 'Авторство' fields after saving Streetcode

Open mozhaieva opened this issue 1 year ago • 0 comments
trafficstars

Environment: macOS Sonoma Version 14.6.1, Google Chrome Version 129.0.6668.90 (arm64) Reproducible: Always Build found: commit 30424bf

Preconditions

  1. User is logged as admin.
  2. The Page 'Стріткоди' is opened.

Steps to reproduce

  1. Click on the 'Новий стріткод' button or on the edit button on the previously created Streetcode.
  2. Scroll down to the Admin/Text and Video block.
  3. Add text with 64 characters to the 'Основний текст' field
  4. Add text with 200 characters to the 'Авторство' field
  5. Click on the 'Зберегти як чернетку' button
  6. Click 'OK' on the 'Повідомлення з stage.streetcode.com.ua' modal window
  7. Stay on the page, scroll up and pay attention to the character counters below the 'Основний текст' and the 'Авторство' fields

Actual result Character counter for the 'Основний текст' field - '0/25000' Character counter for the 'Авторство' field - '29/200'

Expected result The number of characters isn't changed after saving Streetcode: For the 'Основний текст' field - 64/25000 For the 'Авторство' field - 200/200

User story#122

mozhaieva avatar Oct 06 '24 19:10 mozhaieva