@@ -42,15 +42,15 @@ describe('DeleteConfirmationDialog', () => {
4242 it ( 'should enable Delete button when correct resource name is typed' , ( ) => {
4343 mountDialog ( ) ;
4444
45- cy . get ( 'ui5-input[id*="mcp-name -input"]' ) . find ( ' input[id*="inner"]' ) . type ( 'test-resource' , { force : true } ) ;
45+ cy . get ( 'ui5-input[id*="delete-confirm -input"]' ) . find ( ' input[id*="inner"]' ) . type ( 'test-resource' , { force : true } ) ;
4646
4747 cy . get ( 'ui5-button' ) . contains ( 'Delete' ) . should ( 'not.have.attr' , 'disabled' ) ;
4848 } ) ;
4949
5050 it ( 'should keep Delete button disabled when incorrect name is typed' , ( ) => {
5151 mountDialog ( ) ;
5252
53- cy . get ( 'ui5-input[id*="mcp-name -input"]' ) . find ( ' input[id*="inner"]' ) . type ( 'wrong-name' , { force : true } ) ;
53+ cy . get ( 'ui5-input[id*="delete-confirm -input" "]' ) . find ( ' input[id*="inner"]' ) . type ( 'wrong-name' , { force : true } ) ;
5454
5555 cy . get ( 'ui5-button' ) . contains ( 'Delete' ) . should ( 'have.attr' , 'disabled' ) ;
5656 } ) ;
@@ -82,15 +82,15 @@ describe('DeleteConfirmationDialog', () => {
8282 mountDialog ( ) ;
8383
8484 // Type something
85- cy . get ( 'ui5-input[id*="mcp-name -input"]' ) . find ( ' input[id*="inner"]' ) . type ( 'test-resource' , { force : true } ) ;
85+ cy . get ( 'ui5-input[id*="delete-confirm -input" "]' ) . find ( ' input[id*="inner"]' ) . type ( 'test-resource' , { force : true } ) ;
8686
8787 // Close dialog
8888 cy . get ( 'ui5-button' ) . contains ( 'Cancel' ) . click ( ) ;
8989
9090 // Reopen dialog
9191 mountDialog ( ) ;
9292
93- cy . get ( 'ui5-input[id*="mcp-name -input"]' ) . find ( ' input[id*="inner"]' ) . should ( 'have.value' , '' ) ;
93+ cy . get ( 'ui5-input[id*="delete-confirm -input" "]' ) . find ( ' input[id*="inner"]' ) . should ( 'have.value' , '' ) ;
9494 } ) ;
9595
9696 it ( 'should display correct resource name in all labels' , ( ) => {
0 commit comments