Skip to content

TC3 [Functional] Verify that admin can sort the streetcodes catalog by all fields (Name, Number, Author, History). #2737

@caroline1212

Description

@caroline1212

Priority: medium

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. Sorting functionality is available for the following fields:
  • Назва
  • Номер
  • Автор
  • Історія

Steps to reproduce

  1. Click on the “Назва” column header once → verify ascending sort.
  2. Click on the “Назва” column header again → verify descending sort.
  3. Click on the “Назва” column header third time → verify sorting reset to last modification date.
  4. Repeat steps 1–3 for the following fields:
    • Номер
    • Автор
    • Історія

Expected result

  • After the first click on a column header, the catalog is sorted in ascending order (A–Z, 0–9).
  • After the second click on the same header, the catalog is sorted in descending order (Z–A, 9–0).
  • After the third click, the catalog resets to sorting by the last modification date.
  • No errors, page reloads, or data loss occur during sorting.
  • Sorting indicators (arrows) correctly display the current sort direction.

Postconditions

  1. Catalog sorting remains by the last selected criteria.
  2. Admin remains in the “Каталог стріткодів” section.

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