feat(core): new favorite (#7590)

This commit is contained in:
EYHN
2024-07-26 08:15:32 +00:00
parent 5207e7abfc
commit 3eb09cde5e
47 changed files with 1248 additions and 167 deletions
+3 -3
View File
@@ -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');
});