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

[Tariffs] Navigator can add tariff #6089

Closed DanaIuich closed 1 year ago

DanaIuich commented 1 year ago

Environment: All Reproducible: always Build found: 23/07/2023

Preconditions

  1. User should be on the position navigator
  2. User should be logged
  3. Go to https://www.greencity.social/#/ubs-admin/tariffs/location/9

Steps to reproduce

  1. In the section "Tariffs for services" click on "Add tariff" button
  2. In pop-up window "Add tariff" fill in all fields and click on "Save" button"

Actual result The button "Add tariff" is active. All fields in pop-up window are active. The button "Save" becomes active after filling all fileds in pop-up window. New tariff is created.

Expected result The button "Add tariff" is disabled. Navigator can't add tariff

User story and test case links E.g.: https://github.com/ita-social-projects/GreenCity/issues/5538

https://github.com/ita-social-projects/GreenCity/assets/128155213/be418f5e-7eaf-490a-acc2-764779fe05e4

DanaIuich commented 1 year ago

Bug is fixed