fix: a possible issue on electron flaky test (#3094)

This commit is contained in:
Peng Xiao
2023-07-07 19:02:58 +08:00
committed by GitHub
parent 3294043180
commit ce1e8d868c
3 changed files with 16 additions and 2 deletions

View File

@@ -57,6 +57,8 @@ test('export then add', async ({ page, appInfo, workspace }) => {
// goto workspace setting
await page.getByTestId('workspace-list-item').click();
await page.waitForTimeout(500);
// change workspace name
await page.getByTestId('workspace-name-input').fill(newWorkspaceName);
await page.getByTestId('save-workspace-name').click();