@@ -78,7 +78,7 @@ describe("<fui-sign-in-auth-form />", () => {
7878 expect ( screen . getByRole ( "button" , { name : "Sign In" } ) ) . toBeInTheDocument ( ) ;
7979 expect ( screen . getByText ( "By continuing, you agree to our" ) ) . toBeInTheDocument ( ) ;
8080 expect ( screen . getByRole ( "button" , { name : "Forgot Password" } ) ) . toBeInTheDocument ( ) ;
81- expect ( screen . getByRole ( "button" , { name : "Don't have an account? Register " } ) ) . toBeInTheDocument ( ) ;
81+ expect ( screen . getByRole ( "button" , { name : "Don't have an account? Sign Up " } ) ) . toBeInTheDocument ( ) ;
8282 } ) ;
8383
8484 it ( "should have correct translation labels" , async ( ) => {
@@ -102,7 +102,7 @@ describe("<fui-sign-in-auth-form />", () => {
102102 expect ( component . forgotPasswordLabel ( ) ) . toBe ( "Forgot Password" ) ;
103103 expect ( component . signInLabel ( ) ) . toBe ( "Sign In" ) ;
104104 expect ( component . noAccountLabel ( ) ) . toBe ( "Don't have an account?" ) ;
105- expect ( component . registerLabel ( ) ) . toBe ( "Register " ) ;
105+ expect ( component . signUpLabel ( ) ) . toBe ( "Sign Up " ) ;
106106 expect ( component . unknownErrorLabel ( ) ) . toBe ( "An unknown error occurred" ) ;
107107 } ) ;
108108
@@ -164,7 +164,7 @@ describe("<fui-sign-in-auth-form />", () => {
164164 const component = fixture . componentInstance ;
165165 const signUpSpy = jest . spyOn ( component . signUp , "emit" ) ;
166166
167- const signUpButton = screen . getByRole ( "button" , { name : "Don't have an account? Register " } ) ;
167+ const signUpButton = screen . getByRole ( "button" , { name : "Don't have an account? Sign Up " } ) ;
168168 fireEvent . click ( signUpButton ) ;
169169 expect ( signUpSpy ) . toHaveBeenCalled ( ) ;
170170 } ) ;
0 commit comments