test: fix e2e

This commit is contained in:
Zeke Zhang 2024-02-23 15:17:28 +08:00
parent aa2117f654
commit 3a0f942270

View File

@ -216,7 +216,10 @@ test.describe('form item & view form', () => {
await page.getByRole('dialog').getByRole('textbox').fill('testing edit tooltip');
await page.getByRole('button', { name: 'OK', exact: true }).click();
await page.getByRole('img', { name: 'question-circle' }).hover();
await page
.getByLabel('block-item-CollectionField-general-form-general.color-color')
.getByRole('img', { name: 'question-circle' })
.hover();
await expect(page.getByText('testing edit tooltip')).toBeVisible();
});
});