优化
This commit is contained in:
@@ -17,7 +17,7 @@ describe('SmartLoadingDialog', () => {
|
||||
})
|
||||
await flushPromises()
|
||||
|
||||
expect(wrapper.findAll('.smart-loading-dialog__warehouses [role="tab"]').map((tab) => tab.text())).toEqual(['义乌仓', '东莞仓'])
|
||||
expect(wrapper.find('.smart-loading-dialog__warehouses').exists()).toBe(false)
|
||||
const expand = wrapper.get('button[aria-label="展开全屏"]')
|
||||
await expand.trigger('click')
|
||||
expect(document.querySelector('.smart-loading-dialog.is-fullscreen')).not.toBeNull()
|
||||
|
||||
Reference in New Issue
Block a user