From 212f434426759408c75c05f0d4c32bcf64f7f2c3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Thu, 30 Apr 2026 01:23:50 +0200 Subject: [PATCH] refactor(ui-web): temporarily disable refresh button in modern skin --- ui/web/src/skins/modern/components/SimulatorBar.vue | 4 ++-- ui/web/tests/unit/skins/modern/SimulatorBar.test.ts | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) 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() -- 2.43.0