You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@texera.apache.org by GitBox <gi...@apache.org> on 2026/07/22 09:59:55 UTC

[GH] (texera/gh-readonly-queue/main/pr-6757-73101ce6c4adc847914086329cc67e0f44382a2e): Workflow run "Required Checks" is working again!

The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-6757-73101ce6c4adc847914086329cc67e0f44382a2e has succeeded.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
f75a4eb7bf9d92014a2720b3fabdda8497c4a81d / Meng Wang <me...@uci.edu>
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])

Report URL: https://github.com/apache/texera/actions/runs/29903843310

With regards,
GitHub Actions via GitBox