fix(admin-vue): 京东侧栏店铺名单铺开+添加店铺常驻(对齐原型《商品数据商城》)
This commit is contained in:
@@ -981,8 +981,10 @@ describe('筛选与分页(v1.7:合并搜索+筛选弹层;AC-2/AC-4)',
|
||||
expect(last).toMatchObject({ keyword: '', groupId: '', category: '', page: 1 }, '重置后筛选全空、回第一页')
|
||||
expect(wrapper.find('.jd-filter-popover').exists()).toBe(false, '重置后弹层收起')
|
||||
expect(sideCustom(wrapper).findAll('.jd-side-row.selected')).toHaveLength(0, '侧栏分类选中态随重置清空')
|
||||
expect(sideCustom(wrapper).findAll('.jd-side-row')).toHaveLength(2,
|
||||
expect(sideCustom(wrapper).findAll('.jd-side-cat')).toHaveLength(2,
|
||||
'重置只清筛选面:侧栏分类清单(当前组)保留,清选语义=再点已选行')
|
||||
expect(sideCustom(wrapper).findAll('.jd-side-shop').length).toBeGreaterThan(0,
|
||||
'铺开名单(2026-11-22)不受重置影响:店铺行照常可见')
|
||||
wrapper.unmount()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user