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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[UBS Tariffs Page] The tariff is not deactivated after clicking the ''Deactivate'' button.

kulaira opened this issue · comments

Environment: Windows 10, Google Chrome 123.0.6312.86 (64-bit).
Reproducible: always.
Build found: 02.06.2024.

Preconditions

  1. GreenCity site is opened https://www.greencity.social/#/ubs-admin/tariffs.
  2. User is authorized as Admin.
  3. "Tariffs" page is opened.

Steps to reproduce

  1. Click on any available tariff card.
  2. Click to the “trash” in the tariff line in “Tariffs for services” section.
  3. The "Deactivate tariff for service" pop-up window is opened.
  4. Click on the ''Deactivate'' button.

Actual result
The tariff is not deactivated, the "Deactivate tariff for service" pop-up window is opened and the ''Deactivate'' button is highlighted in blue.
Screenshot_5
Expected result
The "Deactivate tariff for service" pop-up window is closed and the tariff is deactivated.

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

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

Not reproducible:

GreenCity.7.mp4

The "Deactivate tariff for service" pop-up window is opened and the ''Deactivate'' button isn't clickable. The tariff is not deactivated.
https://drive.google.com/file/d/1CzM6feKZXMM8xTEeNFPsP1RSKKyPWK7g/view?usp=sharing