From 30d8111771649155ac62adfcb17919e776c1451e Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 29 Apr 2021 13:31:16 +0200 Subject: [PATCH 2/3] yarn lint --- frontend/src/views/Layout/DashboardLayout_gdd.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/Layout/DashboardLayout_gdd.spec.js b/frontend/src/views/Layout/DashboardLayout_gdd.spec.js index 3fd1ecfc1..ef567a080 100644 --- a/frontend/src/views/Layout/DashboardLayout_gdd.spec.js +++ b/frontend/src/views/Layout/DashboardLayout_gdd.spec.js @@ -119,7 +119,7 @@ describe('DashboardLayoutGdd', () => { //it('has fourth item "Settigs" in navbar', () => { // expect(navbar.findAll('ul > li').at(3).text()).toEqual('site.navbar.settings') //}) -// + // //it.skip('has fourth item "Settings" linked to profileedit in navbar', async () => { // navbar.findAll('ul > li > a').at(3).trigger('click') // await flushPromises() @@ -131,7 +131,7 @@ describe('DashboardLayoutGdd', () => { //it('has fifth item "Activity" in navbar', () => { // expect(navbar.findAll('ul > li').at(4).text()).toEqual('site.navbar.activity') //}) -// + // //it.skip('has fourth item "Activity" linked to activity in navbar', async () => { // navbar.findAll('ul > li > a').at(4).trigger('click') // await flushPromises() From 37f3689d7f507edc9247d6bf5f2750ae6edbbdb9 Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 30 Apr 2021 10:53:09 +0200 Subject: [PATCH 3/3] =?UTF-8?q?fix=20test=20nab=C7=98abr=20li=20elements?= =?UTF-8?q?=20from=205=20to=203?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/Layout/DashboardLayout_gdd.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/views/Layout/DashboardLayout_gdd.spec.js b/frontend/src/views/Layout/DashboardLayout_gdd.spec.js index ef567a080..651bef5a5 100644 --- a/frontend/src/views/Layout/DashboardLayout_gdd.spec.js +++ b/frontend/src/views/Layout/DashboardLayout_gdd.spec.js @@ -79,7 +79,7 @@ describe('DashboardLayoutGdd', () => { }) it('has five items in the navbar', () => { - expect(navbar.findAll('ul > li')).toHaveLength(5) + expect(navbar.findAll('ul > li')).toHaveLength(3) }) it('has first item "send" in navbar', () => {