refactor: workspace manager (#5060)

This commit is contained in:
EYHN committed 2023-12-15 07:20:50 +00:00
1 parent af15aa06d4
commit fe2851d3e9
217 files changed
+3603 -4242

No files matched your search

+4 -4
View File
@@ -151,10 +151,10 @@ test('can collaborate with other user and name should display when editing', asy
{
const title = getBlockSuiteEditorTitle(page2);
expect(await title.innerText()).toBe('TEST TITLE');
const typingPromise = Promise.all([
page.keyboard.press('Enter', { delay: 50 }),
page.keyboard.type('TEST CONTENT', { delay: 50 }),
]);
const typingPromise = (async () => {
await page.keyboard.press('Enter', { delay: 50 });
await page.keyboard.type('TEST CONTENT', { delay: 50 });
})();
// username should be visible when editing
await expect(page2.getByText(user.name)).toBeVisible();
await typingPromise;