点击安装后经常不跳转,修复这个超时问题
This commit is contained in:
@@ -31,7 +31,7 @@ async function globalSetup(config: FullConfig) {
|
||||
await page.getByRole('textbox', { name: '邮箱地址' }).fill('ilovcatlyn750314@gmail.com');
|
||||
await page.getByRole('textbox', { name: '管理员密码', exact: true }).fill('12345678');
|
||||
await page.getByRole('textbox', { name: '确认密码' }).fill('12345678');
|
||||
await page.getByRole('button', { name: '立即安装'}).click({ timeout: 50000 });
|
||||
await page.getByRole('button', { name: '立即安装'}).click({ timeout: 10000, noWaitAfter: true });
|
||||
console.log("安装中,请耐心等待");
|
||||
await page.waitForTimeout(90000);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user