The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6760-1b24f3d26da23ccbcfbab07d7c84707502f15b55 has failed. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: b2ee4f6d69ff60cbe8a3c69b7e37613809a80178 / Meng Wang <[email protected]> test(frontend): cover ListItemComponent edit helpers and FilesUploaderComponent conflict prompts (#6760) ### What changes were proposed in this PR? Extends two dashboard component specs to cover their remaining untested edit/interaction methods (Vitest; no production code changed). **`ListItemComponent`** (+5 tests) — `setEditingState` (toggles the name / description edit flags), `renderMarkdownPreview` (strips markdown syntax and collapses whitespace), and `updateProperty` (missing-id guard, success persistence + exit-edit-mode, and error revert + notify). > Note: the other ListItem methods the issue lists (`onEditName` / > `onEditDescription` / `toggleLike` / `onCheckboxChange` / `openDetailModal` / > `initializeEntry` / `confirmUpdate*`) are already covered on `main` (added in > #6557), so this PR only fills the remaining gaps. **`FilesUploaderComponent`** (+4 tests) — `markForceRestart` (flags the item), `getOwnerAndName` (returns the owner/name inputs), and `askResumeOrSkip` / `askUploadOrSkip` (resolve with the clicked conflict-modal footer action). The modal is driven through the spec's existing capturing double. ### Any related issues, documentation, discussions? Closes #6749 ### How was this PR tested? Extended unit tests, run locally in `frontend/` (all green; each spec's failure path was verified by breaking an assertion to confirm it goes red): ``` ng test --watch=false --include src/app/dashboard/component/user/list-item/list-item.component.spec.ts # 25 passed ng test --watch=false --include src/app/dashboard/component/user/files-uploader/files-uploader.component.spec.ts # 12 passed prettier --write <specs> # clean eslint <specs> # clean ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 4.8 [1M context]) Report URL: https://github.com/apache/texera/actions/runs/29896406097 With regards, GitHub Actions via GitBox
