diff --git a/packages/core/client/src/user/Help.tsx b/packages/core/client/src/user/Help.tsx index c4ce929b0..4ef213740 100644 --- a/packages/core/client/src/user/Help.tsx +++ b/packages/core/client/src/user/Help.tsx @@ -85,7 +85,7 @@ export const Help = () => { }} > { await page.getByPlaceholder('Password').fill('admin123'); await page.getByRole('button', { name: 'Sign in' }).click(); + await expect(page.getByTestId('user-center-button')).toBeVisible(); + // 开启配置状态 await page.evaluate(() => { localStorage.setItem('NOCOBASE_DESIGNABLE', 'true');