e2e tests: update
e2e tests: fix
This commit is contained in:
		@@ -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()
 | 
			
		||||
 | 
			
		||||
})
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,6 @@ class AdminMenu extends React.Component {
 | 
			
		||||
              <ul className="admin-items">
 | 
			
		||||
                <li>
 | 
			
		||||
                  <Link
 | 
			
		||||
                    className="sports"
 | 
			
		||||
                    to={{
 | 
			
		||||
                      pathname: '/admin/sports',
 | 
			
		||||
                    }}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user