Skip to content

AssignmentSorting

Test case ID : TCID1

  • Test case designer: M2965 (Mikko Fredrikson)
  • Date of creation : 28.06.2021

Update history

  • version 0.1 - 28.06.2021 - Mikko - test case created

Test case description

Testing the assignment page assignment sorting functionality.

Source for the test

Pre-state:

We need to create some assignments to the database that we can test with. * Two teams created at different times. * Two teams that close at different times. * One team has to have less space left than another.

Test Steps

Step and expected result

  1. User is on assignments page - Assignment which has least spots left, should be first on the list.
  2. Open "Sort assignments dropdown menu - Dropdown menu should show options.
  3. Click "Closing soon" radio button - Assignment which has nearest closing date should be first on the list.
  4. Repeat for "Newest" options - Assignment that has been added last should show first on the list.

To be taken into account during test

  • If new assignments are added to the database, the order of assignments when sorting by newest will change.
  • When sorting by least space left, some assignments might be equal in terms of where they should appear on the list.

PASS/FAIL Criteria

  • PASS:
  • FAIL: Sorting doesn't work.