@@ -21,7 +21,7 @@ describe('Endpoint', () => {
2121 } ) ;
2222
2323 it ( 'should have default values in input fields' , ( ) => {
24- const server = screen . getByPlaceholderText ( 'e.g. frontend .binaryws.com' ) ;
24+ const server = screen . getByPlaceholderText ( 'e.g. ws .binaryws.com' ) ;
2525 const app_id = screen . getByPlaceholderText ( 'e.g. 9999' ) ;
2626 expect ( server ) . toHaveValue ( 'oauth.deriv.com' ) ;
2727
@@ -40,7 +40,7 @@ describe('Endpoint', () => {
4040 } ) ;
4141
4242 it ( 'validate user inputs, and provides error messages for server field' , async ( ) => {
43- const server = screen . getByPlaceholderText ( 'e.g. frontend .binaryws.com' ) ;
43+ const server = screen . getByPlaceholderText ( 'e.g. ws .binaryws.com' ) ;
4444
4545 await userEvent . clear ( server ) ;
4646 await userEvent . type ( server , 'qa10@deriv.com' ) ;
@@ -51,7 +51,7 @@ describe('Endpoint', () => {
5151 } ) ;
5252
5353 it ( 'should validate submit button functionality' , async ( ) => {
54- const server = screen . getByPlaceholderText ( 'e.g. frontend .binaryws.com' ) ;
54+ const server = screen . getByPlaceholderText ( 'e.g. ws .binaryws.com' ) ;
5555 const app_id = screen . getByPlaceholderText ( 'e.g. 9999' ) ;
5656 const form = screen . getByRole ( 'form' ) ;
5757
@@ -89,7 +89,7 @@ describe('Endpoint', () => {
8989 } ) ;
9090
9191 it ( 'Should have submit button enabled with no errors on the from' , async ( ) => {
92- const server = screen . getByPlaceholderText ( 'e.g. frontend .binaryws.com' ) ;
92+ const server = screen . getByPlaceholderText ( 'e.g. ws .binaryws.com' ) ;
9393 const app_id = screen . getByPlaceholderText ( 'e.g. 9999' ) ;
9494 const submit_button = screen . getByRole ( 'button' , { name : / s u b m i t / i } ) ;
9595
0 commit comments