feat(core): fav item reordering (#6302)

This commit is contained in:
pengx17
2024-03-29 04:04:26 +00:00
parent 35af526eb2
commit c7e10c2283
29 changed files with 745 additions and 432 deletions

View File

@@ -144,8 +144,8 @@ test('Add new favorite page via sidebar', async ({ page }) => {
// enter random page title
await getBlockSuiteEditorTitle(page).fill('this is a new fav page');
// check if the page title is shown in the favorite list
const favItem = page.locator(
'[data-type=favourite-list-item] >> text=this is a new fav page'
);
const favItem = page
.getByTestId('favourites')
.locator('[data-draggable] >> text=this is a new fav page');
await expect(favItem).toBeVisible();
});