chore: fix failed e2e

This commit is contained in:
Zeke Zhang 2024-05-07 23:32:25 +08:00
parent 1ce5d76b7e
commit 1283312eb9

View File

@ -17,7 +17,7 @@ test.beforeEach(async ({ page }) => {
if (await page.getByRole('button', { name: 'Edit' }).first().isVisible()) { if (await page.getByRole('button', { name: 'Edit' }).first().isVisible()) {
await page.getByRole('button', { name: 'Edit' }).first().click(); await page.getByRole('button', { name: 'Edit' }).first().click();
} }
await page.waitForTimeout(100); await page.waitForTimeout(1000);
await page.getByLabel('Access key').fill('9717a70e44273882bcf5489f72b4e261'); await page.getByLabel('Access key').fill('9717a70e44273882bcf5489f72b4e261');
await page.getByLabel('securityJsCode or serviceHost').fill('6876ed2d3a6168b75c4fba852e16c99c'); await page.getByLabel('securityJsCode or serviceHost').fill('6876ed2d3a6168b75c4fba852e16c99c');
await page.getByRole('button', { name: 'Save' }).first().click(); await page.getByRole('button', { name: 'Save' }).first().click();