diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b71d955..2759573 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,6 +53,8 @@ jobs: with: name: playwright-artifacts-${{ matrix.shard }} path: .playwright-artifacts + # The folder name starts with a dot, so it counts as hidden. + include-hidden-files: true retention-days: 7 wasm: diff --git a/e2e/magicwand.spec.mjs b/e2e/magicwand.spec.mjs index 94a6aac..6b984a4 100644 --- a/e2e/magicwand.spec.mjs +++ b/e2e/magicwand.spec.mjs @@ -2,6 +2,12 @@ import { expect, test } from "@playwright/test"; const SIZE = [160, 80]; +// The marching ants repaint the selection overlay every frame. In CI's +// software-rendered WebKit on 2 vCPUs that starves the wand worker, and a +// slider rebuild took 4 to 5 s instead of 0.5 s, past the 5 s expect +// timeout. Reduced motion stops the ants; the outline geometry is unchanged. +test.use({ contextOptions: { reducedMotion: "reduce" } }); + /** Two separate red blocks on a light background. */ async function loadTwoBlocks(page) { const base64 = await page.evaluate(async ([width, height]) => {