refactor: new provider (#4900)

This commit is contained in:
EYHN authored and GitHub committed 2023-11-17 15:50:01 +08:00
1 parent 9baad36e41
commit aa4c7407de
48 files changed
+1783 -1480

No files matched your search

+7 -1
View File
@@ -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();
// }