TrueSpec verification report

Student Assignment Dashboard

RUN-20261204-032936-91ce · 2026-12-04T03:29:36.290Z · 32.3 s · via dashboard
Base URL http://localhost:4400
Failed

Summary

17tests
14passed
3failed
0errors
0skipped
0not run

Requirement coverage: 10/10 requirements have tests · 10 executed · 8 verified · 2 failed. Coverage shows which requirements were exercised; it is not proof the whole application is correct.

Failures

Requirements

IDRequirementCategoryPriorityStatusTests
REQ-001Assignment creation
requirements.md:6
functionalhigh VerifiedTEST-001
REQ-002Title validation
requirements.md:12
  1. Verified An empty title is rejected with an error message. (TEST-002)
  2. Failed A title containing only spaces is rejected with an error message. (TEST-003)
  3. Verified A title of exactly 100 characters is accepted. (TEST-016)
validationhigh FailedTEST-002 TEST-003 TEST-016
REQ-003Assignment editing
requirements.md:23
functionalmedium VerifiedTEST-004
REQ-004Filter by course
requirements.md:29
functionalmedium VerifiedTEST-005
REQ-005Completion status
requirements.md:35
functionalmedium VerifiedTEST-006
REQ-006Persistence
requirements.md:41
  1. Failed A newly created assignment is still listed after the page is refreshed. (TEST-007)
  2. Failed An assignment marked complete is still shown as completed after the page is refreshed. (TEST-008)
persistencecritical FailedTEST-007 TEST-008
REQ-007Overdue assignments
requirements.md:51
functionalmedium VerifiedTEST-009
REQ-008Invalid due dates
requirements.md:57
  1. Verified A due date before the year 2000 is rejected with an error message. (TEST-010)
  2. Verified A due date after the year 2100 is rejected with an error message. (TEST-012)
  3. Verified Due dates in the boundary years 2000 and 2100 are accepted. (TEST-017)
validationmedium VerifiedTEST-010 TEST-012 TEST-017
REQ-009Accessible form
requirements.md:68
accessibilitymedium VerifiedTEST-011
REQ-010Responsiveness
requirements.md:74
  1. Verified The page finishes loading and the "Add assignment" button is visible within 1500 ms of navigating to the dashboard. (TEST-013)
  2. Verified After a valid assignment is submitted, it appears in the assignment list within 500 ms. (TEST-014)
  3. Verified An assignment can be created using only the keyboard: Tab moves from Title to Course to Due date, and pressing Enter in the form submits it. (TEST-015)
functionallow VerifiedTEST-013 TEST-014 TEST-015

Tests

Passed TEST-001 Create a valid assignment REQ-001 · 693 ms

Expected: The new assignment is listed with its course.

  1. Passed navigate to / 137 ms
  2. Passed expect page title to contain "Student Assignment Dashboard" 9 ms
  3. Passed fill label "Title" with "Biology Lab Report" 62 ms
  4. Passed select "Biology" in label "Course" 37 ms
  5. Passed fill label "Due date" with "2030-05-14" 28 ms
  6. Passed click role=button[name="Add assignment"] 73 ms
  7. Passed expect text "Biology Lab Report" to be visible 21 ms
  8. Passed expect 1 element(s) matching testId "assignment-item" 8 ms
  9. Passed expect testId "assignment-item" to contain "Biology" 20 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect page title to contain "Student Assignment Dashboard"; expect text "Biology Lab Report" to be visible; expect 1 element(s) matching testId "assignment-item"; expect testId "assignment-item" to contain "Biology". Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-002 Reject an empty title REQ-002 · 428 ms

Expected: An error is shown and nothing is added.

  1. Passed navigate to / 84 ms
  2. Passed select "History" in label "Course" 45 ms
  3. Passed fill label "Due date" with "2030-03-01" 23 ms
  4. Passed click role=button[name="Add assignment"] 38 ms
  5. Passed expect #title-error to contain "Title is required." 24 ms
  6. Passed expect 0 element(s) matching testId "assignment-item" 7 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect #title-error to contain "Title is required."; expect 0 element(s) matching testId "assignment-item". Behavior outside these steps, other browsers and other data states are not covered.

