mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
@@ -81,7 +81,8 @@ test('Show collections items in sidebar', async ({ page }) => {
|
||||
await deletePage.click();
|
||||
await page.getByTestId('confirm-modal-confirm').click();
|
||||
expect(await first.locator('[data-testid^="explorer-doc-"]').count()).toBe(0);
|
||||
await first.hover();
|
||||
// position is a workaround for the hover issue when empty collection status's height > 26px (will cause scroll)
|
||||
await first.hover({ position: { x: 10, y: 10 } });
|
||||
await first.getByTestId('explorer-tree-node-operation-button').click();
|
||||
const deleteCollection = page.getByText('Delete');
|
||||
await deleteCollection.click();
|
||||
|
||||
Reference in New Issue
Block a user