StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

[Admin/News][Functionality] News search works correctly for Admin.

Open olena13s opened this issue 7 months ago • 0 comments

Priority: High

Preconditions

  1. The user is logged in as Admin.
  2. Admin is on the "Новини" tab.
  3. At least one news item exists in the system with the title: “Тестова новина”.

Steps to reproduce

  1. On the “Новини” tab, locate the search bar above the news table.
  2. Click on the search bar to activate it.
  3. Enter the text: “Тестова новина”.
  4. Press “Enter” or wait for the search to execute

Expected result

  1. The search bar becomes active upon click.
  2. After entering “Тестова новина” the table is updated.
  3. Only the news item(s) that match the query are displayed.
  4. “Тестова новина” appears in the list.
  5. If no match is found — appropriate “no results” message appears.

Postconditions

  1. The search filter remains applied until cleared manually.
  2. Admin can reset the list to view all news again.

User story: #835

olena13s avatar Apr 22 '25 14:04 olena13s