nromanen / pratical_testing_2022

0 stars 2 forks source link

Incorrect Behavior after Adding a Custom Habit on the "Create habit" template page. #220

Open yanakhoma opened 1 year ago

yanakhoma commented 1 year ago

Date Time 22-06-2023 20:03

Severity Major

Priority Medium

Environment: OS: macOS Ventura 13.4.1 Browser: Google Chrome Version 114.0.5735.133 Reproducible: always

Pre-conditions

  1. Registered user is logged in.
  2. “My space” page is open.

Steps to Reproduce

  1. Click on the "Add habit" button.
  2. Click on "Create habit" button.
  3. Create a habit and click on "Add habit" button.

Expected result

  1. A new custom habit should be created.
  2. The "All habits" page should open.
  3. A pop-up window should appear with the message "You have successfully added a new habit to your list."
  4. The new custom habit should be displayed at the top of the "All habits" page.
  5. The new custom habit should be visible to the user and their friends, if any friends were invited during the creation of the custom habit.

Actual result

  1. A new custom habit is created.
  2. The "All habits" page is opened.
  3. There is no pop-up window shown with the message "You have successfully added a new habit to your list."
  4. The new custom habit is displayed at the end of the "All habits" page instead of the top.
  5. The new custom habit is visible to the user but not visible to the friends, even if they were invited during the creation of the custom habit.

Screenshots

Screenshot 2023-06-22 at 20 09 13

User story and test case links "Change request to #1001 . Add new custom habit https://github.com/nromanen/pratical_testing_2022/issues/192"