The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6757-140de712b17333c5f004db6760d0f3409a3e5526 has succeeded. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: 287d6ebf473ef2d41bfbb8d08930a35fd9928e24 / Meng Wang <[email protected]> test(frontend): cover MenuComponent grid/worker toggles, report generation, and name sizing (#6757) ### What changes were proposed in this PR? Extends the existing `MenuComponent` spec to cover the toolbar methods it had left untested (`frontend/src/app/workspace/component/menu/menu.component.ts`). > Note: the existing spec already covers most of the methods the issue lists > (`getRunButtonBehavior`, `applyRunButtonBehavior`, `hasOperators`, the other > toggles/handlers, name change). The remaining gaps were the four below. 5 tests cover: - `toggleGrid` — sets the joint paper grid size from the `showGrid` flag. - `toggleNumWorkers` — toggles the `hide-worker-count` class from the flag. - `onClickGenerateReport` — shows the blocking notification and builds the report HTML from the snapshot + operator results. - `adjustWorkflowNameWidth` — no-op without the name input; sizes the input in px otherwise. The joint-graph wrapper, notification, and report services are stubbed. No production code was changed. ### Any related issues, documentation, discussions? Closes #6746 ### How was this PR tested? Extended unit tests, run locally in `frontend/` (all green; the failure path was verified by breaking an assertion to confirm the suite goes red): ``` ng test --watch=false --include src/app/workspace/component/menu/menu.component.spec.ts # Test Files 1 passed (1) | Tests 55 passed (55) prettier --write <spec> # clean eslint <spec> # clean ``` ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Opus 4.8 [1M context]) Co-authored-by: Xinyuan Lin <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/29951616381 With regards, GitHub Actions via GitBox
