Student Assignment Dashboard
RUN-20261204-032936-91ce · 2026-12-04T03:29:36.290Z · 32.3 s · via dashboardhttp://localhost:4400Summary
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
TEST-003Reject a whitespace-only title — Expected #title-error to contain "Title is required."TEST-007Assignment survives a page refresh — Expected text "Genetics Worksheet" to be visible within 4000 msTEST-008Completion state survives a page refresh — Expected role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked
Requirements
| ID | Requirement | Category | Priority | Status | Tests |
|---|---|---|---|---|---|
REQ-001 | Assignment creation requirements.md:6 | functional | high | Verified | TEST-001 |
REQ-002 | Title validation requirements.md:12
| validation | high | Failed | TEST-002 TEST-003 TEST-016 |
REQ-003 | Assignment editing requirements.md:23 | functional | medium | Verified | TEST-004 |
REQ-004 | Filter by course requirements.md:29 | functional | medium | Verified | TEST-005 |
REQ-005 | Completion status requirements.md:35 | functional | medium | Verified | TEST-006 |
REQ-006 | Persistence requirements.md:41
| persistence | critical | Failed | TEST-007 TEST-008 |
REQ-007 | Overdue assignments requirements.md:51 | functional | medium | Verified | TEST-009 |
REQ-008 | Invalid due dates requirements.md:57
| validation | medium | Verified | TEST-010 TEST-012 TEST-017 |
REQ-009 | Accessible form requirements.md:68 | accessibility | medium | Verified | TEST-011 |
REQ-010 | Responsiveness requirements.md:74
| functional | low | Verified | TEST-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.
- Passed
navigate to /137 ms - Passed
expect page title to contain "Student Assignment Dashboard"9 ms - Passed
fill label "Title" with "Biology Lab Report"62 ms - Passed
select "Biology" in label "Course"37 ms - Passed
fill label "Due date" with "2030-05-14"28 ms - Passed
click role=button[name="Add assignment"]73 ms - Passed
expect text "Biology Lab Report" to be visible21 ms - Passed
expect 1 element(s) matching testId "assignment-item"8 ms - 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.
- Passed
navigate to /84 ms - Passed
select "History" in label "Course"45 ms - Passed
fill label "Due date" with "2030-03-01"23 ms - Passed
click role=button[name="Add assignment"]38 ms - Passed
expect #title-error to contain "Title is required."24 ms - 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."
| Expected | text containing "Title is required." |
|---|---|
| Actual | empty or hidden element (no visible text) |
| Page URL | http://localhost:4400/ |
- Passed
navigate to /105 ms - Passed
fill label "Title" with " "50 ms - Passed
select "History" in label "Course"29 ms - Passed
fill label "Due date" with "2030-03-01"21 ms - Passed
click role=button[name="Add assignment"]56 ms - Failed
expect #title-error to contain "Title is required."4.01 sExpected #title-error to contain "Title is required." - Not run
expect 0 element(s) matching testId "assignment-item"0 ms
Reproduce:
- Start the application so that http://localhost:4400 is reachable.
- Open a fresh browser profile (no cookies or stored data).
- 1. navigate to /
- 2. fill label "Title" with " "
- 3. select "History" in label "Course"
- 4. fill label "Due date" with "2030-03-01"
- 5. click role=button[name="Add assignment"]
- 6. expect #title-error to contain "Title is required."
- Observe: expected text containing "Title is required.", got empty or hidden element (no visible text).
- Re-run just this test: truespec verify --test TEST-003
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.
- Passed
navigate to /84 ms - Passed
fill label "Title" with "Boundary title xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx…"45 ms - Passed
select "Biology" in label "Course"16 ms - Passed
fill label "Due date" with "2030-02-01"18 ms - Passed
click role=button[name="Add assignment"]76 ms - Passed
expect 1 element(s) matching testId "assignment-item"7 ms - Passed
expect #title-error:not(:empty) to be hidden8 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.
- Passed
navigate to /93 ms - Passed
fill label "Title" with "Calculus Problem Set"43 ms - Passed
select "Calculus" in label "Course"24 ms - Passed
fill label "Due date" with "2030-02-10"16 ms - Passed
click role=button[name="Add assignment"]65 ms - Passed
click role=button[name="Edit "Calculus Problem Set""]44 ms - Passed
expect label "Title" to have value "Calculus Problem Set"15 ms - Passed
fill label "Title" with "Calculus Problem Set 4"20 ms - Passed
click role=button[name="Save changes"]65 ms - Passed
expect text "Calculus Problem Set 4" to be visible14 ms - 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.
- Passed
navigate to /75 ms - Passed
fill label "Title" with "Cell Biology Quiz"95 ms - Passed
select "Biology" in label "Course"51 ms - Passed
fill label "Due date" with "2030-04-01"19 ms - Passed
click role=button[name="Add assignment"]73 ms - Passed
fill label "Title" with "Cold War Essay"18 ms - Passed
select "History" in label "Course"17 ms - Passed
fill label "Due date" with "2030-04-02"56 ms - Passed
click role=button[name="Add assignment"]32 ms - Passed
expect 2 element(s) matching testId "assignment-item"8 ms - Passed
select "History" in label "Filter by course"20 ms - Passed
expect 1 element(s) matching testId "assignment-item"6 ms - Passed
expect text "Cold War Essay" to be visible18 ms - Passed
expect text "Cell Biology Quiz" to be hidden7 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.
- Passed
navigate to /129 ms - Passed
fill label "Title" with "Poetry Analysis"79 ms - Passed
select "Literature" in label "Course"41 ms - Passed
fill label "Due date" with "2030-06-01"34 ms - Passed
click role=button[name="Add assignment"]137 ms - Passed
check role=checkbox[name="Mark "Poetry Analysis" complete"]150 ms - Passed
expect role=checkbox[name="Mark "Poetry Analysis" complete"] to be checked23 ms - Passed
expect text "Completed" to be visible45 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
| Expected | text "Genetics Worksheet" visible |
|---|---|
| Actual | no matching element on the page |
| Page URL | http://localhost:4400/ |
- Passed
navigate to /220 ms - Passed
fill label "Title" with "Genetics Worksheet"200 ms - Passed
select "Biology" in label "Course"100 ms - Passed
fill label "Due date" with "2030-01-20"117 ms - Passed
click role=button[name="Add assignment"]214 ms - Passed
expect text "Genetics Worksheet" to be visible40 ms - Passed
reload the page169 ms - Failed
expect text "Genetics Worksheet" to be visible4.08 sExpected text "Genetics Worksheet" to be visible within 4000 ms
Reproduce:
- Start the application so that http://localhost:4400 is reachable.
- Open a fresh browser profile (no cookies or stored data).
- 1. navigate to /
- 2. fill label "Title" with "Genetics Worksheet"
- 3. select "Biology" in label "Course"
- 4. fill label "Due date" with "2030-01-20"
- 5. click role=button[name="Add assignment"]
- 6. expect text "Genetics Worksheet" to be visible
- 7. reload the page
- 8. expect text "Genetics Worksheet" to be visible
- Observe: expected text "Genetics Worksheet" visible, got no matching element on the page.
- Re-run just this test: truespec verify --test TEST-007
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
| Expected | checked |
|---|---|
| Actual | no matching element |
| Page URL | http://localhost:4400/ |
- Passed
navigate to /201 ms - Passed
fill label "Title" with "Derivatives Homework"95 ms - Passed
select "Calculus" in label "Course"55 ms - Passed
fill label "Due date" with "2030-01-22"44 ms - Passed
click role=button[name="Add assignment"]336 ms - Passed
check role=checkbox[name="Mark "Derivatives Homework" complete"]141 ms - Passed
reload the page127 ms - Failed
expect role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked4.03 sExpected role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked
Reproduce:
- Start the application so that http://localhost:4400 is reachable.
- Open a fresh browser profile (no cookies or stored data).
- 1. navigate to /
- 2. fill label "Title" with "Derivatives Homework"
- 3. select "Calculus" in label "Course"
- 4. fill label "Due date" with "2030-01-22"
- 5. click role=button[name="Add assignment"]
- 6. check role=checkbox[name="Mark "Derivatives Homework" complete"]
- 7. reload the page
- 8. expect role=checkbox[name="Mark "Derivatives Homework" complete"] to be checked
- Observe: expected checked, got no matching element.
- Re-run just this test: truespec verify --test TEST-008
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.
- Passed
navigate to /168 ms - Passed
fill label "Title" with "Renaissance Reading"78 ms - Passed
select "History" in label "Course"36 ms - Passed
fill label "Due date" with "2020-01-15"35 ms - Passed
click role=button[name="Add assignment"]106 ms - Passed
expect testId "overdue-badge" to be visible41 ms - 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.
- Passed
navigate to /238 ms - Passed
fill label "Title" with "Ancient Essay"145 ms - Passed
select "History" in label "Course"106 ms - Passed
fill label "Due date" with "1899-01-01"69 ms - Passed
click role=button[name="Add assignment"]269 ms - Passed
expect #due-error to contain "Enter a valid due date"33 ms - 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.
- Passed
navigate to /420 ms - Passed
fill label "Title" with "Far Future Essay"229 ms - Passed
select "History" in label "Course"30 ms - Passed
fill label "Due date" with "2101-01-01"36 ms - Passed
click role=button[name="Add assignment"]91 ms - Passed
expect #due-error to contain "Enter a valid due date"34 ms - 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.
- Passed
navigate to /181 ms - Passed
fill label "Title" with "Millennium Essay"84 ms - Passed
select "History" in label "Course"33 ms - Passed
fill label "Due date" with "2000-01-01"33 ms - Passed
click role=button[name="Add assignment"]113 ms - Passed
expect testId "assignment-item" to contain "Millennium Essay"28 ms - Passed
fill label "Title" with "Centennial Essay"20 ms - Passed
select "History" in label "Course"19 ms - Passed
fill label "Due date" with "2100-12-31"24 ms - Passed
click role=button[name="Add assignment"]54 ms - Passed
expect 2 element(s) matching testId "assignment-item"7 ms - Passed
expect #due-error:not(:empty) to be hidden16 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.
- Passed
navigate to /204 ms - 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.
- Passed
navigate to /292 ms - Passed
expect role=button[name="Add assignment"] to be visible68 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.
- Passed
navigate to /158 ms - Passed
fill label "Title" with "Timing Check"105 ms - Passed
select "Calculus" in label "Course"28 ms - Passed
fill label "Due date" with "2030-05-01"24 ms - Passed
click role=button[name="Add assignment"]106 ms - Passed
expect text "Timing Check" to be visible31 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.
- Passed
navigate to /372 ms - Passed
press Tab20 ms - Passed
press L13 ms - Passed
press a8 ms - Passed
press b18 ms - Passed
expect label "Title" to have value "Lab"69 ms - Passed
press Tab17 ms - Passed
press B12 ms - Passed
expect label "Course" to have value "Biology"24 ms - Passed
press Tab12 ms - Passed
press 08 ms - Passed
press 514 ms - Passed
press 07 ms - Passed
press 122 ms - Passed
press 241 ms - Passed
press 041 ms - Passed
press 312 ms - Passed
press 015 ms - Passed
expect label "Due date" to have value "2030-05-01"19 ms - Passed
press Enter80 ms - Passed
expect testId "assignment-item" to be visible26 ms - 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
| TrueSpec | 0.1.0 |
|---|---|
| Browser | chromium 159.0.8154.6 (headless) |
| Node.js | v26.13.0 |
| Platform | win32-x64 |
| Config hash | 2fb7576f3d51a425 |
| Previous run | RUN-20261204-032752-359a |
Generated by TrueSpec. Results come from executed browser checks; screenshots show the page at the moment of capture only.