From 127f5007b764470f9735486337243b218d54972d Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 29 Apr 2018 20:04:08 +0200 Subject: [PATCH] e2e tests: update e2e tests: fix --- mpwo_client/e2e/admin-sports.test.js | 5 ----- mpwo_client/src/components/Admin/AdminMenu.jsx | 1 - 2 files changed, 6 deletions(-) diff --git a/mpwo_client/e2e/admin-sports.test.js b/mpwo_client/e2e/admin-sports.test.js index 64470c8d..21de7bb5 100644 --- a/mpwo_client/e2e/admin-sports.test.js +++ b/mpwo_client/e2e/admin-sports.test.js @@ -23,9 +23,4 @@ test('admin should be able to access sports administration page', async t => { .expect(Selector('H1').withText('Administration - Sports').exists).ok() .expect(Selector('.sport-items').withText('Hiking').exists).ok() - await t - .navigateTo(`${TEST_URL}/admin`) - .click(Selector('.sports')) - .expect(Selector('.sport-items').withText('Hiking').exists).ok() - }) diff --git a/mpwo_client/src/components/Admin/AdminMenu.jsx b/mpwo_client/src/components/Admin/AdminMenu.jsx index fb7cee93..03f4fc00 100644 --- a/mpwo_client/src/components/Admin/AdminMenu.jsx +++ b/mpwo_client/src/components/Admin/AdminMenu.jsx @@ -19,7 +19,6 @@ class AdminMenu extends React.Component {