mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
14 lines
335 B
TypeScript
14 lines
335 B
TypeScript
import type { Page } from '@playwright/test';
|
|
|
|
export async function clickEdgelessModeButton(page: Page) {
|
|
await page.getByTestId('switch-edgeless-mode-button').click({
|
|
delay: 50,
|
|
});
|
|
}
|
|
|
|
export async function clickPageModeButton(page: Page) {
|
|
return page.getByTestId('switch-page-mode-button').click({
|
|
delay: 50,
|
|
});
|
|
}
|