style(appointments): simplify calendar toolbar and remove redundant heading
This commit is contained in:
@@ -66,7 +66,7 @@ describe('appointment calendar data integration', () => {
|
||||
const tabs = wrapper.get('[aria-label="预约工作视图"]').findAll('button')
|
||||
expect(tabs.map(button => button.text())).toEqual(['提柜与到仓', '送仓与排车', '预约日历'])
|
||||
expect(tabs[0]!.attributes('aria-pressed')).toBe('true')
|
||||
expect(wrapper.text()).toContain('美国预约总览')
|
||||
expect(wrapper.text()).not.toContain('美国预约总览')
|
||||
expect(listFbaAppointmentCalendar).not.toHaveBeenCalled()
|
||||
expect(listArrivalCalendar).not.toHaveBeenCalled()
|
||||
await tabs[2]!.trigger('click'); await flushPromises()
|
||||
|
||||
Reference in New Issue
Block a user