We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7d78e5 commit 09539eaCopy full SHA for 09539ea
tests/kit/src/utils/editor.ts
@@ -1,11 +1,10 @@
1
import type { AffineEditorContainer } from '@blocksuite/affine/presets';
2
-import {
3
- EDGELESS_ELEMENT_TOOLBAR_WIDGET,
4
- EDGELESS_TOOLBAR_WIDGET,
5
-} from '@blocksuite/blocks';
6
import type { IVec, XYWH } from '@blocksuite/global/utils';
7
import { expect, type Locator, type Page } from '@playwright/test';
8
+const EDGELESS_ELEMENT_TOOLBAR_WIDGET = 'edgeless-element-toolbar-widget';
+export const EDGELESS_TOOLBAR_WIDGET = 'edgeless-toolbar-widget';
+
9
export function locateModeSwitchButton(
10
page: Page,
11
mode: 'page' | 'edgeless',
0 commit comments