@@ -87,27 +87,23 @@ def test_is_redirected_to_cas_if_not_logged_in_at_login_page(self):
8787 location = res .headers .get ('Location' )
8888 assert 'login?service=' in location
8989
90- def test_is_redirected_to_myprojects_if_already_logged_in_at_login_page (self ):
90+ def test_is_redirected_to_dashboard_if_already_logged_in_at_login_page (self ):
9191 res = self .app .get ('/login/' , auth = self .user .auth )
9292 assert res .status_code == 302
93- assert 'my-projects ' in res .headers .get ('Location' )
93+ assert 'dashboard ' in res .headers .get ('Location' )
9494
9595 def test_register_page (self ):
9696 res = self .app .get ('/register/' )
9797 assert res .status_code == 200
9898
99- def test_is_redirected_to_myprojects_if_already_logged_in_at_register_page (self ):
99+ def test_is_redirected_to_dashboard_if_already_logged_in_at_register_page (self ):
100100 res = self .app .get ('/register/' , auth = self .user .auth )
101101 assert res .status_code == 302
102- assert 'my-projects ' in res .headers .get ('Location' )
102+ assert 'dashboard ' in res .headers .get ('Location' )
103103
104104 def test_sees_projects_in_her_dashboard (self ):
105- # the user already has a project
106- project = ProjectFactory (creator = self .user )
107- project .add_contributor (self .user )
108- project .save ()
109- res = self .app .get ('/my-projects/' , auth = self .user .auth )
110- assert 'Projects' in res .text # Projects heading
105+ # Deprecated test, dashboard and my-projects are angular pages
106+ pass
111107
112108 def test_does_not_see_osffiles_in_user_addon_settings (self ):
113109 res = self .app .get ('/settings/addons/' , auth = self .auth , follow_redirects = True )
@@ -123,10 +119,8 @@ def test_sees_osffiles_in_project_addon_settings(self):
123119 assert 'OSF Storage' in res .text
124120
125121 def test_sees_correct_title_on_dashboard (self ):
126- # User goes to dashboard
127- res = self .app .get ('/my-projects/' , auth = self .auth , follow_redirects = True )
128- title = res .html .title .string
129- assert 'OSF | My Projects' == title
122+ # Deprecated test, dashboard and my-projects are angular pages
123+ pass
130124
131125 def test_can_see_make_public_button_if_admin (self ):
132126 # User is a contributor on a project
0 commit comments