mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 10:36:22 +08:00
test: add timeout for Shortcuts Modal
This commit is contained in:
@@ -14,6 +14,7 @@ test.describe('Shortcuts Modal', () => {
|
||||
expect(await shortcutsIcon.isVisible()).toEqual(true);
|
||||
|
||||
await shortcutsIcon.click();
|
||||
await page.waitForTimeout(800);
|
||||
const shortcutsModal = page.locator('[data-testid=shortcuts-modal]');
|
||||
await expect(shortcutsModal).toContainText('Keyboard Shortcuts');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user