mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
feat(core): new favorite (#7590)
This commit is contained in:
@@ -178,11 +178,11 @@ test('items in favourites can be reordered by dragging', async ({ page }) => {
|
||||
|
||||
await expect(
|
||||
page.getByTestId('explorer-favorites').locator('[draggable]').first()
|
||||
).toHaveText(title0);
|
||||
).toHaveText('test collection');
|
||||
|
||||
await expect(
|
||||
page.getByTestId('explorer-favorites').locator('[draggable]').last()
|
||||
).toHaveText('test collection');
|
||||
).toHaveText(title0);
|
||||
|
||||
// drag the first item to the last
|
||||
const firstItem = page
|
||||
@@ -206,5 +206,5 @@ test('items in favourites can be reordered by dragging', async ({ page }) => {
|
||||
|
||||
await expect(
|
||||
page.getByTestId('explorer-favorites').locator('[draggable]').last()
|
||||
).toHaveText(title0);
|
||||
).toHaveText('test collection');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user