diff --git a/e2e/playwright/test-utils.ts b/e2e/playwright/test-utils.ts index 801956f75..e386b14c2 100644 --- a/e2e/playwright/test-utils.ts +++ b/e2e/playwright/test-utils.ts @@ -551,11 +551,6 @@ export async function getUtils(page: Page, test_?: typeof test) { createNewFile: async (name: string) => { return test?.step(`Create a file named ${name}`, async () => { - // If the application is in the middle of connecting a stream - // then creating a new file won't work in the end. - await expect( - page.getByRole('button', { name: 'Start Sketch' }) - ).not.toBeDisabled() await page.getByTestId('create-file-button').click() await page.getByTestId('tree-input-field').fill(name) await page.keyboard.press('Enter')