ci: fix e2e (#5329)

This commit is contained in:
EYHN
2023-12-18 12:24:48 +00:00
parent 1b5837e545
commit a1c9ac80d8

View File

@@ -177,7 +177,7 @@ test('delete workspace', async ({ page }) => {
await page.waitForTimeout(1000);
await clickSideBarSettingButton(page);
await page.getByTestId('current-workspace-label').click();
expect(await page.getByTestId('workspace-name-input').inputValue()).toBe(
await expect(page.getByTestId('workspace-name-input')).toHaveValue(
'Delete Me'
);
const contentElement = page.getByTestId('setting-modal-content');