From 0b12fac20064ebb8fea4260ab6f110d2e08ad4d6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 12 Mar 2025 10:33:29 +0000 Subject: [PATCH] Iterate --- packages/element-web-playwright-common/package.json | 1 + packages/element-web-playwright-common/src/expect/screenshot.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/element-web-playwright-common/package.json b/packages/element-web-playwright-common/package.json index 5acdbdd3bf..5157e2a52e 100644 --- a/packages/element-web-playwright-common/package.json +++ b/packages/element-web-playwright-common/package.json @@ -21,6 +21,7 @@ "yaml": "^2.7.0" }, "peerDependencies": { + "@element-hq/element-web-module-api": "*", "@playwright/test": "^1.51.0", "playwright-core": "^1.51.0" }, diff --git a/packages/element-web-playwright-common/src/expect/screenshot.ts b/packages/element-web-playwright-common/src/expect/screenshot.ts index a194b52671..37726fd958 100644 --- a/packages/element-web-playwright-common/src/expect/screenshot.ts +++ b/packages/element-web-playwright-common/src/expect/screenshot.ts @@ -14,8 +14,8 @@ import { type Locator, type Page, type PageAssertionsToHaveScreenshotOptions, + type MatcherReturnType, } from "@playwright/test"; -import { type MatcherReturnType } from "playwright/types/test"; import { sanitizeForFilePath } from "playwright-core/lib/utils"; import { extname } from "node:path";