Shun Miyazawa 1 год назад
Родитель
Сommit
bdb1ae10d2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/playwright/23-editor/with-navigation.spec.ts

+ 1 - 1
apps/app/playwright/23-editor/with-navigation.spec.ts

@@ -88,7 +88,7 @@ test('Successfully updating the page body', async({ page }) => {
   await expect(page.getByTestId('grw-editor-navbar-bottom')).toBeVisible();
   await expect(page.getByTestId('grw-editor-navbar-bottom')).toBeVisible();
 
 
   // Expect to see the text from which you are duplicating
   // Expect to see the text from which you are duplicating
-  expect(page.getByTestId('page-editor-preview-body')).toContainText(page1Body);
+  await expect(page.getByTestId('page-editor-preview-body')).toContainText(page1Body);
 
 
   // Append text
   // Append text
   await appendTextToEditorUntilContains(page, page1Body + page2Body);
   await appendTextToEditorUntilContains(page, page1Body + page2Body);