ita-social-projects / GreenCity

The main aim of “GreenCity” project is to teach people in a playful and challenging way to have an eco-friendly lifestyle. A user can view on the map places that have some eco-initiatives or suggest discounts for being environmentally aware (for instance, coffee shops that give a discount if a customer comes with their own cup). А user can start doing an environment-friendly habit and track their progress with a habit tracker.
MIT License
65 stars 80 forks source link

[UBS Admin. Orders. Order details] The "Статус оплати" field is cleared after the cancelation of provided changes by Admin in the order details #5470

Closed Olena-Kharkova closed 1 year ago

Olena-Kharkova commented 1 year ago

Environment: Windows 10 Home (Version 22H2) Chrome version 108.0.5359.71, Firefox version 109.0 MacOS version 12.6.1 (21G217) Chromе version 107.0.5304.110

Reproducible: always (test and prod) Build found: 14/03/2023

Preconditions

  1. Go to https://www.testgreencity.ga/GreenCityClient/#/ubs or https://www.pick-up.city/#/ubs
  2. Sign in as Super Admin
  3. Go to the Super Admin profile and choose the UBS-Admin item
  4. Choose the 'Замовлення' item
  5. Click on the Order's number in the Order table (except 'Виконано' and 'Скасовано' statuses)

Steps to reproduce

  1. Go to 'Статус замовлення' and choose any other status for the order (make necessary fulfillment in the other section of order details if you need)
  2. Scroll down to 'Скасувати' bttn and click on it
  3. Click 'Так' bttn on the alert message 'У разі скасування внесені зміни будуть втрачені. Чи дійсно Ви бажаєте скасувати зміни?'
  4. Scroll up to the "Статус оплати" field and check it - it's clear until

Actual result The "Статус оплати" field is cleared after the cancelation of provided changes by Admin in the order details

Expected result If Admin cancels the changes by clicking 'Так' bttn on the alert message 'У разі скасування внесені зміни будуть втрачені. Чи дійсно Ви бажаєте скасувати зміни?' on the Order details page, the provided changes should be cleared

User story and test case links E.g.: "User story #2787 "

Labels to be added "Bug", Priority ("pri: "), Severity ("severity:"), Type ("UI, "Functional"), "API" (for back-end bugs).

https://user-images.githubusercontent.com/110603507/225024090-16d42ed0-2ff2-4077-9674-f5f380348c0d.mp4

Olena-Kharkova commented 1 year ago

The bug is not fixed

https://user-images.githubusercontent.com/110603507/232243538-4634b761-7ca7-4a4c-a5cd-b0eec480eaf5.mp4