@@ -42,31 +42,31 @@ def userinfo(self, token=None):
4242 )
4343
4444 def test_sign_in_and_sign_out_via_cis2 (self ):
45- self .given_i_am_on_the_sign_in_page ()
46- self .when_i_sign_in_via_cis2 ()
45+ self .given_i_am_on_the_log_in_page ()
46+ self .when_i_log_in_via_cis2 ()
4747 self .then_i_am_redirected_to_home ()
48- self .then_header_shows_sign_out ()
49- self .when_i_click_sign_out ()
50- self .then_header_shows_sign_in ()
48+ self .then_header_shows_log_out ()
49+ self .when_i_click_log_out ()
50+ self .then_header_shows_log_in ()
5151
52- def given_i_am_on_the_sign_in_page (self ):
52+ def given_i_am_on_the_log_in_page (self ):
5353 self .page .goto (self .live_server_url + reverse ("auth:sign_in" ))
5454
55- def when_i_sign_in_via_cis2 (self ):
56- self .page .get_by_text ("Sign in with CIS2" ).click ()
55+ def when_i_log_in_via_cis2 (self ):
56+ self .page .get_by_text ("Log in with CIS2" ).click ()
5757
5858 def then_i_am_redirected_to_home (self ):
5959 home_path = reverse ("clinics:index" )
6060 expect (self .page ).to_have_url (re .compile (home_path ))
6161
62- def then_header_shows_sign_out (self ):
62+ def then_header_shows_log_out (self ):
6363 header = self .page .get_by_role ("navigation" )
64- expect (header .get_by_text ("Sign out" )).to_be_visible ()
64+ expect (header .get_by_text ("Log out" )).to_be_visible ()
6565
66- def when_i_click_sign_out (self ):
66+ def when_i_click_log_out (self ):
6767 header = self .page .get_by_role ("navigation" )
68- header .get_by_text ("Sign out" ).click ()
68+ header .get_by_text ("Log out" ).click ()
6969
70- def then_header_shows_sign_in (self ):
70+ def then_header_shows_log_in (self ):
7171 header = self .page .get_by_role ("navigation" )
72- expect (header .get_by_text ("Sign in" )).to_be_visible ()
72+ expect (header .get_by_text ("Log in" )).to_be_visible ()
0 commit comments