Failed TEST-003 Reject a whitespace-only title REQ-002 · 4.59 s

Expected: A title of only spaces is treated as empty.

Failed at step 6: expect #title-error to contain "Title is required."

Expected #title-error to contain "Title is required."

Expectedtext containing "Title is required."
Actualempty or hidden element (no visible text)
Page URLhttp://localhost:4400/
  1. Passed navigate to / 105 ms
  2. Passed fill label "Title" with " " 50 ms
  3. Passed select "History" in label "Course" 29 ms
  4. Passed fill label "Due date" with "2030-03-01" 21 ms
  5. Passed click role=button[name="Add assignment"] 56 ms
  6. Failed expect #title-error to contain "Title is required." 4.01 s
    Expected #title-error to contain "Title is required."
  7. Not run expect 0 element(s) matching testId "assignment-item" 0 ms

Reproduce:

  1. Start the application so that http://localhost:4400 is reachable.
  2. Open a fresh browser profile (no cookies or stored data).
  3. 1. navigate to /
  4. 2. fill label "Title" with " "
  5. 3. select "History" in label "Course"
  6. 4. fill label "Due date" with "2030-03-01"
  7. 5. click role=button[name="Add assignment"]
  8. 6. expect #title-error to contain "Title is required."
  9. Observe: expected text containing "Title is required.", got empty or hidden element (no visible text).
  10. Re-run just this test: truespec verify --test TEST-003
Page at failure: expect #title-error to contain "Title is required."
Page at failure: expect #title-error to contain "Title is required." · screenshots/TEST-003-01-failure.png · 2026-12-04T03:29:42.180Z
  • trace Playwright trace — open with "npx playwright show-trace <file>" — traces/TEST-003.zip

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect #title-error to contain "Title is required."; expect 0 element(s) matching testId "assignment-item". Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-016 A 100-character title is accepted REQ-002 · 432 ms

Expected: The assignment is added and no title error is shown.

  1. Passed navigate to / 84 ms
  2. Passed fill label "Title" with "Boundary title xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…" 45 ms
  3. Passed select "Biology" in label "Course" 16 ms
  4. Passed fill label "Due date" with "2030-02-01" 18 ms
  5. Passed click role=button[name="Add assignment"] 76 ms
  6. Passed expect 1 element(s) matching testId "assignment-item" 7 ms
  7. Passed expect #title-error:not(:empty) to be hidden 8 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect 1 element(s) matching testId "assignment-item"; expect #title-error:not(:empty) to be hidden. Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-004 Edit an existing assignment REQ-003 · 620 ms

Expected: The list shows the edited title.

  1. Passed navigate to / 93 ms
  2. Passed fill label "Title" with "Calculus Problem Set" 43 ms
  3. Passed select "Calculus" in label "Course" 24 ms
  4. Passed fill label "Due date" with "2030-02-10" 16 ms
  5. Passed click role=button[name="Add assignment"] 65 ms
  6. Passed click role=button[name="Edit "Calculus Problem Set""] 44 ms
  7. Passed expect label "Title" to have value "Calculus Problem Set" 15 ms
  8. Passed fill label "Title" with "Calculus Problem Set 4" 20 ms
  9. Passed click role=button[name="Save changes"] 65 ms
  10. Passed expect text "Calculus Problem Set 4" to be visible 14 ms
  11. Passed expect 1 element(s) matching testId "assignment-item" 9 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect label "Title" to have value "Calculus Problem Set"; expect text "Calculus Problem Set 4" to be visible; expect 1 element(s) matching testId "assignment-item". Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-005 Filter assignments by course REQ-004 · 681 ms

