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
63
stars
80
forks
source link
[API/MySpace] The rating of ACHIEVEMENTS is assigned incorrectly for test achievement's conditions #6613
Environment:
macOS Sonoma Version 14.0
Google Chrome
Version 118.0.5993.70 (Official Build) (arm64).
Reproducible: always.
Build found:
22.10.23
Preconditions
Steps to reproduce
Reach a number of test conditions
Check the assigned rate in My Space
Check the achievement in DB
Remove one of the conditions
Check the removal rate in My Space
Check that the achievement is removed from DB
Actual result
For all test conditions the assigned rate and removal rate are 0 points;
An achievement isn't removed from DB when removing one of the conditions
Expected result
ACHIEVEMENTS add/removal rate
FIRST_5_ACHIEVEMENTS 10 -10
FIRST_10_ACHIEVEMENTS 25 -25
FIRST_25_ACHIEVEMENTS 50 -50
FIRST_50_ACHIEVEMENTS 100 -100
FIRST_100_ACHIEVEMENTS 200 -200
An achievement shall be removed from DB when removing one of the conditions
Postconditions
User story and test case links
E.g.: "User story #938"
Labels to be added
"Bug", Priority ("high"), Severity ("trivial"), Type ("Functional"), "API" (for back-end bugs).
Environment: macOS Sonoma Version 14.0 Google Chrome Version 118.0.5993.70 (Official Build) (arm64).
Reproducible: always.
Build found: 22.10.23
Preconditions
Steps to reproduce
Actual result For all test conditions the assigned rate and removal rate are 0 points; An achievement isn't removed from DB when removing one of the conditions
Expected result ACHIEVEMENTS add/removal rate FIRST_5_ACHIEVEMENTS 10 -10 FIRST_10_ACHIEVEMENTS 25 -25 FIRST_25_ACHIEVEMENTS 50 -50 FIRST_50_ACHIEVEMENTS 100 -100 FIRST_100_ACHIEVEMENTS 200 -200 An achievement shall be removed from DB when removing one of the conditions
Postconditions
User story and test case links E.g.: "User story #938"
Labels to be added "Bug", Priority ("high"), Severity ("trivial"), Type ("Functional"), "API" (for back-end bugs).