fix(overlay-menu): Adding, changing and removing segmentation overlays should update the overlay menu instantly (#5181)

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2025-07-07 18:09:32 -04:00
1 parent b8b14b8940
commit f08cc303e6
21 files changed
+164 -12

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ import { Locator, Page } from 'playwright';
type CheckForScreenshotProps = {
page: Page;
locator: Locator | Page;
locator?: Locator | Page;
screenshotPath: string;
attempts?: number;
delay?: number;
@@ -14,7 +14,7 @@ type CheckForScreenshotProps = {
const _checkForScreenshot = async (props: CheckForScreenshotProps) => {
const {
page,
locator,
locator = page,
screenshotPath,
attempts = 10,
delay = 500,