Skip to content

Commit

Permalink
fix: e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
doouding committed Jan 16, 2025
1 parent c7d78e5 commit 09539ea
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/kit/src/utils/editor.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import type { AffineEditorContainer } from '@blocksuite/affine/presets';
import {
EDGELESS_ELEMENT_TOOLBAR_WIDGET,
EDGELESS_TOOLBAR_WIDGET,
} from '@blocksuite/blocks';
import type { IVec, XYWH } from '@blocksuite/global/utils';
import { expect, type Locator, type Page } from '@playwright/test';

const EDGELESS_ELEMENT_TOOLBAR_WIDGET = 'edgeless-element-toolbar-widget';
export const EDGELESS_TOOLBAR_WIDGET = 'edgeless-toolbar-widget';

export function locateModeSwitchButton(
page: Page,
mode: 'page' | 'edgeless',
Expand Down

0 comments on commit 09539ea

Please sign in to comment.