Skip to content

[UserGuide.md] Alicia: Resolve Posts #90

Description

@aliciach1

Description

Links to related user stories and pull requests:
User story: #16
Pull Requests: #24, #42 , #57 , #74

Automated Testing
our tests were added in the following PRs and files:

These tests test the APIs, which call our functions. They are sufficient for the acceptance criteria outlined in tasks:

We did not add automated tests for the frontend, because they are seen clearly when we start the server. The acceptance criteria is listed below:

Manual Testing
*note screenshots might differ slightly because of posts added locally)

  1. Run ./nodebb setup
  2. Run npm install
  3. Run ./nodebb dev
  4. Log in as admin using username=admin and password=password123!.
Image
  1. Navigate to the home page.
Image
  1. Click into a category (eg. general discussion)
Image
  1. Create a new topic post
Image
  1. Observe that the checkbox is unchecked and the topic is marked as unresolved.
Image
  1. Navigate to the home page, and observe that the number of unresolved posts increased by one.
Image
  1. Navigate back to the topic you just created. Check the box and observe that the post changes to resolved.
Image
  1. Navigate away from the topic and back to the topic. Observe that the topic remains resolved.
Image
  1. Navigate back to the home page. Observe that the unresolved count decreased by one.
Image

Community forum reference

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions