diff --git a/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/schema-settings/table-column-item/relation.test.ts b/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/schema-settings/table-column-item/relation.test.ts index af7e8073e..b031bbd33 100644 --- a/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/schema-settings/table-column-item/relation.test.ts +++ b/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/schema-settings/table-column-item/relation.test.ts @@ -46,7 +46,7 @@ test.describe('many to one', () => { // 修改为 nickname await page.getByRole('menuitem', { name: 'Title field' }).click(); await page.getByRole('option', { name: 'Nickname' }).click(); - await expect(page.getByRole('menuitem', { name: 'Title field' })).toHaveText('Title fieldNickname'); + await page.mouse.move(300, 0); await expect(page.getByRole('cell', { name: record.manyToOne.nickname, exact: true })).toBeVisible(); });