Skip to content

Commit 09539ea

Browse files
author
xiaoxin
committed
fix: e2e
1 parent c7d78e5 commit 09539ea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/kit/src/utils/editor.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import type { AffineEditorContainer } from '@blocksuite/affine/presets';
2-
import {
3-
EDGELESS_ELEMENT_TOOLBAR_WIDGET,
4-
EDGELESS_TOOLBAR_WIDGET,
5-
} from '@blocksuite/blocks';
62
import type { IVec, XYWH } from '@blocksuite/global/utils';
73
import { expect, type Locator, type Page } from '@playwright/test';
84

5+
const EDGELESS_ELEMENT_TOOLBAR_WIDGET = 'edgeless-element-toolbar-widget';
6+
export const EDGELESS_TOOLBAR_WIDGET = 'edgeless-toolbar-widget';
7+
98
export function locateModeSwitchButton(
109
page: Page,
1110
mode: 'page' | 'edgeless',

0 commit comments

Comments
 (0)