From: Jérôme Benoit Date: Wed, 29 Apr 2026 23:23:50 +0000 (+0200) Subject: refactor(ui-web): temporarily disable refresh button in modern skin X-Git-Tag: cli@v4.6.0~28 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=212f434426759408c75c05f0d4c32bcf64f7f2c3;p=e-mobility-charging-stations-simulator.git refactor(ui-web): temporarily disable refresh button in modern skin --- diff --git a/ui/web/src/skins/modern/components/SimulatorBar.vue b/ui/web/src/skins/modern/components/SimulatorBar.vue index de912257..336ff834 100644 --- a/ui/web/src/skins/modern/components/SimulatorBar.vue +++ b/ui/web/src/skins/modern/components/SimulatorBar.vue @@ -36,14 +36,14 @@
- Refresh - + --> { expect(wrapper.emitted('switch-server')).toEqual([[1]]) }) - it('should emit refresh when refresh button is clicked', async () => { - const wrapper = mountBar() - const [refreshBtn] = wrapper.findAll('.modern-btn') - await refreshBtn.trigger('click') - expect(wrapper.emitted('refresh')).toHaveLength(1) - }) + // it('should emit refresh when refresh button is clicked', async () => { + // const wrapper = mountBar() + // const [refreshBtn] = wrapper.findAll('.modern-btn') + // await refreshBtn.trigger('click') + // expect(wrapper.emitted('refresh')).toHaveLength(1) + // }) it('should emit add when add-stations button is clicked', async () => { const wrapper = mountBar()