mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-22 00:37:05 +08:00
feat: support for view management (#2892)
This commit is contained in:
@@ -3,7 +3,11 @@ import type { Page } from '@playwright/test';
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
import { openHomePage } from '../libs/load-page';
|
||||
import { getBlockSuiteEditorTitle, waitEditorLoad } from '../libs/page-logic';
|
||||
import {
|
||||
closeDownloadTip,
|
||||
getBlockSuiteEditorTitle,
|
||||
waitEditorLoad,
|
||||
} from '../libs/page-logic';
|
||||
import { clickSideBarAllPageButton } from '../libs/sidebar';
|
||||
|
||||
function getAllPage(page: Page) {
|
||||
@@ -52,12 +56,6 @@ test('all page can create new edgeless page', async ({ page }) => {
|
||||
await expect(page.locator('affine-edgeless-page')).toBeVisible();
|
||||
});
|
||||
|
||||
const closeDownloadTip = async (page: Page) => {
|
||||
await page
|
||||
.locator('[data-testid="download-client-tip-close-button"]')
|
||||
.click();
|
||||
};
|
||||
|
||||
const createFirstFilter = async (page: Page, name: string) => {
|
||||
await page
|
||||
.locator('[data-testid="editor-header-items"]')
|
||||
|
||||
Reference in New Issue
Block a user