e2e tests: update

e2e tests: fix
This commit is contained in:
Sam 2018-04-29 20:04:08 +02:00
parent 0978fa52b8
commit 127f5007b7
2 changed files with 0 additions and 6 deletions

View File

@ -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()
})

View File

@ -19,7 +19,6 @@ class AdminMenu extends React.Component {
<ul className="admin-items">
<li>
<Link
className="sports"
to={{
pathname: '/admin/sports',
}}