Expected: Only History assignments remain visible.

  1. Passed navigate to / 75 ms
  2. Passed fill label "Title" with "Cell Biology Quiz" 95 ms
  3. Passed select "Biology" in label "Course" 51 ms
  4. Passed fill label "Due date" with "2030-04-01" 19 ms
  5. Passed click role=button[name="Add assignment"] 73 ms
  6. Passed fill label "Title" with "Cold War Essay" 18 ms
  7. Passed select "History" in label "Course" 17 ms
  8. Passed fill label "Due date" with "2030-04-02" 56 ms
  9. Passed click role=button[name="Add assignment"] 32 ms
  10. Passed expect 2 element(s) matching testId "assignment-item" 8 ms
  11. Passed select "History" in label "Filter by course" 20 ms
  12. Passed expect 1 element(s) matching testId "assignment-item" 6 ms
  13. Passed expect text "Cold War Essay" to be visible 18 ms
  14. Passed expect text "Cell Biology Quiz" to be hidden 7 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect 2 element(s) matching testId "assignment-item"; expect 1 element(s) matching testId "assignment-item"; expect text "Cold War Essay" to be visible; expect text "Cell Biology Quiz" to be hidden. Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-006 Mark an assignment complete REQ-005 · 882 ms

Expected: The assignment shows as completed.

  1. Passed navigate to / 129 ms
  2. Passed fill label "Title" with "Poetry Analysis" 79 ms
  3. Passed select "Literature" in label "Course" 41 ms
  4. Passed fill label "Due date" with "2030-06-01" 34 ms
  5. Passed click role=button[name="Add assignment"] 137 ms
  6. Passed check role=checkbox[name="Mark "Poetry Analysis" complete"] 150 ms
  7. Passed expect role=checkbox[name="Mark "Poetry Analysis" complete"] to be checked 23 ms
  8. Passed expect text "Completed" to be visible 45 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect role=checkbox[name="Mark "Poetry Analysis" complete"] to be checked; expect text "Completed" to be visible. Behavior outside these steps, other browsers and other data states are not covered.

Failed TEST-007 Assignment survives a page refresh REQ-006 · 6.03 s

Expected: After reload the assignment is still listed.

Failed at step 8: expect text "Genetics Worksheet" to be visible

Expected text "Genetics Worksheet" to be visible within 4000 ms

Expectedtext "Genetics Worksheet" visible
Actualno matching element on the page
Page URLhttp://localhost:4400/
  1. Passed navigate to / 220 ms
  2. Passed fill label "Title" with "Genetics Worksheet" 200 ms
  3. Passed select "Biology" in label "Course" 100 ms
  4. Passed fill label "Due date" with "2030-01-20" 117 ms
  5. Passed click role=button[name="Add assignment"] 214 ms
  6. Passed expect text "Genetics Worksheet" to be visible 40 ms
  7. Passed reload the page 169 ms
  8. Failed expect text "Genetics Worksheet" to be visible 4.08 s
    Expected text "Genetics Worksheet" to be visible within 4000 ms

Reproduce:

  1. Start the application so that http://localhost:4400 is reachable.
  2. Open a fresh browser profile (no cookies or stored data).
  3. 1. navigate to /
  4. 2. fill label "Title" with "Genetics Worksheet"
  5. 3. select "Biology" in label "Course"
  6. 4. fill label "Due date" with "2030-01-20"
  7. 5. click role=button[name="Add assignment"]
  8. 6. expect text "Genetics Worksheet" to be visible
  9. 7. reload the page
  10. 8. expect text "Genetics Worksheet" to be visible
  11. Observe: expected text "Genetics Worksheet" visible, got no matching element on the page.
  12. Re-run just this test: truespec verify --test TEST-007
Page at failure: expect text "Genetics Worksheet" to be visible
Page at failure: expect text "Genetics Worksheet" to be visible · screenshots/TEST-007-01-failure.png · 2026-12-04T03:29:50.740Z
  • trace Playwright trace — open with "npx playwright show-trace <file>" — traces/TEST-007.zip

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect text "Genetics Worksheet" to be visible; expect text "Genetics Worksheet" to be visible. A reload check shows data survives a page reload in the same browser profile; it does not prove server-side or cross-device persistence. Behavior outside these steps, other browsers and other data states are not covered.

Failed TEST-008 Completion state survives a page refresh REQ-006 · 5.75 s

Expected: After reload the assignment is still checked.

Failed at step 8: expect role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked

