The GitHub Actions job "Required Checks" on 
texera.git/cov/code-editor-untested-half has failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
49f2992063c475809e8f5cb7631bd010d5b5e50a / Xinyuan Lin <[email protected]>
test(frontend): settle the agent panel's tab-click assertion

nz-tabs does not hand a header click to its host in the same turn:
NzTabSetComponent queues the nzSelectedIndexChange emit as a microtask
from its own ngAfterContentChecked. Whether that microtask has drained by
the time a synchronous assertion runs depends on what else has already run
in the same Vitest worker, since the frontend suite runs with
isolate: false.

Run alone, zone.js drains the emit inside the click's own task and the
assertion sees the call. Run after another spec in the same process, the
emit lands one macrotask turn later and the assertion sees zero calls.
Growing code-editor.component.spec.ts reordered the worker queue so that
it now runs immediately before this spec, which is what turned the leg red.

Yield a macrotask turn before asserting. fixture.whenStable() cannot be
used here: this fixture never reaches stability, so awaiting it fails the
test on the 20s timeout instead.

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

With regards,
GitHub Actions via GitBox

Reply via email to