mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-15 15:25:16 +03:00
ae0c3e3278
Add waitForCondition() utility — polls JS expression every 100ms with timeout fallback. Replace key fixed delays: - fillReferenceField paste: 2000ms → poll for EDD/cloud (max 2s) - fillTableRow add: 1000ms → poll for grid INPUT focus (max 2s) - fillTableRow cell paste: 1500ms → poll for EDD/value (max 1.5s) - fillTableRow Tab skip/commit: 300-1000ms → poll for focus change Benchmark: 31.8s vs 32.0s baseline — no measurable speedup because 1C backend response time (~1.5-2s for autocomplete) is the real bottleneck, not our delay calibration. Code is correct and will benefit from faster backends. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>