diff --git a/end-to-end-tests/setup/utils.ts b/end-to-end-tests/setup/utils.ts index 246b3e9e4a..883f6a762b 100644 --- a/end-to-end-tests/setup/utils.ts +++ b/end-to-end-tests/setup/utils.ts @@ -47,5 +47,6 @@ export const openExtensionConsoleFromAdmin = async ( await expect(extensionConsolePage.getByText(userName)).toBeVisible(); }).toPass({ timeout: 15_000 }); - return extensionConsolePage; + // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion -- needed for strict null check + return extensionConsolePage as Page; };