feat: sync axis task state parity work

This commit is contained in:
wangdequan
2026-07-07 18:45:26 -04:00
parent 16484afce6
commit 8ef67f94c2
562 changed files with 175971 additions and 248 deletions

View File

@@ -286,14 +286,16 @@
await click('[data-action="power"]', "AXIS power while ESTOP");
await waitState((state) => (
state.machine.powerOn === false
&& state.machine.taskState === "off"
&& state.runState === "powered-off"
), "power button sends OFF while ESTOP");
await click('[data-action="power"]', "AXIS power while OFF");
&& state.machine.taskState === "estop"
&& state.runState === "estopped"
&& state.operatorMessage === "power blocked: reset ESTOP first"
), "power button blocked while ESTOP");
await click('[data-action="power"]', "AXIS power while ESTOP again");
await waitState((state) => (
state.machine.powerOn === false
&& state.machine.taskState === "off"
), "power button remains OFF until ESTOP reset");
&& state.machine.taskState === "estop"
&& state.operatorMessage === "power blocked: reset ESTOP first"
), "power button remains blocked until ESTOP reset");
await click('[data-action="estop"]', "AXIS estop before reset");
await waitState((state) => state.machine.estopActive === true && state.machine.taskState === "estop", "estop before reset");
await click('[data-action="estop"]', "AXIS estop reset");