mengw15 opened a new issue, #7465: URL: https://github.com/apache/texera/issues/7465
### Task Summary `TypeCastingDisplayComponent`'s **template** is at **11%** — the lowest template coverage in the frontend (`type-casting-display.component.html`, 8 uncovered lines of 37) — while its class file is already at **100%**. The schema table is never rendered, so every row binding stays unexecuted. Bring the template to full coverage. Vitest/jsdom; see `frontend/TESTING.md`. ### Behavior to add Extend `type-casting-display.component.spec.ts` so the table actually renders, then run the coverage report and cover the remaining red lines. The gap is the `nz-table` body: `[nzData]="schemaToDisplay"`, the header cells, and the `*ngFor="let attribute of attributes.data"` row that renders `attributeName` / `attributeType`. Approach: - Give the component a schema with a few attributes (mixed types) via its `@Input`/state and call `fixture.detectChanges()` — it is the template-coverage switch. - Assert the rendered rows: one `<tr>` per attribute, and each row's name/type cell text matching the input schema. - Also cover the empty-schema case so the table's no-data arm renders. Assert on rendered text and row counts — not on layout or geometry (zeros under jsdom). ### Task Type - [ ] Refactor / Cleanup - [ ] DevOps / Deployment / CI - [x] Testing / QA - [ ] Documentation - [ ] Performance - [ ] Other -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
