mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
refactor: new provider (#4900)
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import type { Page } from '@playwright/test';
|
||||
import { expect, type Page } from '@playwright/test';
|
||||
|
||||
import { waitForEditorLoad } from './page-logic';
|
||||
|
||||
interface CreateWorkspaceParams {
|
||||
name: string;
|
||||
@@ -32,6 +34,10 @@ export async function createLocalWorkspace(
|
||||
delay: 500,
|
||||
});
|
||||
|
||||
await waitForEditorLoad(page);
|
||||
|
||||
await expect(page.getByTestId('workspace-name')).toHaveText(params.name);
|
||||
|
||||
// if (isDesktop) {
|
||||
// await page.getByTestId('create-workspace-continue-button').click();
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user