Skip to content

Commit 589695b

Browse files
authored
fix(grid): [grid] fix grid error e2e test (#2815)
1 parent d59b0ea commit 589695b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/sites/demos/pc/app/grid/editor/custom-edit.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ import { test, expect } from '@playwright/test'
33
test('多行编辑', async ({ page }) => {
44
page.on('pageerror', (exception) => expect(exception).toBeNull())
55
await page.goto('grid-editor#editor-custom-edit')
6-
await expect(page.getByRole('textbox', { name: 'GFD 科技有限公司', exact: true })).toBeVisible()
6+
await expect(page.getByRole('cell', { name: 'GFD 科技有限公司' }).getByRole('textbox')).toBeVisible()
7+
await expect(page.getByRole('cell', { name: 'WWWW 科技有限公司' }).getByRole('textbox')).toBeVisible()
78
})

0 commit comments

Comments
 (0)