fix: unify sidebar switch (#2616)

This commit is contained in:
Peng Xiao
2023-05-31 15:06:13 +08:00
committed by GitHub
parent 248cd9a8ab
commit f5aee7c360
7 changed files with 46 additions and 148 deletions

View File

@@ -19,7 +19,7 @@ test('Expand Sidebar', async ({ page }) => {
const sliderBarArea = page.getByTestId('sliderBar-inner');
await expect(sliderBarArea).not.toBeInViewport();
await page.getByTestId('sliderBar-arrowButton-expand').click();
await page.getByTestId('app-sidebar-arrow-button-expand').click();
await expect(sliderBarArea).toBeInViewport();
});