diff --git a/packages/element-web-playwright-common/src/expect/axe.ts b/packages/element-web-playwright-common/src/expect/axe.ts index 7a751f4fbe..ab798d9a96 100644 --- a/packages/element-web-playwright-common/src/expect/axe.ts +++ b/packages/element-web-playwright-common/src/expect/axe.ts @@ -8,7 +8,7 @@ Please see LICENSE files in the repository root for full details. import { test, expect as baseExpect, type ExpectMatcherState, type MatcherReturnType } from "@playwright/test"; -import type AxeBuilder from "@axe-core/playwright"; +import type { AxeBuilder } from "@axe-core/playwright"; export type Expectations = { /** diff --git a/packages/element-web-playwright-common/src/fixtures/axe.ts b/packages/element-web-playwright-common/src/fixtures/axe.ts index f438b56d1f..6f99b489c0 100644 --- a/packages/element-web-playwright-common/src/fixtures/axe.ts +++ b/packages/element-web-playwright-common/src/fixtures/axe.ts @@ -7,7 +7,7 @@ Please see LICENSE files in the repository root for full details. */ import { test as base } from "@playwright/test"; -import AxeBuilder from "@axe-core/playwright"; +import { AxeBuilder } from "@axe-core/playwright"; // This fixture is useful for simple component library tests that won't want any extra services like a homeserver, so we // explicitly avoid pulling anything more than playwright's base fixtures in.