cse442-at-ub / project_s23-atomic

project_s23-atomic created by GitHub Classroom
1 stars 1 forks source link

Edit Habit page #42

Closed Wrenmart closed 1 year ago

Wrenmart commented 1 year ago

Task Tests

Test 1 - Title & Details

  1. Go to https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/
  2. Register with (or login if username/email already exists): dEdit1 dEdit1@example.com dEdit123 dEdit123
  3. Select 3 habits preset habits when prompted, choosing "Journal" as one of them, then click submit
  4. Find "Journal" on the homepage. Click the + button to increment once.
  5. Click the Title "Journal"
  6. Click the Edit button
  7. Change the title to "Write down one good day event"
  8. Change the details to "Remember the good times!"
  9. Click the Save button
  10. Verify the habit details display with the updated Title and Details, and with the same counter "1/1"

Test 2 - Labels and Counter

  1. Go to https://www-student.cse.buffalo.edu/CSE442-542/2023-Spring/cse-442q/
  2. Register with (or login if username/email already exists): dEdit1 dEdit1@example.com dEdit123 dEdit123
  3. Select 3 habits preset habits when prompted, choosing "Drink Coffee" as one of them, then click submit
  4. Find "Drink Coffee" on the homepage. Click the + button to increment twice.
  5. Click the Title "Drink Coffee"
  6. Click the Edit button
  7. Change the category to "Social"
  8. Change the type to "Good"
  9. Change the counter to 1
  10. Click the Save button
  11. Verify the habit details display the updated Category and Type tags, and with a counter of "2/1", with the same Title and Details