UCF-CEN-5016 / sde-development-project-acv_trio

sde-development-project-acv_trio created by GitHub Classroom
GNU General Public License v3.0
0 stars 0 forks source link

Implement Test Cases for TA Account Type Visibility #23

Closed Aishwaryasri15 closed 6 months ago

Aishwaryasri15 commented 6 months ago

Estimated Effort: 15 hours

Acceptance Criteria:

  1. The TA account type option must be visibly displayed in the account type dropdown menu on the user registration form.
  2. Users should be able to successfully register and authenticate using the TA account type, without encountering any errors or disruptions.
  3. The addition of the TA account type should not adversely affect the functionality or user experience of existing account types (student, instructor), and all account types should be able to coexist seamlessly within the system.

Dependencies:

  1. Completion and integration of the code changes enabling support for the TA account type within the authentication controller and user registration form.
  2. Proper configuration and deployment of the updated codebase to the NodeBB platform.
  3. Validation of compatibility with existing authentication and user management systems to ensure smooth operation and data integrity.

Test Cases Implementation:

To ensure the robustness and effectiveness of this new feature, a set of comprehensive test cases will be implemented. These test cases will focus on verifying the visibility and functionality of the Teaching Assistant (TA) account type within NodeBB. The following test cases will be executed:

Manual Testing:

  1. Verify that the TA account type option is visible within the account type dropdown menu on the registration form.
  2. Test registering a new account with the TA account type selected to confirm successful registration.
  3. Validate that the authentication process accepts TA accounts without errors.
  4. Test registering with other account types (student, instructor) to ensure they remain unaffected by the TA account type addition.
  5. Confirm that TA accounts can log in and access platform features seamlessly.
  6. Check for any UI inconsistencies or anomalies related to the addition of the TA account type.

Unit Tests:

  1. Test the authentication controller to ensure it recognizes TA accounts as valid during the authentication process.
  2. Verify that the registration form renders the TA account type option correctly.
  3. Test the registration process programmatically to confirm that TA accounts can be created successfully.
  4. Check for any regressions in existing account types due to the introduction of TA accounts.

These test cases will guarantee the reliability and functionality of the TA account type addition within NodeBB, ensuring a smooth user experience for all account types across different scenarios and usage contexts.

Aishwaryasri15 commented 6 months ago

Due to time constraints, I've conducted manual testing for the TA (Teaching Assistant) account type implementation. The testing procedure involved verifying the visibility and functionality of the TA account type option within the user registration form and authentication process. I ensured that users could successfully register and authenticate as Teaching Assistants without encountering any errors. Additionally, I confirmed that existing account types remained unaffected by the addition of TA accounts. The procedure to do manual testing steps mentioned below.

Description

As a developer, I aimed to expand the usability of our platform within educational environments by introducing support for Teaching Assistant (TA) accounts. This feature allows users to register and authenticate as Teaching Assistants, alongside existing account types like "Student" and "Instructor." By incorporating TA account type support into the authentication controller and user registration form, we ensure seamless recognition and handling of TA accounts throughout the platform.

Installation and Usage

  1. First clone the project:

    git clone https://github.com/UCF-CEN-5016/sde-development-project-acv_trio.git
  2. Once the project is cloned, ensure npm is updated:

    npm install
  3. Start the Redis server:

    redis-server
  4. Setup NodeBB:

    ./nodebb setup
  5. Start NodeBB:

    ./nodebb start
  6. Open the webpage with the URL: http://localhost:4567/

Where to See Changes

To see the changes related to TA account type support, follow these steps: