From 400b64e903076efaa026efc3070b669a1d90a5a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Tard=C3=ADn?= Date: Fri, 27 Sep 2024 17:03:35 +0200 Subject: [PATCH] LPD-15350 Fixing type error https://github.com/dequelabs/axe-core-npm/issues/1087 --- modules/test/playwright/utils/checkAccessibility.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/test/playwright/utils/checkAccessibility.ts b/modules/test/playwright/utils/checkAccessibility.ts index cace1942310a3e..398dc3829c8c30 100644 --- a/modules/test/playwright/utils/checkAccessibility.ts +++ b/modules/test/playwright/utils/checkAccessibility.ts @@ -44,7 +44,7 @@ export async function checkAccessibility({ } } - const results = await new AxeBuilder({page}) + const results = await new AxeBuilder({page} as any) .withTags(tags) .include(selectors) .exclude(selectorsToExclude)