Expected role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked

Expectedchecked
Actualno matching element
Page URLhttp://localhost:4400/
  1. Passed navigate to / 201 ms
  2. Passed fill label "Title" with "Derivatives Homework" 95 ms
  3. Passed select "Calculus" in label "Course" 55 ms
  4. Passed fill label "Due date" with "2030-01-22" 44 ms
  5. Passed click role=button[name="Add assignment"] 336 ms
  6. Passed check role=checkbox[name="Mark "Derivatives Homework" complete"] 141 ms
  7. Passed reload the page 127 ms
  8. Failed expect role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked 4.03 s
    Expected role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked

Reproduce:

  1. Start the application so that http://localhost:4400 is reachable.
  2. Open a fresh browser profile (no cookies or stored data).
  3. 1. navigate to /
  4. 2. fill label "Title" with "Derivatives Homework"
  5. 3. select "Calculus" in label "Course"
  6. 4. fill label "Due date" with "2030-01-22"
  7. 5. click role=button[name="Add assignment"]
  8. 6. check role=checkbox[name="Mark "Derivatives Homework" complete"]
  9. 7. reload the page
  10. 8. expect role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked
  11. Observe: expected checked, got no matching element.
  12. Re-run just this test: truespec verify --test TEST-008
Page at failure: expect role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked
Page at failure: expect role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked · screenshots/TEST-008-01-failure.png · 2026-12-04T03:29:56.509Z
  • trace Playwright trace — open with "npx playwright show-trace <file>" — traces/TEST-008.zip

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked. A reload check shows data survives a page reload in the same browser profile; it does not prove server-side or cross-device persistence. Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-009 Past-due open assignment is marked overdue REQ-007 · 800 ms

Expected: An "Overdue" badge is shown.

  1. Passed navigate to / 168 ms
  2. Passed fill label "Title" with "Renaissance Reading" 78 ms
  3. Passed select "History" in label "Course" 36 ms
  4. Passed fill label "Due date" with "2020-01-15" 35 ms
  5. Passed click role=button[name="Add assignment"] 106 ms
  6. Passed expect testId "overdue-badge" to be visible 41 ms
  7. Passed expect testId "overdue-badge" to have text "Overdue" 23 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect testId "overdue-badge" to be visible; expect testId "overdue-badge" to have text "Overdue". Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-010 Reject a due date before 2000 REQ-008 · 1.19 s

Expected: A date error is shown and nothing is added.

  1. Passed navigate to / 238 ms
  2. Passed fill label "Title" with "Ancient Essay" 145 ms
  3. Passed select "History" in label "Course" 106 ms
  4. Passed fill label "Due date" with "1899-01-01" 69 ms
  5. Passed click role=button[name="Add assignment"] 269 ms
  6. Passed expect #due-error to contain "Enter a valid due date" 33 ms
  7. Passed expect 0 element(s) matching testId "assignment-item" 16 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect #due-error to contain "Enter a valid due date"; expect 0 element(s) matching testId "assignment-item". Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-012 Reject a due date after 2100 REQ-008 · 1.29 s

Expected: A date error is shown and nothing is added.

  1. Passed navigate to / 420 ms
  2. Passed fill label "Title" with "Far Future Essay" 229 ms
  3. Passed select "History" in label "Course" 30 ms
  4. Passed fill label "Due date" with "2101-01-01" 36 ms
  5. Passed click role=button[name="Add assignment"] 91 ms
  6. Passed expect #due-error to contain "Enter a valid due date" 34 ms
  7. Passed expect 0 element(s) matching testId "assignment-item" 15 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect #due-error to contain "Enter a valid due date"; expect 0 element(s) matching testId "assignment-item". Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-017 Due dates in 2000 and 2100 are accepted REQ-008 · 1.46 s

