屏蔽首页来馆功能
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
lyf
2026-07-14 00:04:19 +08:00
parent 2a274aebcf
commit 231ecb465e
2 changed files with 21 additions and 6 deletions

View File

@@ -172,6 +172,16 @@ afterEach(() => {
})
describe('首页搜索与地图闭环', () => {
it('首页暂不展示来馆入口及其到馆面板', async () => {
const wrapper = await mountIndex()
expect(wrapper.text()).not.toContain('来馆')
expect(wrapper.findAll('.guide-quick-action').map((item) => item.text())).toEqual([
'馆内',
'讲解'
])
})
it('向搜索面板传入当前楼层,并将分类结果 ID 精确传给地图', async () => {
const wrapper = await mountIndex()
const search = wrapper.getComponent(PoiSearchPanelStub)