mirror of
https://github.com/penpot/penpot.git
synced 2026-11-10 20:10:37 +00:00
The Playwright config gives the retrying expects 40 seconds on CI and 5 seconds elsewhere, but the default and ds projects set their own expect block for the screenshot tolerance, and a project block replaces the top-level one instead of merging with it. On CI those projects have run with Playwright's 5 second default. That is too short for the first dashboard load on a busy runner, where the dashboard module is fetched lazily: specs that wait for the dashboard heading time out and pass on the retry (flaky), or fail after the retries. In the shard of one recent run that was 7 flaky and 4 failed specs out of 112, and develop itself failed the same families of specs on several runs the same day. Name the timeout once and repeat it in both projects. A probe config that imports this one and polls a condition that never holds reports 40000 ms for both projects with this change, and 5000 ms without it. The render-wasm project already repeats its own value. AI-assisted-by: claude-opus-5-5 AI-assisted-by: claude-sonnet-5-5 Signed-off-by: Filip Sajdak <filip.sajdak@siili.com>