Expected: Both boundary-year assignments are added without a date error.

  1. Passed navigate to / 181 ms
  2. Passed fill label "Title" with "Millennium Essay" 84 ms
  3. Passed select "History" in label "Course" 33 ms
  4. Passed fill label "Due date" with "2000-01-01" 33 ms
  5. Passed click role=button[name="Add assignment"] 113 ms
  6. Passed expect testId "assignment-item" to contain "Millennium Essay" 28 ms
  7. Passed fill label "Title" with "Centennial Essay" 20 ms
  8. Passed select "History" in label "Course" 19 ms
  9. Passed fill label "Due date" with "2100-12-31" 24 ms
  10. Passed click role=button[name="Add assignment"] 54 ms
  11. Passed expect 2 element(s) matching testId "assignment-item" 7 ms
  12. Passed expect #due-error:not(:empty) to be hidden 16 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect testId "assignment-item" to contain "Millennium Essay"; expect 2 element(s) matching testId "assignment-item"; expect #due-error:not(:empty) to be hidden. Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-011 Automated accessibility scan REQ-009 · 2.45 s

Expected: No serious or critical axe-core violations.

  1. Passed navigate to / 204 ms
  2. Passed run axe-core accessibility scan (fail on serious, critical) 1.76 s

Accessibility (axe-core): 0 violation(s)

  • accessibility axe-core results (0 violation(s)) — logs/TEST-011-accessibility.json

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: run axe-core accessibility scan (fail on serious, critical). axe-core catches common accessibility issues; it is not a complete accessibility audit. Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-013 Form is usable within 1.5 s of navigation REQ-010 · 733 ms

Expected: The page loads and the Add assignment button is visible within 1500 ms.

  1. Passed navigate to / 292 ms
  2. Passed expect role=button[name="Add assignment"] to be visible 68 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect role=button[name="Add assignment"] to be visible. Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-014 New assignment is listed within 500 ms REQ-010 · 944 ms

Expected: The submitted assignment is visible in the list within 500 ms of clicking Add assignment.

  1. Passed navigate to / 158 ms
  2. Passed fill label "Title" with "Timing Check" 105 ms
  3. Passed select "Calculus" in label "Course" 28 ms
  4. Passed fill label "Due date" with "2030-05-01" 24 ms
  5. Passed click role=button[name="Add assignment"] 106 ms
  6. Passed expect text "Timing Check" to be visible 31 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect text "Timing Check" to be visible. Behavior outside these steps, other browsers and other data states are not covered.

Passed TEST-015 Add an assignment using only the keyboard REQ-010 · 1.35 s

Expected: Tab order is Title, Course, Due date; Enter in the Due date field submits the form and the assignment is listed.

  1. Passed navigate to / 372 ms
  2. Passed press Tab 20 ms
  3. Passed press L 13 ms
  4. Passed press a 8 ms
  5. Passed press b 18 ms
  6. Passed expect label "Title" to have value "Lab" 69 ms
  7. Passed press Tab 17 ms
  8. Passed press B 12 ms
  9. Passed expect label "Course" to have value "Biology" 24 ms
  10. Passed press Tab 12 ms
  11. Passed press 0 8 ms
  12. Passed press 5 14 ms
  13. Passed press 0 7 ms
  14. Passed press 1 22 ms
  15. Passed press 2 41 ms
  16. Passed press 0 41 ms
  17. Passed press 3 12 ms
  18. Passed press 0 15 ms
  19. Passed expect label "Due date" to have value "2030-05-01" 19 ms
  20. Passed press Enter 80 ms
  21. Passed expect testId "assignment-item" to be visible 26 ms
  22. Passed expect testId "assignment-item" to contain "Lab" 18 ms

Scope: Verifies in a fresh Chromium profile against http://localhost:4400 that: expect label "Title" to have value "Lab"; expect label "Course" to have value "Biology"; expect label "Due date" to have value "2030-05-01"; expect testId "assignment-item" to be visible; expect testId "assignment-item" to contain "Lab". Behavior outside these steps, other browsers and other data states are not covered.

Environment

TrueSpec0.1.0
Browserchromium 159.0.8154.6 (headless)
Node.jsv26.13.0
Platformwin32-x64
Config hash2fb7576f3d51a425
Previous runRUN-20261204-032752-359a

Generated by TrueSpec. Results come from executed browser checks; screenshots show the page at the moment of capture only.