chore(electron): speed up electron tests (#9871)

This commit is contained in:
pengx17
2025-01-24 04:52:26 +00:00
parent 6a74107010
commit 699da97879
4 changed files with 15 additions and 14 deletions

View File

@@ -136,6 +136,8 @@ test('delete workspace and then restore it from backup', async ({ page }) => {
);
//#endregion
await page.waitForTimeout(1000);
//#region 4. restore the workspace from backup
await page.getByTestId('slider-bar-workspace-setting-button').click();
await expect(page.getByTestId('setting-modal')).toBeVisible();