Skip to content

TC5 [Functional] Verify that the search field validates input length and invalid values in the admin streetcode catalog. #2739

@caroline1212

Description

@caroline1212

Priority: high

Preconditions

  1. Admin user is logged in.
  2. Admin panel at https://historycode.online/admin-panel is open.
  3. The “Каталог стріткодів” section is open and fully loaded.
  4. The search field is visible and active.

Steps to reproduce

  1. Input more than 100 characters in the search field.
    (e.g., Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ExtraText12345).
  2. Input 2 characters in the search field.
    (e.g., dc).
  3. Verify that search is not performed.
  4. Input special characters in the search field.
    (e.g., @#$%^&*())
  5. Verify that the system displays a "No results found" | “Дані відсутні” message.

Expected result

  • The search field accepts input up to 100 characters.
  • The search function is not performed when fewer than three characters are entered.
  • If no matching results are found, the system displays messages.

Postconditions

  1. Admin remains in the “Каталог стріткодів” section.
  2. The list of all streetcodes sorted by the last modification date.

User story: #1160

Related bug:

Metadata

Metadata

Assignees

Labels

Projects

Status

Test Cases

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions