优化
This commit is contained in:
@@ -168,6 +168,13 @@ describe('CustomersView', () => {
|
||||
vi.mocked(showExportTaskCreatedDialog).mockResolvedValue(false)
|
||||
})
|
||||
|
||||
it('waits for the client workspace to confirm impersonation session persistence', () => {
|
||||
expect(customersSource).toContain("searchParams.set('impersonationOrigin', window.location.origin)")
|
||||
expect(customersSource).toContain("event.data?.type !== 'impersonation-complete'")
|
||||
expect(customersSource).toContain("event.data?.type === 'impersonation-failed'")
|
||||
expect(customersSource).toContain("ElMessage.success('客户工作台登录成功')")
|
||||
})
|
||||
|
||||
it('searches the customer list by customer name only', () => {
|
||||
expect(customersSource).toContain("label: '客户名称', placeholder: '请输入客户名称'")
|
||||
expect(customersSource).not.toContain('公司名称、客户编号或联系人')
|
||||
|
||||
Reference in New Issue
Block a user