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
[Tariff] Employees without permissions can add location, courier, receiving station #6092
Environment: All
Reproducible: always
Build found: 24/07/2023
Preconditions
User should be on position which doesn't have permission to add location, courier, receiving station (e.x. navigator)
User should be logged
Go to https://www.greencity.social/#/ubs-admin/tariffs
Steps to reproduce
On the right side of page click on gears and choose "Add" - "Location"
In pop-up window "Add location" fill in all fields and enter "Add" button
Overload the page and verify the result
On the right side of page click on gears and choose "Add" - "Courier"
In pop-up window "Add courier" enter the name courier on english and ukrainian languages
Click on "Add" button, Overload the page and verify the result
On the right side of page click on gears and choose "Add" - "Receiving station"
Select station and click on "Add" button
Overload the page and verify the result
Actual result
Employees without permissions can add location, courier, receiving station
Environment: All Reproducible: always Build found: 24/07/2023
Preconditions User should be on position which doesn't have permission to add location, courier, receiving station (e.x. navigator) User should be logged Go to https://www.greencity.social/#/ubs-admin/tariffs
Steps to reproduce
Actual result Employees without permissions can add location, courier, receiving station
Expected result The dropdown "Add" is not active
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/7e3eb2d2-3f01-412e-8035-b172ecebbb0e
https://github.com/ita-social-projects/GreenCity/assets/128155213/d540d2f2-e384-4ba2-a748-3e3e110499e5
https://github.com/ita-social-projects/GreenCity/assets/128155213/f8198cda-9e27-41e3-a1e1-c1c9f6112789