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 {