refactor(core): desktop project struct (#8334)

This commit is contained in:
EYHN authored and GitHub committed 2024-11-05 11:00:33 +08:00
1 parent 89d09fd5e9
commit 902635e60f
343 files changed
+3846 -3508

No files matched your search

+2 -2
View File
@@ -32,10 +32,10 @@ const dragToFavourites = async (
const createCollection = async (page: Page, name: string) => {
await page.getByTestId('explorer-bar-add-collection-button').click();
const input = page.getByTestId('input-collection-title');
const input = page.getByTestId('prompt-modal-input');
await expect(input).toBeVisible();
await input.fill(name);
await page.getByTestId('save-collection').click();
await page.getByTestId('prompt-modal-confirm').click();
const newCollectionId = getCurrentCollectionIdFromUrl(page);
const collection = page.getByTestId(`explorer-collection-${newCollectionId}`);
await expect(collection).toBeVisible();