From 8265b66b646d54d3f54afa0bd3bd59043c2f2dd0 Mon Sep 17 00:00:00 2001 From: BigSimmo <87357024+BigSimmo@users.noreply.github.com> Date: Sat, 18 Jul 2026 19:58:38 +0800 Subject: [PATCH 1/2] fix: configure playwright reduced-motion in use options --- playwright.config.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/playwright.config.ts b/playwright.config.ts index 25407cfd..b1b9abba 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -45,9 +45,7 @@ export default defineConfig({ // Disable CSS/web animations suite-wide so a click can't land mid-transition // on a moving target (documented races in ui-stress/ui-smoke). The dedicated // reduced-motion a11y spec emulates it per-test too, so it is unaffected. - contextOptions: { - reducedMotion: "reduce", - }, + reducedMotion: "reduce", }, projects: [ { From 9085c918de7913e2f65b84cff202d9ea3a7356fa Mon Sep 17 00:00:00 2001 From: BigSimmo <87357024+BigSimmo@users.noreply.github.com> Date: Sat, 18 Jul 2026 20:04:45 +0800 Subject: [PATCH 2/2] fix: keep playwright reduced-motion under context options --- playwright.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/playwright.config.ts b/playwright.config.ts index b1b9abba..25407cfd 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -45,7 +45,9 @@ export default defineConfig({ // Disable CSS/web animations suite-wide so a click can't land mid-transition // on a moving target (documented races in ui-stress/ui-smoke). The dedicated // reduced-motion a11y spec emulates it per-test too, so it is unaffected. - reducedMotion: "reduce", + contextOptions: { + reducedMotion: "reduce", + }, }, projects: [ {