chore(e2e): remobe to wait networkidle

This commit is contained in:
Zeke Zhang 2024-10-27 13:13:57 +08:00
parent e01f573a8d
commit b938558f0a

View File

@ -20,7 +20,6 @@ test.describe('File manager', () => {
// 1、前置条件1.1已登录;1.2存在一个文件管理器 // 1、前置条件1.1已登录;1.2存在一个文件管理器
await page.goto('/admin/settings/file-manager'); await page.goto('/admin/settings/file-manager');
await page.waitForLoadState('networkidle');
await page.getByRole('button', { name: 'plus Add new' }).hover(); await page.getByRole('button', { name: 'plus Add new' }).hover();
await page.getByRole('menuitem', { name: 'Local storage' }).click(); await page.getByRole('menuitem', { name: 'Local storage' }).click();