From 1e15b5d31279ba02ea4a9e62361ce564dc199de4 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 21 Oct 2021 10:24:05 +0200 Subject: [PATCH] test link to gradido.net/de/memberships/ --- .../views/Pages/AccountOverview/GdtTransactionList.spec.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/views/Pages/AccountOverview/GdtTransactionList.spec.js b/frontend/src/views/Pages/AccountOverview/GdtTransactionList.spec.js index 9b7e0a60f..359260db1 100644 --- a/frontend/src/views/Pages/AccountOverview/GdtTransactionList.spec.js +++ b/frontend/src/views/Pages/AccountOverview/GdtTransactionList.spec.js @@ -98,6 +98,11 @@ describe('GdtTransactionList ', () => { it('renders the funding button ', () => { expect(wrapper.find('.gdt-funding').exists()).toBe(true) }) + + it('links to https://gradido.net/en/memberships/ when clicking', async () => { + const link = 'https://gradido.net/' + state.language + '/memberships/' + expect(wrapper.find('.gdt-funding').attributes('href')).toBe(link) + }) }) })