diff --git a/frontend/src/components/SidebarPlugin/SideBar.spec.js b/frontend/src/components/SidebarPlugin/SideBar.spec.js index 9f9ce8a8f..4612f6f9e 100644 --- a/frontend/src/components/SidebarPlugin/SideBar.spec.js +++ b/frontend/src/components/SidebarPlugin/SideBar.spec.js @@ -43,7 +43,7 @@ describe('SideBar', () => { describe('balance', () => { it('shows em-dash as balance while loading', () => { - expect(wrapper.find('div.row.text-center').text()).toBe('— GDD') + expect(wrapper.find('.gddBalance').text()).toBe('— GDD') }) it('shows the when loaded', async () => { @@ -51,7 +51,7 @@ describe('SideBar', () => { pending: false, }) await wrapper.vm.$nextTick() - expect(wrapper.find('div.row.text-center').text()).toBe('1234.56 GDD') + expect(wrapper.find('.gddBalance').text()).toBe('1234.56 GDD') }) }) diff --git a/frontend/src/components/SidebarPlugin/SideBar.vue b/frontend/src/components/SidebarPlugin/SideBar.vue index 60d835a1a..138c802e9 100755 --- a/frontend/src/components/SidebarPlugin/SideBar.vue +++ b/frontend/src/components/SidebarPlugin/SideBar.vue @@ -4,21 +4,24 @@ id="sidenav-main" >