mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
test(core): add missing await for expect (#11900)
This commit is contained in:
@@ -89,7 +89,7 @@ test.describe('note to linked doc', () => {
|
||||
const moreButton = locatorComponentToolbarMoreButton(page);
|
||||
await moreButton.click();
|
||||
const turnButton = page.locator('.turn-into-linked-doc');
|
||||
expect(turnButton).toBeNull();
|
||||
await expect(turnButton).toBeHidden();
|
||||
});
|
||||
|
||||
// TODO FIX ME
|
||||
@@ -110,7 +110,7 @@ test.describe('note to linked doc', () => {
|
||||
const moreButton = locatorComponentToolbarMoreButton(page);
|
||||
await moreButton.click();
|
||||
const turnButton = page.locator('.turn-into-linked-doc');
|
||||
expect(turnButton).toBeNull();
|
||||
await expect(turnButton).toBeHidden();
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user