test(core): add missing await for expect (#11900)

This commit is contained in:
L-Sun
2025-04-23 04:55:18 +00:00
parent b1aecfc1c4
commit 9baef237f2
20 changed files with 93 additions and 105 deletions

View File

@@ -36,7 +36,7 @@ test('should close embed editing modal when editor switching to page mode by sho
await page.keyboard.press('Alt+s');
await waitForEditorLoad(page);
expect(editingModal).toBeHidden();
await expect(editingModal).toBeHidden();
});
test('embed card should not overflow the edgeless note', async ({ page }) => {