Skip to content

Removed Items

Michael Nugent edited this page May 10, 2022 · 2 revisions

Catalog Parser (Admin function)

Test Case 1: Check response when non-pdf file is uploaded

Test Steps:

    Login with an admin account
    Navigate to the courses upload page
    Select dummy non-pdf file
    Click ‘submit’

Test Data:

    Non-pdf file

Expected Result:

    No data is changed
    Returns message to the user to upload a pdf file

Test Case 2: Check the response when a pdf file in the wrong format is uploaded

Test Steps:

    Login with an admin account
    Navigate to the courses upload page
    Select dummy pdf file
    Click ‘submit’

Test Data:

    Dummy pdf file (in wrong course format)

Expected Result:

    No data is changed
    Returns message to the user that pdf file is not incorrect format

Test Case 3: Check the response when a pdf file in the correct format is uploaded and database is empty

Test Steps:

    Login with an admin account
    Ensure no courses are already loaded into a database with the course search feature
    Navigate to the courses upload page
    Select correctly formatted pdf file (course catalog)
    Click ‘submit’

Test Data:

    Empty database
    Correct pdf file (course catalog)

Expected Result:

    Inputs new course information parsed from pdf
    Returns success message to user

Test Case 4: Check the response when a pdf file in the correct format is uploaded and database is not empty

Test Steps:

    Login with an admin account
    Ensure courses are already loaded into a database with the course search feature
    Navigate to the courses upload page Select correctly formatted pdf file (course catalog)
    Click ‘submit’

Test Data:

    Previously loaded database
    Correct pdf file (course catalog)

Expected Result:

    Overrides data with new course information parsed from pdf
    Returns success message to the user
    Returns database overwritten message to the user.

Profile tests:

Test Case 3: Check the result of the model to update information

  1. Test Steps:
  • Go to site
  • Select update button
  • Enter new strings for elements
  • Click Submit button
  1. Test Data
  • First name
  • Last name
  1. Expected result
  • The system should be able to update the respective elements.

Test Case 4: Check the result of the model to update expected graduation year

  1. Test Steps:
  • Go to site
  • Select update button
  • Enter updated expected gradution year
  • Click Submit button
  1. Test Data
  • Expected Graduation Year
  1. Expected result
  • The system should be able to update the expected graduation year of user
Clone this wiki locally