Shun Miyazawa 2 месяцев назад
Родитель
Сommit
07446fa3ca
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      apps/app/playwright/23-editor/vim-keymap.spec.ts

+ 3 - 0
apps/app/playwright/23-editor/vim-keymap.spec.ts

@@ -59,6 +59,9 @@ test.describe
     test('Write command (:w) should save the page successfully', async ({
       page,
     }) => {
+      // Focus the editor
+      await page.locator('.cm-content').click();
+
       //  Enter normal mode
       await page.keyboard.press('Escape');