parent
d02d24b484
commit
5edb8ca85d
@ -85,7 +85,7 @@ export const Help = () => {
|
||||
}}
|
||||
>
|
||||
<span
|
||||
data-testid="user-center-button"
|
||||
data-testid="help-button"
|
||||
className={css`
|
||||
max-width: 160px;
|
||||
overflow: hidden;
|
||||
|
@ -9,6 +9,8 @@ setup('admin', async ({ page }) => {
|
||||
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');
|
||||
|
Loading…
Reference in New Issue
Block a user