refactor(core): rename explorer to navigation-panel (#11876)

This commit is contained in:
EYHN
2025-04-22 12:47:35 +08:00
committed by GitHub
parent f918573ba8
commit e4d6833296
104 changed files with 913 additions and 769 deletions

View File

@@ -110,7 +110,7 @@ test('can sync collections between different browser', async ({
page
);
await enableCloudWorkspace(page);
await page.getByTestId('explorer-bar-add-collection-button').click();
await page.getByTestId('navigation-panel-bar-add-collection-button').click();
const title = page.getByTestId('prompt-modal-input');
await title.isVisible();
await title.fill('test collection');
@@ -122,7 +122,7 @@ test('can sync collections between different browser', async ({
const page2 = await context.newPage();
await loginUser(page2, user);
await page2.goto(page.url());
const collections = page2.getByTestId('explorer-collections');
const collections = page2.getByTestId('navigation-panel-collections');
await collections.getByTestId('category-divider-collapse-button').click();
await expect(collections.getByText('test collection')).toBeVisible();
}